[OSM-dev] openlayers permalink / editlink

Tom Hughes tom at compton.nu
Mon Apr 21 11:53:31 BST 2008

In message <f3970e6e0804210342w7de25300r4118d29fc8afc60a at mail.gmail.com>
        rob at coolbegin.com wrote:

> 2008/4/21, Tom Hughes <tom at compton.nu>:
>> 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).
> 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..

Having looked, it turns out that you can specify an alternative
base URL when you create a permalink control in OpenLayers, which
should do what you want.

As far as I can see there is nothing in OL to stop you adding more
than one permalink control to your map.


Tom Hughes (tom at compton.nu)

More information about the dev mailing list