Skip to content

Conversation

@danesfeder
Copy link
Contributor

Closes #457, Closes #456

Adds default render / camera mode when the plugin is initialized.

Fixes issue where we weren't re-adding the sources when a new style was loaded (adds test functionality to test app as well from options menu)

@danesfeder danesfeder added bug A bug is found inside the code base and should be immediately brought to attention ASAP location-layer-plugin Issues that deal with the location layer module labels Apr 23, 2018
@danesfeder danesfeder self-assigned this Apr 23, 2018
@danesfeder danesfeder merged commit 45ed2a9 into master Apr 23, 2018
@danesfeder danesfeder deleted the dan-init-defaults branch April 23, 2018 14:27

void initializeComponents(LocationLayerOptions options) {
prepareLocationSource();
addLocationSource();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change adds the source before the first location fix is available, resulting in a puck being at null island until we get the first fix instead of being invisible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A bug is found inside the code base and should be immediately brought to attention ASAP location-layer-plugin Issues that deal with the location layer module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants