You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
MGLMapView setCenterCoordinate:zoomLevel:animated doesn't stop any running animations #2204
setCenterCoordinate:zoomLevel:animated is called, with a true animation flag
while the animation is executing, setCenterCoordinate:zoomLevel:animated is called again, with a false animation flag
The MGLMapView ends up at the first location, ignoring the second call. I can see the mapViewRegionIsChanging callback announce the second location once, as expected, but then it continues to announce the remaining regions changes for the animation.
Perhaps related, if an MGLMapView is already set to the exact region the user is animating to, the mapViewRegionIsChanging callback is fired a number of times, announcing the current position, without the map region actually changing.
Activity
incanus commentedon Sep 23, 2015
@tomtaylor Is this still an issue with the latest release and the camera API?
tomtaylor commentedon Sep 23, 2015
(Ignore previous messages) This looks fixed to me, thanks a lot.