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

Leaflet PIP not Returning all Results #26

Open Craytor opened 7 years ago

Craytor commented 7 years ago

I have a scenario where leaflet-pip will not return any data when you click on certain polygons, but when you click on another polygon it does return correct data. All of the polygons I'm referencing are in a GeoJson layer.

An example is here: http://livestormchasing.com/dev, and try clicking on all of the polygons and some of the polygons will not work correctly. I'm logging information to the console as well to help with debugging.

I've been trying to figure this out for quite some time, just can't seem to derive a solution.

Many thanks.

chintanp commented 6 years ago

@Craytor : Were you able to resolve this? I am facing similar issue, as in, all but one polygon is not working. It is really frustrating, as there seems to be no way to debug this issue.