[BUG] Polygon simplification may produce invalid polygons #1965
Labels
bug
This issue reports broken functionality or another error
P: 2 (soon™?)
S: core
Scoped to the core flutter_map functionality
What is the bug?
Some
Polygon
s are not simplified correctly, and result in a polygon formed from less than 3 points. This results in long straight lines appearing on the map.How can we reproduce it?
Any polygons which are small enough to be reduced down to less than 3 points should cause the issue.
Do you have a potential solution?
Either avoid displaying polygons with less than 3 points, or prevent the simplification from returning invalid polygons.
Platforms
All
Severity
Obtrusive: Prevents normal functioning but causes no errors in the console
The text was updated successfully, but these errors were encountered: