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

Default Dynamic Camera for Navigation UI #679

Merged
merged 13 commits into from
Mar 2, 2018
Merged

Conversation

danesfeder
Copy link
Contributor

@danesfeder danesfeder commented Jan 29, 2018

Closes #601 #678 #725

First pass will create a default DynamicCamera that uses MapboxMap#getCameraForLatLngBounds to get a dynamic zoom based on our proximity to the upcoming maneuver. Will also add tilt based on the step distance remaining.

  • Javadoc
  • Test coverage for DynamicCamera

cc @ericrwolfe

@danesfeder danesfeder added feature New feature request. topic: camera labels Jan 29, 2018
@danesfeder danesfeder added this to the v0.10.0 milestone Jan 29, 2018
@danesfeder danesfeder self-assigned this Jan 29, 2018
@danesfeder danesfeder changed the title Default Dynamic Camera Default Dynamic Camera for Navigation UI Jan 29, 2018
@danesfeder
Copy link
Contributor Author

Upstream work needed to unlock this --> mapbox/mapbox-plugins-android#293

@danesfeder
Copy link
Contributor Author

zoom_1

zoom_2

tilt

zoom_3

@danesfeder danesfeder merged commit 090cb38 into master Mar 2, 2018
@danesfeder danesfeder deleted the dan-camera-animator branch March 2, 2018 16:34
@danesfeder danesfeder mentioned this pull request Mar 6, 2018
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants