Skip to content

Conversation

snkashis
Copy link
Member

Check to see if second array is present, and empty, for GeoJSON polygon parsing.

Fixes #1917

mourner added a commit that referenced this pull request Jul 29, 2013
Throw invalid GeoJSON error on Polygon with an empty interior
@mourner mourner merged commit b313165 into Leaflet:master Jul 29, 2013
@mourner
Copy link
Member

mourner commented Jul 29, 2013

Thanks Steve :)

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.

Zero-length Polygon linear ring should throw invalid geojson, but throws js error
3 participants