This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Add method to set user tracking mode as well as pitch, heading, and zoom in a single animation #8609
Labels
archived
Archived because of inactivity
iOS
Mapbox Maps SDK for iOS
navigation
For the Mapbox Navigation SDK for Android or iOS or navigation use cases in general
There is currently no way to set the user tracking mode to follow while also adjusting the pitch, heading, and zoom level using an animation. There is also no way to use a custom media timing function for the user tracking mode change animation.
I've tried setting the pitch, heading, and zoom to the user's location first, and then on completion setting the tracking mode to follow, but there is a noticeable jump as it starts following (especially if the user's location has changed significantly during the animation).
It would be nice to have a method to set the tracking mode with pitch, heading, and zoom level. Something like:
Another alternative could be to have a type of camera that always follows the user's location and where
centerCoordinate
is not settable.The text was updated successfully, but these errors were encountered: