does someone knows how to get lat/long from a the cursor position? thanks asked 26 Jan '12, 18:58 Beerforfree |
Good question. It seems that the cursor does not give the coordinates. However, I have a workaround:
answered 26 Jan '12, 21:01 gerdami |
In Potlatch 2, Edit mode, drop down Options menu in top right hand corner, choose 'Show mouse latitude and longitude' and tick box. Lat and Long will appear in left top of edit screen. Is this what you want? answered 26 Jan '12, 20:59 gumpa |
Do you mean from the map on the OSM website http://www.openstreetmap.org/ ? If so the answer is to click "permalink" at the bottom right-hand corner, and it'll appear in the URL bar. Or perhaps you mean obtain the cursor position in Javascript on your own map using OSM data? Or something else? answered 26 Jan '12, 19:14 SomeoneElse ♦ |
Additionnaly to the solution to use the permalink button, you can also use the firebug or webkit console, and ask the coordinates with the call:
answered 27 Jan '12, 09:58 NicolasDumoulin |