ߏߔߌ߲ߛߑߕߙߌߕߑߡߊߔ ߛߌ߲ߞߐ߲ OpenStreetMap

Tiles@Home tile information bookmark.

ߊ߬ ߟߊߦߟߍ߬ߣߍ߲߬ ߦߋ߫ AndrewMcCarthy ߓߟߏ߫ 21 April 2008 ߦߋ߫ English ߟߋ߬ ߘߐ߫

In Firefox, create a bookmark with this location:

javascript:var%C2%A0s='%s'; url='http://tah.openstreetmap.org/Tiles/info.php?x=%s&y=%s&z=%s'; t=''; qc=0; chunks=url.split('%s'); for(i=0; i');

and set the bookmark keyword to something like "tah". You can then go the location bar and enter "tah" followed by the x coordinate, y coordinate and zoom level of the Osmarender tile you're interested in. For example:

tah 1976 1327 12
sends you to
http://tah.openstreetmap.org/Tiles/info.php?x=1976&y=1327&z=12

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

ߡߙߌߣߊ߲ ߞߊ߬ ߝߘߊ߫ AndrewMcCarthy ߟߊ߫ 21 April 2008 at 22:36 ߘߐ߫

Odd, the bookmark cuts off half-way. Maybe the less-than sign? Trying again!

javascript:var%C2%A0s='%s'; url='http://tah.openstreetmap.org/Tiles/info.php?x=%s&y=%s&z=%s'; t=''; qc=0; chunks=url.split('%s'); for(i=0; i<s.length; i++){if(s.charAt(i)=='%22')qc=qc^1; t+=((s.charAt(i)==' '&&qc)?'^':s.charAt(i)); }args=t.split(/\s/); nurl=''; for(i=0; i<chunks.length; i++){nurl+=chunks[i]; if(args[i]!=undefined)%C2%A0{args[i]=args[i].replace(/\^/g,' '); nurl+=args[i]; }}location.replace(nurl,'< BR>');

ߡߙߌߣߊ߲ ߞߊ߬ ߝߘߊ߫ Donald Allwright ߟߊ߫ 21 April 2008 at 23:09 ߘߐ߫

This doesn't seem to work on firefox 3 beta 5 - the URL you get is:

http://tah.openstreetmap.org/Tiles/info.php?x=1976%201327%2012&y=&z=

i.e. it hasn't separated the numbers properly. Any suggestions?

ߡߙߌߣߊ߲ ߞߊ߬ ߝߘߊ߫ AndrewMcCarthy ߟߊ߫ 25 April 2008 at 11:20 ߘߐ߫

No idea, I'm afraid. I'm now running the same version of Firefox, and it's fine. Are you putting any quotes around anything? It looks like Firefox is translating the spaces to %20, which seems to happen if you quote things.

ߌ ߜߊ߲߬ߞߎ߲߫ ߞߊ߬ ߛߋ߫ ߡߙߌߣߊ߲ ߦߌ߬ߘߊ߬ ߟߊ߫