mapbox / mapbox/mapbox-maps-android
Icons in Symbol layer rotate displacing from their position when the map rotates
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: 13, 14, 15, Not related to any specific android version
- Devices affected: OnePlus Nord CE2 Lite, Nothing Phone 1, etc.
- Maps SDK Version: 11.10.3
## Observed behavior and steps to reproduce
When rotating the map the icons displayed on the map using symbol layer are displaced from the original position and it looks odd. This wasn't the behaviour when using the Mapbox V10 SDK. I have attached the video for your reference
https://github.com/user-attachments/assets/539e5528-7cba-4a42-b7f2-36757f23504c
## Expected behavior
It should be anchored on the same location while rotating the map
## Notes / preliminary analysis
## Additional links and references
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
Reproduce the displacement on Android 13–15 with Mapbox Maps SDK 11.10.3 using a symbol layer, and compare it with the reported Mapbox V10 behavior and attached video. Trace the symbol-layer rotation handling; done means icons remain anchored to their original map locations while the map rotates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100