[OSM-talk] Double-clicking on OSM map does not centre the map

Pierre Béland pierzenh at yahoo.fr
Mon Jul 22 12:25:37 UTC 2013


Peter,

This double click was an easy way to obtain the coordinates of an object and share the information with the others using the permalink. This functionnality does not exist anymore.

For example, If I search "Tower of London" with Nominatim,  the map is centered on the tower and the share link I obtain gives me the coordinates of the tower
http://mapui.apis.dev.openstreetmap.org/?lat=51.50811&lon=-0.07627&zoom=17&layers=M&mlat=51.50811&mlon=-0.07627


If I now center the map on an other point and add a Marker over the Tower, I do not obtain the coordinates of the tower.  What I can share is a map where a marker is over the tower. And I am loosing the possibility to share information about the tower coordinates.

http://mapui.apis.dev.openstreetmap.org/?lat=51.50745&lon=-0.0729&zoom=16&layers=M&mlat=51.5079&mlon=-0.07673

 
Pierre 



________________________________
 De : Peter Wendorff <wendorff at uni-paderborn.de>
À : talk at openstreetmap.org 
Envoyé le : Lundi 22 juillet 2013 5h10
Objet : Re: [OSM-talk] Double-clicking on OSM map does not centre the map
 

Am 22.07.2013 07:48, schrieb Maarten Deen:
>> http://mapui.apis.dev.openstreetmap.org/ [3]
> 
> It is nice to give a link to the development map (at least I assume it
> is), but how do you set that marker?
> 
> Regards,
> Maarten

Don't use URL-Fiddling any more (if that's what you tried), but:
- open the share box
- select "Include Marker" (the marker is visible now in the current
center of the map view)
- drag the marker to where you want to have it, independent of dragging
the map itself.

I think - once one found out about the right Button (share) that's
really an improvement and at least as easy as fiddling around the URL as
it was before.

regards
Peter


_______________________________________________
talk mailing list
talk at openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk
-------------- section suivante --------------
Une pi?ce jointe HTML a ?t? nettoy?e...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20130722/59e1b5a7/attachment.html>


More information about the talk mailing list