mapbox / mapbox/mapbox-maps-ios
Allow order control (z position) for view annotations
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
View annotation z order
The order now is controlled with order of adding views. But we should be able to control order of added views that were modified with update closure or added later. It's not convenient or fast to delete all views and add new ones in correct order. Especially when we have to do that on every cameraChange event.
I see that in pull #1607 you are actually internally controlling view order somehow.
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 reviewing the annotation view ordering behavior described here and inspect pull request #1607, which reportedly controls view order internally. Trace how views added later or modified through update closures are ordered, then define and verify a control for z position without requiring views to be deleted and re-added, including during camera changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100