Feature Suggestion: Modify map.fitBounds() to wrap around +-180 degrees longitude #4083
AdamAtFloreo
started this conversation in
Ideas
Replies: 2 comments
-
Do different inputs change this behavior? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think the following is the issue that was somewhat related: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As an example, let's say I want to call fitBounds([100, -20, -100, 20]) and have it show Asia on the left side, North America on the right. It does not currently do this. Instead it seemingly "corrects" my input to [-100, -20, 100, 20] so that NA is always on the left.
Beta Was this translation helpful? Give feedback.
All reactions