Closed doapp-ryanp closed 8 years ago
Sorry I got decided to dig in. Fix was straight forward. In Leafelet v1.0 there are no more Polygon classes
Closing in favor of #8
Thanks. Is there a plan to get the change into a published module any time soon? Your module here is great but we can't use it as it sits.
I have a geoJson file of a bunch of NWS alert zone polygons in it. I simply want to find what polygon (if any) a given lat/lng point is in. I want to do this entirely headless (no browser).
I'm using leaflet-headless and leaflet-pip to try and pull this off - but I keep getting a
[TypeError: Expecting a function in instanceof check, but got undefined]
error when I invokeleafletPip.pointInLayer()
.Before I spend lots of time digging into the leaflet[-pip] code, was wondering if you knew off the top of your head why this would not work? Here is my code:
thanks in advance. FWIW im on OSX