You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 invoke leafletPip.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:
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
The text was updated successfully, but these errors were encountered: