mapbox / leaflet-pip

point in polygon intersections for leaflet
https://mapbox.github.io/leaflet-pip/
BSD 2-Clause "Simplified" License
199 stars 46 forks source link

Recent versions of Leaflet do not have L.Polygon and L.MultiPolygon classes #16

Closed jblarsen closed 8 years ago

jblarsen commented 9 years ago

It seems like recent versions of Leaflet do not have L.Polygon and L.MultiPolygon classes. I am however not sure whether the fix I propose is the right way to do it. And maybe it needs additional checks to test whether l.feature exists.

Best regards, Jesper

tmcw commented 9 years ago

This change should happen in index.js: leaflet-pip is a generated file.

tmcw commented 8 years ago

Closing; wrong file.