[OSM-dev] openlayers permalink / editlink

Rob rob at coolbegin.com
Mon Apr 21 15:58:43 BST 2008


the next code did the trick

map.addControl(new
OpenLayers.Control.Permalink('Editlink','http://www.openstreetmap.org/edit')
);

and in the body

<div id="EditlinkDiv"><a href="" id="Editlink">Edit (Potlatch)</a></div>




More information about the dev mailing list