mapbox / mapbox/mapbox-annotation-extension
Moving map deselects annotation
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 11
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
When I select a style annotation, and then move the map or pinch to zoom, then func annotationController(_ annotationController: MGLAnnotationController, didDeselect styleAnnotation: MGLStyleAnnotation) will be triggered. Is this intended?
The expected behavior is that the style annotation only then gets deselected, when I touch an empty spot on the map or another style annotation. Do I miss something?
All the best
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 behavior around annotationController(_:didDeselect:) while moving the map and pinching to zoom. Compare it with touching an empty map spot or another style annotation, and confirm that the callback only occurs for the latter interactions when the issue is fixed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100