Skip to content

[BUG] Polygons not properly rendered with Impeller #1965

@JaffaKetchup

Description

@JaffaKetchup

What is the bug?

Some Polygons 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.

image

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

Metadata

Metadata

Assignees

Labels

bugThis issue reports broken functionality or another errorexternalThe issue lies in a dependency or Flutter itself (not for plugins)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions