From 3f23c6ca99cc28aafda256a4423378e699edcee0 Mon Sep 17 00:00:00 2001 From: sasgis <> Date: Sat, 12 Dec 1970 12:00:00 +0000 Subject: [PATCH] update zmp --- _Ukraine/odessa.ua.zmp/GetUrlScript.txt | 20 ++++++++++---------- _Ukraine/odessa.ua.zmp/params.txt | 11 +++++------ 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/_Ukraine/odessa.ua.zmp/GetUrlScript.txt b/_Ukraine/odessa.ua.zmp/GetUrlScript.txt index 203a3eb69..77308ae1b 100644 --- a/_Ukraine/odessa.ua.zmp/GetUrlScript.txt +++ b/_Ukraine/odessa.ua.zmp/GetUrlScript.txt @@ -3,16 +3,16 @@ sh_x:array[0..24] of integer; sh_y:array[0..24] of integer; begin -sh_x[0]:=301; sh_y[0]:=589; -sh_x[1]:=301; sh_y[1]:=589; -sh_x[2]:=301; sh_y[2]:=589; sh_x[3]:=301; sh_y[3]:=589; -sh_x[4]:=0; sh_y[4]:=0; -sh_x[5]:=0; sh_y[5]:=0; -sh_x[6]:=0; sh_y[6]:=0; -sh_x[7]:=0; sh_y[7]:=0; -sh_x[8]:=0; sh_y[8]:=0; -sh_x[9]:=0; sh_y[9]:=0; +sh_x[4]:=603; sh_y[4]:=1178; +sh_x[5]:=1177; sh_y[5]:=2302; +sh_x[6]:=2355; sh_y[6]:=4604; +sh_x[7]:=4711; sh_y[7]:=9209; +sh_x[8]:=10773; sh_y[8]:=21055; +sh_x[9]:=18845; sh_y[9]:=36839; +sh_x[10]:=37690; sh_y[10]:=73679; +sh_x[11]:=75381; sh_y[11]:=147359; +sh_x[12]:=150762; sh_y[12]:=294719; - ResultURL:=GetUrlBase+'/'+inttostr(Getz-3)+'/'+inttostr(GetY+sh_y[getz])+'/'+inttostr(GetX+sh_x[getz])+'.png'; + ResultURL:=GetUrlBase+'/'+inttostr(Getz-3)+'/'+inttostr(GetY+sh_y[getz])+'/'+inttostr(GetX+sh_x[getz]); end. \ No newline at end of file diff --git a/_Ukraine/odessa.ua.zmp/params.txt b/_Ukraine/odessa.ua.zmp/params.txt index a1c721b93..5213a80a5 100644 --- a/_Ukraine/odessa.ua.zmp/params.txt +++ b/_Ukraine/odessa.ua.zmp/params.txt @@ -4,7 +4,7 @@ GUID={8A7C26A9-C94B-4329-A764-02BB2EF9EA30} name=Карта Одессы(odessa.ua) name_en=Odessa Map (odessa.ua) asLayer=0 -DefURLBase=http://www.citymap.odessa.ua/arcgis/rest/services/odessa_n/MapServer/tile +DefURLBase=http://www.citymap.odessa.ua/ArcGIS/rest/services/odessa_n/MapServer/tile projection=1 sradiusa=6378137 sradiusb=6378137 @@ -12,15 +12,14 @@ NameInCache=odessa_ua ParentSubMenu=Локальные карты ParentSubMenu_en=Local maps separator=0 -Ext=.png +Ext=.jpg UseDwn=1 Usestick=1 UseGenPrevious=1 Usedel=1 Usesave=1 UseAntiBan=1 -Sleep=1000 +Sleep=0 DefHotKey=0 -ContentType=image/png -BanIfLen=1722 -defaultContentType=image/png \ No newline at end of file +ContentType=image/jpg +BanIfLen=0