Browse Source

update zmp

pull/1/head
sasbot 4 years ago
parent
commit
aa6c644a91
4 changed files with 68 additions and 0 deletions
  1. BIN
      2Gis/2gis.moscow.zmp/18.bmp
  2. BIN
      2Gis/2gis.moscow.zmp/24.bmp
  3. +41
    -0
      2Gis/2gis.moscow.zmp/GetUrlScript.txt
  4. +27
    -0
      2Gis/2gis.moscow.zmp/params.txt

BIN
2Gis/2gis.moscow.zmp/18.bmp View File

Before After

BIN
2Gis/2gis.moscow.zmp/24.bmp View File

Before After

+ 41
- 0
2Gis/2gis.moscow.zmp/GetUrlScript.txt View File

@@ -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.

+ 27
- 0
2Gis/2gis.moscow.zmp/params.txt View File

@@ -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

Loading…
Cancel
Save