[OSM-dev] openlayers permalink / editlink

Christopher Schmidt crschmidt at metacarta.com
Mon Apr 21 12:54:49 BST 2008


On Mon, Apr 21, 2008 at 11:53:31AM +0100, Tom Hughes wrote:
> 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..
> 
> As far as I can see there is nothing in OL to stop you adding more
> than one permalink control to your map.

Correct: we even have it on our main controls example: 
http://openlayers.org/dev/examples/controls.html

Regards,
-- 
Christopher Schmidt
MetaCarta




More information about the dev mailing list