Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track initialization of NavigationView #646

Merged
merged 1 commit into from
Jan 10, 2018
Merged

Conversation

danesfeder
Copy link
Contributor

We currently re-init navigation, camera, etc. when you call NavigationView#startNavigation.

We need to track this so we only update the correct information if this is called the second time.

@danesfeder danesfeder added the bug Defect to be fixed. label Jan 10, 2018
@danesfeder danesfeder self-assigned this Jan 10, 2018
initCamera();
setupListeners(options);
// Update the view models
locationViewModel.updateShouldSimulateRoute(options.shouldSimulateRoute());
Copy link
Contributor

Choose a reason for hiding this comment

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

Do these two lines have to be in this order? Could they go before/after the if/else, since they are in both blocks

@danesfeder danesfeder merged commit fec78bc into master Jan 10, 2018
@danesfeder danesfeder deleted the dan-multiple-waypoints branch January 10, 2018 21:03
@danesfeder danesfeder mentioned this pull request Jan 23, 2018
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Defect to be fixed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants