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.
Along the lines of mapbox/DEPRECATED-mapbox-ios-sdk#470 (comment), fitToBounds() spans the whole world if given a set of coordinates that straddles the antemeridian. This case is important for fitting the viewport to an annotation that straddles the antemeridian.
In order to do the right thing in all cases, this method would have to accept an additional parameter that indicates whether the intent is to span the Prime Meridian or antemeridian.
Along the lines of mapbox/DEPRECATED-mapbox-ios-sdk#470 (comment),
fitToBounds()
spans the whole world if given a set of coordinates that straddles the antemeridian. This case is important for fitting the viewport to an annotation that straddles the antemeridian.In order to do the right thing in all cases, this method would have to accept an additional parameter that indicates whether the intent is to span the Prime Meridian or antemeridian.
/cc @incanus @friedbunny
The text was updated successfully, but these errors were encountered: