diff --git a/2Gis/2gis.moscow.zmp/18.bmp b/2Gis/2gis.moscow.zmp/18.bmp new file mode 100644 index 00000000..a942fa46 Binary files /dev/null and b/2Gis/2gis.moscow.zmp/18.bmp differ diff --git a/2Gis/2gis.moscow.zmp/24.bmp b/2Gis/2gis.moscow.zmp/24.bmp new file mode 100644 index 00000000..e46b7562 Binary files /dev/null and b/2Gis/2gis.moscow.zmp/24.bmp differ diff --git a/2Gis/2gis.moscow.zmp/GetUrlScript.txt b/2Gis/2gis.moscow.zmp/GetUrlScript.txt new file mode 100644 index 00000000..18cc377d --- /dev/null +++ b/2Gis/2gis.moscow.zmp/GetUrlScript.txt @@ -0,0 +1,41 @@ +// Source: http://maps.2gis.ru/moscow/ + +var xx,yy,zz:string; +var dx,dy:array[1..50] of longint; +begin + + // map:z1, Sasplanet:z10 + dx[1]:=309; + dy[1]:=159; + // map:z2, Sasplanet:z11 + dx[2]:=618; + dy[2]:=318; + // map:z3, Sasplanet:z12 + dx[3]:=1236; + dy[3]:=636; + // map:z4, Sasplanet:z13 + dx[4]:=2472; + dy[4]:=1272; + // map:z5, Sasplanet:z14 + dx[5]:=4944; + dy[5]:=2544; + // map:z6, Sasplanet:z15 + dx[6]:=9888; + dy[6]:=5088; + // map:z7, Sasplanet:z16 + dx[7]:=19776; + dy[7]:=10176; + // map:z8, Sasplanet:z17 + dx[8]:=39552; + dy[8]:=20352; + // map:z9, Sasplanet:z18 + dx[9]:=79104; + dy[9]:=40704; + + + xx:=inttostr(GetX-dx[GetZ-9]); + yy:=inttostr(GetY-dy[GetZ-9]); + + + ResultURL:=GetURLBase+'/'+inttostr(getz-9)+'/'+xx+'/'+yy+'.png'; +end. \ No newline at end of file diff --git a/2Gis/2gis.moscow.zmp/params.txt b/2Gis/2gis.moscow.zmp/params.txt new file mode 100644 index 00000000..7eb9dcf5 --- /dev/null +++ b/2Gis/2gis.moscow.zmp/params.txt @@ -0,0 +1,27 @@ +[PARAMS] +pnum=170 +GUID={40E59729-C89C-49FA-BADA-DF3F70A77246} +asLayer=0 +name=Москва (2gis.ru) +name_en=Moscow (2gis.ru) +NameInCache=2gis_moscow +DefURLBase=http://tile4.maps.2gis.ru/tile/moscow +DefaultContentType=image/png +ContentType="image/png" +Ext=.png +projection=1 +sradiusa=6378137 +sradiusb=6378137 +separator=0 +UseDwn=1 +Usestick=1 +UseGenPrevious=1 +Usedel=1 +Usesave=1 +UseAntiBan=0 +Sleep=0 +DefHotKey=0 +BanIfLen=0 +MaxConnectToServerCount=20 +ParentSubMenu=ДубльГис +ParentSubMenu_en=2gis \ No newline at end of file