[OSM-dev] Deeplink for Potlatch Custom Background

Dave Stubbs osm.list at randomjunk.co.uk
Mon Sep 28 09:34:32 BST 2009


replace all the %26 with %2526 and it works.




On Sun, Sep 27, 2009 at 9:10 PM, M. Emch <nomorebigfoot at gmx.ch> wrote:
>
> Hi Dave
>
> Thanks for trying to help. Maybe it's a problem in my english skill or
> technical. %-|.
>
> Can you give me an example that works?
>
> Regards
>
> Martin
>
>> Then i got this:
>> http%3A%2F%2Fintegrate.ch%2Fapp%2Ftile.php%3Flayer%3Dams250%26z%3D%21%26x%3D%21%26y%3D%21
>>
>> When i call this in browser:
>> http://www.openstreetmap.org/edit?lat=31.6026&lon=-5.5894&zoom=13&tileurl=http%3A%2F%2Fintegrate.ch%2Fapp%2Ftile.php%3Flayer%3Dams250%26z%3D!%26x%3D!%26y%3D!
>>
>> Then only this is entered in the "Custom Background" field:
>> http://integrate.ch/app/tile.php?layer=ams250
>>
>> There is something wrong with url encode/decode? How to proper encode
>> that?
>
> I think it's currently broken. You have to double encode the &s for it to
> work.
>
> Dave
>
> --
> View this message in context: http://www.nabble.com/Deeplink-for-Potlatch-Custom-Background-tp25618987p25637157.html
> Sent from the OpenStreetMap - Dev mailing list archive at Nabble.com.
>
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>




More information about the dev mailing list