In message <[EMAIL PROTECTED]> [EMAIL PROTECTED] wrote: > 2008/4/21, Tom Hughes <[EMAIL PROTECTED]>: > >> 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 -- Tom Hughes ([EMAIL PROTECTED]) http://www.compton.nu/ _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev