mapbox / mapbox/mapbox-maps-android
ViewAnnotations are clipped by an invisible area inside the map viewport
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: 16 (API 36)
- Devices affected: All
- Maps SDK Version: 11.22.1
## Observed behavior and steps to reproduce
The blue box is completely occluded by a vertical area slightly past x=50%.
## Expected behavior
The blue box should be visible anywhere in the map viewport.
## Notes / preliminary analysis
Please see https://github.com/TruckMap/mapbox-example-android-viewannotation-bug for a reproduction.
This is a duplicate of https://github.com/mapbox/mapbox-maps-android/issues/2681, but I thought including a full repro might give this report more traction.
https://github.com/user-attachments/assets/9f17b573-29bb-49cc-ba51-beb987c22657
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 with the linked mapbox-example-android-viewannotation-bug reproduction on Android 16 using Maps SDK 11.22.1, then compare its behavior with the related issue #2681. The work is done when the blue ViewAnnotation remains visible throughout the map viewport rather than being clipped near its midpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100