I used the OpenStreetMap homepage code for inspiration and wrote a stripped
down version for this page:

http://www.openecomaps.co.uk/map.php

Basically you give the link an ID, get the relevant variables from
OpenLayers and register events to update the link every time the map
changes.

<http://www.openecomaps.co.uk/map.php>(by the way that site isn't quite
"launched" yet).

Best wishes,
Tom


On 20 January 2011 21:26, Graham Jones <grahamjones...@gmail.com> wrote:

> Richard,
> A direct link to an editor would be really neat...Do you know how to do it?
> I suppose I need to use javascript to detect that you have clicked on the
> 'edit' link, then update the link to be the map origin?
> Or is there an easy way - not sure how the 'Permalink' thing works - I'll
> dig through the OpenLayers code to look for it!
>
> Graham.
>
> On 20 January 2011 10:04, Richard Fairhurst <rich...@systemed.net> wrote:
>
>>
>> Graham Jones wrote:
>> > I just added navigable rivers and it looks a bit more like a network
>> now.
>> > There are still a few odd gaps to investigate though.
>>
>> That's putting it mildly. :)
>>
>> I knew our waterway coverage was erratic but I hadn't realised it was
>> _that_
>> poor. Navigable rivers are particularly sporadic (very little of the
>> Thames
>> appears to be tagged as boat=yes). And as for the Macclesfield Canal's new
>> western extension, complete with cycleway...
>>
>> Lots to do!
>>
>> Graham - could you add a permalink that goes either to the equivalent view
>> on osm.org, or straight to osm.org/edit?lat=...&lon=...&zoom=... ?
>>
>> cheers
>> Richard
>>
>>
>> --
>> View this message in context:
>> http://gis.638310.n2.nabble.com/Re-Waterways-Map-was-invisible-tp5941444p5943138.html
>> Sent from the Great Britain mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Talk-GB mailing list
>> Talk-GB@openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk-gb
>>
>
>
>
> --
> Graham Jones
> Hartlepool, UK.
>
>
> _______________________________________________
> Talk-GB mailing list
> Talk-GB@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-gb
>
>


-- 
http://tom.acrewoods.net   http://twitter.com/tom_chance
_______________________________________________
Talk-GB mailing list
Talk-GB@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-gb

Reply via email to