@@ -0,0 +1,37 @@ | |||||
var | |||||
sx,sy,sz:string; | |||||
lx,ty:extended; | |||||
rx,by:extended; | |||||
res:array[0..24] of extended; | |||||
begin | |||||
res[0]:=0; | |||||
res[1]:=50000; | |||||
res[2]:=49500; | |||||
res[3]:=25500; | |||||
res[4]:=9783; | |||||
res[5]:=4891.96980999999959749402; | |||||
res[6]:=2445; | |||||
res[7]:=1222; | |||||
res[8]:=611; | |||||
res[9]:=305; | |||||
res[10]:=152; | |||||
res[11]:=76; | |||||
res[12]:=38; | |||||
res[13]:=19; | |||||
res[14]:=9.5; | |||||
res[15]:=4.79999999999999982236; | |||||
res[16]:=2.39999999999999991118; | |||||
res[17]:=0; | |||||
res[18]:=0; | |||||
res[19]:=0; | |||||
lx:=-20037508+(getx*res[getz]*256); | |||||
rx:=-20037508+((getx+1)*res[getz]*256); | |||||
ty:=-15496570+((round(intpower(2,getz-1))-gety+1)*res[getz]*256); | |||||
by:=-15496570+((round(intpower(2,getz-1))-gety+0)*res[getz]*256); | |||||
ResultURL:=GetUrlBase+inttostr(getz)+'&BBOX='+RoundEX(lx,2)+','+RoundEX(by,2)+','+RoundEX(rx,2)+','+RoundEX(ty,2); | |||||
end. |
@@ -0,0 +1,37 @@ | |||||
var | |||||
sx,sy,sz:string; | |||||
lx,ty:extended; | |||||
rx,by:extended; | |||||
res:array[0..24] of extended; | |||||
begin | |||||
res[0]:= 0; | |||||
res[1]:= 50000; | |||||
res[2]:= 49500; | |||||
res[3]:= 25500; | |||||
res[4]:= 9783; | |||||
res[5]:= 4891.96980999999959749402; | |||||
res[6]:= 2445; | |||||
res[7]:= 1222; | |||||
res[8]:= 611; | |||||
res[9]:= 305; | |||||
res[10]:=152; | |||||
res[11]:=76; | |||||
res[12]:=38; | |||||
res[13]:=19; | |||||
res[14]:=9.5; | |||||
res[15]:=4.79999999999999982236; | |||||
res[16]:=2.39999999999999991118; | |||||
res[17]:=0; | |||||
res[18]:=0; | |||||
res[19]:=0; | |||||
lx:=-20037508+(getx*res[getz]*256); | |||||
rx:=-20037508+((getx+1)*res[getz]*256); | |||||
ty:=-15496570+((round(intpower(2,getz-1))-gety-1)*res[getz]*256); | |||||
by:=-15496570+((round(intpower(2,getz-1))-gety+0)*res[getz]*256); | |||||
ResultURL:=GetUrlBase+inttostr(getz)+'&BBOX='+RoundEX(lx,2)+','+RoundEX(by,2)+','+RoundEX(rx,2)+','+RoundEX(ty,2); | |||||
end. |
@@ -0,0 +1,25 @@ | |||||
[PARAMS] | |||||
pnum=19 | |||||
GUID={395F7E2F-41E6-4A25-83BA-6CE6310B00E8} | |||||
name=Êàðòà (pro-gorod.ru wms) | |||||
name_9=Map (pro-gorod.ru wms) | |||||
ParentSubMenu=Äðóãèå êàðòû | |||||
ParentSubMenu_9=Other maps | |||||
asLayer=0 | |||||
DefURLBase=http://www.glekov.ru/lv | |||||
projection=2 | |||||
sradiusa=6378137 | |||||
sradiusb=6356752 | |||||
NameInCache=progorodwms | |||||
separator=1 | |||||
Ext=.png | |||||
UseDwn=1 | |||||
Usestick=1 | |||||
UseGenPrevious=1 | |||||
Usedel=1 | |||||
Usesave=1 | |||||
UseAntiBan=0 | |||||
Sleep=0 | |||||
DefHotKey=32843 | |||||
ContentType=image/png | |||||
BanIfLen=0 |
@@ -0,0 +1,25 @@ | |||||
[PARAMS] | |||||
pnum=19 | |||||
GUID={395F7E2F-41E6-4A25-83BA-6CE6310B00E8} | |||||
name=Êàðòà (pro-gorod.ru wms) | |||||
name_9=Map (pro-gorod.ru wms) | |||||
ParentSubMenu=Äðóãèå êàðòû | |||||
ParentSubMenu_9=Other maps | |||||
asLayer=0 | |||||
DefURLBase=http://tiles.tmcrussia.com/f4091876df6a5d39e6690b7395a95399/?REQUEST=GetMap&FORMAT=image/png&LAYERS=lv | |||||
projection=2 | |||||
sradiusa=6378137 | |||||
sradiusb=6356752 | |||||
NameInCache=progorodwms | |||||
separator=1 | |||||
Ext=.png | |||||
UseDwn=1 | |||||
Usestick=1 | |||||
UseGenPrevious=1 | |||||
Usedel=1 | |||||
Usesave=1 | |||||
UseAntiBan=0 | |||||
Sleep=0 | |||||
DefHotKey=32843 | |||||
ContentType=image/png | |||||
BanIfLen=0 |