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.
Cannot set zoom immediately after setting center coordinate #1181
-[MGLMapView setCenterCoordinate:zoomLevel:animated:] works fine of course, but I need something less atomic to make #929 work well. Otherwise you have to ensure that zoomLevel appears before latitude or longitude in the storyboard XML. (Interface Builder doesn’t let you rearrange user-defined runtime attributes using the inspector.)
Activity
incanus commentedon Apr 2, 2015
Yep, we had this problem in the iOS SDK and I've been seeing it in testing.
friedbunny commentedon Apr 2, 2015
(Your description is clear, but the code example isn't actually reversed.)
1ec5 commentedon Apr 2, 2015
Nice catch, @friedbunny! Fixed.
fixes #1181: fix lat/lng & zoom ordering problems
Merge pull request #1194 from mapbox/fix-lat-lon-zoom-order
Made lat/lon/zoom inspectable