mapbox / mapbox/mapbox-navigation-android
Camera doesn’t behave the same in two devices following the same route
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
Noticed while testing in a couple of devices that the camera doesn’t behave the same even if you’re following the same route.
@danesfeder commented that maybe could be related to the reset button because how the camera resets is not consistent (different zoom levels). See [`DynamicCamera`](https://github.com/mapbox/mapbox-navigation-android/blob/master/libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/camera/DynamicCamera.java) for reference.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/camera/DynamicCamera.java, especially the camera reset behavior mentioned in the issue. Reproduce the same route on multiple devices and compare zoom levels after reset; done means the camera behaves consistently across those devices.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100