-
-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] LatLngBounds does not account for angular wrapping #1844
Comments
In order to avoid regression, a solution would to add a named constructor like |
This needs re-triage after #1860 was merged. |
This issue requires additional information in order to be resolved. However, there hasn't been any response within the last 3 weeks. |
I started coding something weeks ago. May PR one day. |
Hey @monsieurtanuki, does any of your work change any of this? |
@JaffaKetchup Actually no, I haven't PR'ed anything strictly related to the current issue. I can if needed. |
What is the bug?
I want check if some bounds are contained (
LatLngBounds.contains
) or overlapping (LatLngBounds.isOverlapping
) another bound. In the case of bound boxes which wrap around the 180th meridian it fails since the current implementation does not account for it.How can we reproduce it?
Define bounds that wrap around the 180th meridian, and check if they contain another bound that is indeed contained.
Do you have a potential solution?
Platforms
any
Severity
Obtrusive: Prevents normal functioning but causes no errors in the console
The text was updated successfully, but these errors were encountered: