=?iso-8859-2?Q?Yahoo=20maps?=
[1/1] from: rebol-list2::seznam::cz at: 29-Apr-2003 21:48
Hi all,
I have this small function which is able to get map tile from
maps.yahoo.com domain:
getMapTile: func[tile-size /position pos /scale sc /local gif][
if not position [pos: -62192x533448]
if not scale [ sc: 6 ]
gif: read/binary rejoin [
http://uk.img.maps.yahoo.com/scripts/gcis.dll?
"sizex=" tile-size/x
"&sizey=" tile-size/y
"&XgoSetLogicalScale=" sc
"&_XgoPointWGS=" pos/x "%2c" pos/y
"&_XgoGCAdrWGS=" pos/x "%2c" pos/y
"&_XgoGCYouAreHereCircleThickness=0"
"&_XgoGCYouAreHereCenterThickness=0"
"&XgoAnswer=Bitmap"
"&_XgoScaleMode=1"
]
]
...but I have not enought time to find out how works the coords
system. Does anybody want to try to look at it so it would be
possible to get bigger map then 1000x1000 which is the biggest tile
size you can get using this function?
Cheers...
Oldes
______________________________________________________________________
Reklama:
On-line =FAv=ECr bez poplatku na http://www.burinka.cz! P=F8i=B9el =E8as p=F9j=E8it si
na bydlen=ED pohodln=EC.