mapbox / mapbox/mapbox-navigation-android
ViewportDataSource zoom level thresholds
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the MapboxViewportDataSource continuously animates the zoom level to be higher and higher as we're approaching a maneuver. In order to optimize the map rendering cycles, we could introduce a set of thresholds and transition the zoom level property in steps to take better advantage of rendering caches.
cc @d-prukop @astojilj @MaximAlien
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 locating MapboxViewportDataSource and tracing how its zoom level is continuously animated as a maneuver approaches. Clarify the threshold values and transition behavior before implementation; done means zoom changes in steps rather than continuously, with the resulting map rendering behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100