diff --git a/_Ukraine/odessa.ua.zmp/GetUrlScript.txt b/_Ukraine/odessa.ua.zmp/GetUrlScript.txt index 203a3eb6..77308ae1 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 a1c721b9..5213a80a 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