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 has been archived by the owner on Aug 8, 2023. It is now read-only.
-[MGLMapView setCamera:withDuration:animationTimingFunction:] will happily pass along the current (unchanged) camera to _mbglMap->easeTo(), which eventually sends false region change notifications.
This is especially bothersome when trying to set the camera in one of the region change delegate methods, because any call to a -[MGLMapView setCamera:] variant will keep looping but accomplish nothing.
-[MGLMapView setCamera:withDuration:animationTimingFunction:]
will happily pass along the current (unchanged) camera to_mbglMap->easeTo()
, which eventually sends false region change notifications.This is especially bothersome when trying to set the camera in one of the region change delegate methods, because any call to a
-[MGLMapView setCamera:]
variant will keep looping but accomplish nothing.Example:
Which results in this strangely mesmerizing effect:
/cc @incanus @1ec5
The text was updated successfully, but these errors were encountered: