Browse Source

update zmp

pull/1/head
sasbot 4 years ago
parent
commit
2ec7f246f3
2 changed files with 38 additions and 0 deletions
  1. +13
    -0
      ProGorod1.zmp/GetUrlScript.txt
  2. +25
    -0
      ProGorod1.zmp/params.txt

+ 13
- 0
ProGorod1.zmp/GetUrlScript.txt View File

@@ -0,0 +1,13 @@
var
sx,sy,sz:string;
begin
sx:=inttostr(Getx);
sy:=inttostr(round(intpower(2,GetZ-1))-Gety);
sz:=inttostr(Getz-1);
while length(sx)<3 do sx:='0'+sx;
while length(sy)<3 do sy:='0'+sy;
while length(sz)<2 do sz:='0'+sz;
ResultURL:=GetUrlBase+sz+'/00/000/000/'+sx+'/000/000/'+sy+'.png';
end.

+ 25
- 0
ProGorod1.zmp/params.txt View File

@@ -0,0 +1,25 @@
[PARAMS]
pnum=19
GUID={714D22FC-40A0-41ED-A6E3-4DFFA1589CBA}
name=Êàðòà (pro-gorod.ru 1)
name_9=Map (pro-gorod.ru 1)
ParentSubMenu=Äðóãèå êàðòû
ParentSubMenu_9=Other maps
asLayer=0
DefURLBase=http://www.glekov.ru/lv
projection=2
sradiusa=6378137
sradiusb=6356752
NameInCache=progorod1
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

Loading…
Cancel
Save