Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Fit to bounds across the antemeridian spans the whole world #1867

Closed
1ec5 opened this issue Jul 9, 2015 · 2 comments
Closed

Fit to bounds across the antemeridian spans the whole world #1867

1ec5 opened this issue Jul 9, 2015 · 2 comments
Labels
bug iOS Mapbox Maps SDK for iOS

Comments

@1ec5
Copy link
Contributor

1ec5 commented Jul 9, 2015

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

@1ec5 1ec5 added bug iOS Mapbox Maps SDK for iOS labels Jul 9, 2015
@lilykaiser
Copy link

Closing due to ticket age. If this is still a problem, please re-open

@1ec5
Copy link
Contributor Author

1ec5 commented Nov 18, 2017

Forward-duping to #4664 and #9731.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

2 participants