Improve camera.fly animation smoothness or add an animation curve parameter
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.
Hi @dandyweng --
Thanks for sharing this suggestion. If you are interested in a smoother transition with more control can you use camera.ease in your use case? If not, can you share why?
Hi @pjleonard37,
Thanks for the suggestion. I've tried camera.ease, but its lack of a zoom animation causes disorientation for longer transition distances. The zoom effect in camera.fly is more visually appealing and provides a more intuitive sense of movement across the map.
@dandyweng I've created an internal ticket to track this https://mapbox.atlassian.net/browse/MAPSIOS-1127