export route leaflet I found a simple trick in a Stack Overflow question here that gives the following recipe (I think) for grabbing the route info from a leafelt map (assuming the map object is in the variable
Having a quick peek in geojson viewer, and it seems to work (I just need to scrape some of the other data too, such as marker labels etc.)
Presumably, I could automate looking for variables of the leaflet map type in order to make this recipe even easier to use?
One thought on “Extracting geoJSON Data From Leaflet Maps with shot-scraper”
Comments are closed.