mapbox / mapbox/mapbox-maps-ios
Annotation views animation
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
## New Feature
It would be really nice to have ability of animating annotation view size and location changes.
## Why
We display some content using annotation views which can partially change over time causing that view to become bigger or smaller.
Currently size change works but without animation
```swift
try? self._mapView.viewAnnotations.update(
existingView,
options: ViewAnnotationOptions(
width: viewSize.width,
height: viewSize.height
)
)
```
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 from the viewAnnotations.update call shown in the issue and trace how annotation view size and location changes are applied. Define the animation behavior for those changes and verify that both resizing and repositioning are animated without breaking existing updates.
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
- 38/100