mapbox / mapbox/mapbox-maps-android
Pins Flicker During Zoom Out
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 578
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
## Environment
- Android OS version: 12
- Devices affected: OnePlus 7 (GM1903)
- Maps SDK Version: 11.30.1 (com.mapbox.maps:android-ndk27, via mapbox_maps_flutter 2.30.1)
## Observed behavior and steps to reproduce
Using a GeoJSON source of Point features and a SymbolLayer on it with an image, `icon-anchor: bottom`, `icon-allow-overlap: true`, `icon-ignore-placement: true`. While zooming out the pin jitters/twitches/flickers around the point (seems to only affect zooming out, or at least much more as far as I can tell).
- Happens on a lone pin with nothing near it, so it is not clustering or collision.
- Also happens with clustering
- I tested with both globe and flat mercator projection and it happened in both cases
- The source data is not updated during the gesture.
## Expected behavior
It doesn't jump around.
## Notes / preliminary analysis
Looks like the same issue raised in:
https://github.com/mapbox/mapbox-maps-android/issues/2555
https://github.com/mapbox/mapbox-maps-android/issues/2609
and possibly
https://github.com/mapbox/mapbox-maps-ios/issues/2367
Raising again for visibility and attention. Some feedback would be really really appreciated.
## Additional links and references
https://github.com/user-attachments/assets/d111fd7b-5544-457a-bfde-22f23b912c4d
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 reproducing the flicker with the GeoJSON Point source and SymbolLayer configuration described in the issue, then compare the behavior with linked issues 2555, 2609, and iOS 2367. Done means pins remain stable around their points while zooming out, with both clustered and lone pins and both globe and mercator projections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- computer-graphics, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100