Shohreh
(Shohreh)
October 30, 2018, 11:08pm
#1
Hello,
I need a simpler way than www.openstreetmap.org for users to click on a location and share it through a URL.
www.openstreetmap.org requires the following steps:
Click on Share
Check “Include marker”
Move marker to desired location
Copy/paste URL
Is there a website — preferably OSM-based — where people could just click and copy/paste the URL, so that I’d get eg. www.acme.com/lat=48.8918&lon=2.3044 ?
Thank you.
Edit: Even Google Maps doesn’t support this obvious feature:
muralito
(Muralito)
October 31, 2018, 1:47am
#2
See the first example ot the tutorial
https://leafletjs.com/examples/quick-start/
If you click on the map, the apps generates the following message: You clicked the map at LatLng(51.519532, -0.108662)
Shohreh
(Shohreh)
October 31, 2018, 10:49am
#3
Thanks.
Unless I’m mistaken, this involves 1) setting up my own public web server and 2) paying for a tile provider (Mapbox, etc.)?
–
Edit: There’s an easier way:
Head for http://www.openstreetmap.org
Zoom in
Right-click > “Show address”
On the left handside, mouse mouse to show marker
Copy coordinates
HTH,