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> _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev