mapbox / mapbox/mapbox-maps-ios
MapViewAnnotation now disappear when anchor point comes out of the screen
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I just updated Mapbox packages to the latest version 11.14 and suddenly MapViewAnnotation started to disappear as soon as their anchor point left the screen. It was not doing that before the update (version 11.11). From reading the documentation it seems like a normal behavior, which is surprising because it wasn´t doing that before I updated....
"When a view annotation is added or updated, visibility can be specified explicitly. An annotation becomes hidden when it goes out of map view’s bounds or visible property is changed."
I didnt change anything in the code.
Any explanation or suggestion of workaround ?
https://github.com/user-attachments/assets/c4346659-fa1f-4214-8314-b8775ef515b2
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 MapViewAnnotation behavior on iOS with Mapbox Maps 11.11 and 11.14, using the visibility behavior described in the issue. Compare the release behavior and documentation to determine whether this is an intentional change or a regression; done means documenting the explanation and a confirmed workaround or fix direction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100