[OSM-dev] openlayers permalink / editlink

Rob rob at coolbegin.com
Mon Apr 21 11:42:43 BST 2008


2008/4/21, Tom Hughes <tom at compton.nu>:
> In message <f3970e6e0804210259m5a58375eh63607869ca350acd at mail.gmail.com>
>
>         rob at coolbegin.com wrote:
>
>  > Is there an easy way to add a second permalink to my map with the edit
>  > url (potlatch) ?
>  > I can hack an edit url with javascript and the onclick event.. but
>  > maybe it can be made easier..
>
>
> I don't really understand your question... What map are we talking
>  about here? Some OpenLayers map that you have created? If so then you
>  will have to do any links to our site by hand as I the OL permalink
>  control will always point back to the page it is hosted on as far
>  as I know, and not at us (whether at the view page or the edit page).
>
>  Tom

i want to add a link above the permalink to edit the current view in potlatch
one way is to "subclass" the permalink control to point to openstreetmap.org
or make a link that's updated with lat/lon when the user clicks on it..




More information about the dev mailing list