Skip to content

Conversation

Zverik
Copy link
Contributor

@Zverik Zverik commented Oct 3, 2013

It is possible in edit mode to remove all but two nodes in a polygon, leaving it essentially a line. This commit fixes that, ensuring a polygon has at least three nodes.

jacobtoye added a commit that referenced this pull request Oct 3, 2013
Leave at least 3 points in a polygon
@jacobtoye jacobtoye merged commit 534b3da into Leaflet:master Oct 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants