Skip to content
Advertisement

Tag: geospatial

Download shapes from leaflet map

I have online access to a leaflet map, but cannot reach the authors. Is there a way to download shapes from this map (to shp, geojson, etc.)? I thought of running some leaflet-related javascript code in browser console, but I couldn’t find any relevant commands in the documentation. Answer When you look into the dev tools of the link you

Determine if Lat/Lng in Bounds

I’m interested in determining if a lat/lng location is within the bounds and looking for recommendations on a algorithm. (javascript or php) Here is what I have so far: will this work? thanks Answer The simple comparison in your post will work for coordinates in the US. However, if you want a solution that’s safe for checking across the International

Advertisement