Skip to content

Polygon.setLatLngs doesn't account for holes #1518

@countrodrigo

Description

@countrodrigo

Polygon extends Polyline, but doesn't overwrite the setLatLngs() method. Polygon's initialize() method properly handles holes, but because there isn't an overloaded version of setLatLngs() you can't update the polygon to have holes in it.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions