[BUG] LatLngBounds does not account for angular wrapping #1844
Labels
bug
This issue reports broken functionality or another error
needs triage
This new bug report needs reproducing and prioritizing
S: core
Scoped to the core flutter_map functionality
waiting for user response
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: