mapbox / mapbox/mapbox-maps-ios
Improve camera.fly animation smoothness or add an animation curve parameter
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 601
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
New Feature
Refine the camera.fly method for smoother transitions. The current iOS implementation feels abrupt in comparison to the JS version of Mapbox, which provides a smoother experience by quickly starting and slowly easing into the destination. I would suggest adding an optional animation curve parameter like camera.ease, or by default, refining the existing animation to more closely mirror the JS version.
Solution Suggestions:
- Add an animation curve parameter in the
camera.flymethod. - Modify the default animation to align with the JS version's smoothness.
Why
A smoother transition enhances user experience by reducing visual jarring and ensures consistent behavior across platforms.
Note:
Updates on issue #990 would be appreciated, which also affects the smoothness of the animation.
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 tracing the iOS implementation of camera.fly and compare its transition behavior with the JavaScript Mapbox version; also review issue #990 for related context. Done means the fly transition is measurably smoother and either supports an optional animation curve like camera.ease or matches the proposed default behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100