From 2ec7f246f3ff68aa23ef531be305643da5c0f560 Mon Sep 17 00:00:00 2001 From: sasbot <> Date: Sat, 6 Jun 2020 12:00:00 +0000 Subject: [PATCH] update zmp --- ProGorod1.zmp/GetUrlScript.txt | 13 +++++++++++++ ProGorod1.zmp/params.txt | 25 +++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 ProGorod1.zmp/GetUrlScript.txt create mode 100644 ProGorod1.zmp/params.txt diff --git a/ProGorod1.zmp/GetUrlScript.txt b/ProGorod1.zmp/GetUrlScript.txt new file mode 100644 index 000000000..39546bb87 --- /dev/null +++ b/ProGorod1.zmp/GetUrlScript.txt @@ -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. \ No newline at end of file diff --git a/ProGorod1.zmp/params.txt b/ProGorod1.zmp/params.txt new file mode 100644 index 000000000..a9ebcb938 --- /dev/null +++ b/ProGorod1.zmp/params.txt @@ -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 \ No newline at end of file