jgpacker / osm-smart-menu

An OpenStreetMap webextension for Firefox and Chrome
GNU General Public License v3.0
56 stars 12 forks source link

Overpass Turbo #117

Open DaveF63 opened 3 years ago

DaveF63 commented 3 years ago

Hi I presume you're aware Overpass Turbo can accept co-ords on it's command line: www.overpass-turbo.eu/?C=51.47795;0.0;16

But do you know if there's a way to retrieve them after the page is loaded? The site must store them somewhere. It would be useful addition, if possible.

jgpacker commented 3 years ago

Hi, it seems Overpass Turbo uses Leaflet, so it should be possible to recognize the coordinates in the map after https://github.com/jgpacker/osm-smart-menu/issues/30 is done.

jgpacker commented 3 years ago

For now, I added this Overpass URL template to the wiki page: https://wiki.openstreetmap.org/wiki/OSM_Smart_Menu#Advanced_method_to_add_new_links

Bibi56 commented 2 years ago

For now, I added this Overpass URL template to the wiki page: https://wiki.openstreetmap.org/wiki/OSM_Smart_Menu#Advanced_method_to_add_new_links

@jgpacker, You could add a link to this help page from your template page so that I wouldn't have had to look at https://github.com/jgpacker/osm-smart-menu/blob/master/src/options/components/UrlTemplateForm.svelte#L8 to find the tags ;-).