Browse Source

update zmp

pull/1/head
sasbot 4 years ago
parent
commit
e77d0fa6d8
13 changed files with 139 additions and 0 deletions
  1. BIN
      GoogleTransit.zmp/18.bmp
  2. BIN
      GoogleTransit.zmp/24.bmp
  3. +4
    -0
      GoogleTransit.zmp/GetUrlScript.txt
  4. +23
    -0
      GoogleTransit.zmp/params.txt
  5. BIN
      Rambler_maps.zmp/18.bmp
  6. BIN
      Rambler_maps.zmp/24.bmp
  7. +57
    -0
      Rambler_maps.zmp/GetUrlScript.txt
  8. +2
    -0
      Rambler_maps.zmp/info.txt
  9. +25
    -0
      Rambler_maps.zmp/params.txt
  10. BIN
      mpoisk.ru.zmp/18.bmp
  11. BIN
      mpoisk.ru.zmp/24.bmp
  12. +3
    -0
      mpoisk.ru.zmp/GetUrlScript.txt
  13. +25
    -0
      mpoisk.ru.zmp/params.txt

BIN
GoogleTransit.zmp/18.bmp View File

Before After

BIN
GoogleTransit.zmp/24.bmp View File

Before After

+ 4
- 0
GoogleTransit.zmp/GetUrlScript.txt View File

@@ -0,0 +1,4 @@
begin
ResultURL:=GetUrlBase+'&x='+inttostr(GetX)+'&y='+inttostr(GetY)+'&zoom='+inttostr(18-GetZ)+'&s='+copy('Galileo',1,(GetX*3+GetY)mod 8);
end.

+ 23
- 0
GoogleTransit.zmp/params.txt View File

@@ -0,0 +1,23 @@
[PARAMS]
pnum=2
asLayer=0
GUID={04634AEA-A897-483D-8D56-4F5D703BDBB7}
name=Òðàíñïîðò (Google)
name_en=Transit (Google)
DefURLBase=http://mt.google.com/vt/lyrs=m@139,transit:comp|vm:1&hl=ru&opts=r
projection=1
sradiusa=6378137
sradiusb=6378137
NameInCache=GoogleTransit
separator=0
Ext=.png
UseDwn=1
Usestick=1
UseGenPrevious=1
Usedel=1
Usesave=1
UseAntiBan=1
Sleep=1000
DefHotKey=
ContentType=image/png
BanIfLen=1722

BIN
Rambler_maps.zmp/18.bmp View File

Before After

BIN
Rambler_maps.zmp/24.bmp View File

Before After

+ 57
- 0
Rambler_maps.zmp/GetUrlScript.txt View File

@@ -0,0 +1,57 @@
function addzero(i:integer):string;
var rs:string;
begin
rs:=inttostr(i);
while length(rs)<3 do rs:='0'+rs;
result:=rs;
end;
var
sx,sy,sz:string;
dx,dy:integer;
tx,ty:integer;
sh_x:array[0..24] of integer;
sh_y:array[0..24] of integer;
begin
sh_x[0]:=0; sh_y[0]:=0;
sh_x[1]:=0; sh_y[1]:=0;
sh_x[2]:=0; sh_y[2]:=0;
sh_x[3]:=0; sh_y[3]:=0;
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]:=1;
sh_x[10]:=0; sh_y[10]:=1;
sh_x[11]:=0; sh_y[11]:=3;
sh_x[12]:=0; sh_y[12]:=6;
sh_x[13]:=0; sh_y[13]:=11;
sh_x[14]:=0; sh_y[14]:=22;
sh_x[15]:=0; sh_y[15]:=44;
sh_x[16]:=0; sh_y[16]:=88;
sh_x[17]:=0; sh_y[17]:=175;
sh_x[18]:=0; sh_y[18]:=350;
sh_x[19]:=-90; sh_y[19]:=946;
sh_x[20]:=0; sh_y[20]:=0;
sh_x[21]:=0; sh_y[21]:=0;
sh_x[22]:=0; sh_y[22]:=0;
sh_x[23]:=0; sh_y[23]:=0;
sh_x[24]:=0; sh_y[24]:=0;
tx:=getx+sh_x[getz];
dx:=(tx div 1000);
sx:=addzero(tx-dx*1000);
ty:=(round(intpower(2,GetZ-1))-Gety)-sh_y[getz];
dy:=(ty div 1000);
ty:=ty-dy*1000-1;
sy:=addzero(ty);
sz:=inttostr(Getz-1);
ResultURL:=GetUrlBase+sz+'/00/000/'+addzero(dx)+'/'+sx+'/000/'+addzero(dy)+'/'+sy+'.png'+'?e16a5f67e5cc3887282038bf6bc27657';
end.

+ 2
- 0
Rambler_maps.zmp/info.txt View File

@@ -0,0 +1,2 @@
На зумах 16 и меньше привязка сильно съезжает по оси y (а на z17 и z18 всё нормально).
Проблема связана с ошибкой округления и, по-моему, не решается.

+ 25
- 0
Rambler_maps.zmp/params.txt View File

@@ -0,0 +1,25 @@
[PARAMS]
pnum=
GUID={DB6FCDE8-43A6-4DB5-89E0-1F5625CC2BE0}
name=Êàðòà (rambler.ru)
name_en=Map (rambler.ru)
ParentSubMenu=Äðóãèå êàðòû
ParentSubMenu_en=Others Maps
asLayer=0
DefURLBase=http://tiles.maps.rambler.ru/lv
projection=2
sradiusa=6378137
sradiusb=6356752
NameInCache=rambler
separator=0
Ext=.png
UseDwn=1
Usestick=1
UseGenPrevious=1
Usedel=1
Usesave=1
UseAntiBan=0
Sleep=0
DefHotKey=0
ContentType=image/png
BanIfLen=0

BIN
mpoisk.ru.zmp/18.bmp View File

Before After

BIN
mpoisk.ru.zmp/24.bmp View File

Before After

+ 3
- 0
mpoisk.ru.zmp/GetUrlScript.txt View File

@@ -0,0 +1,3 @@
begin
ResultURL:=GetURLBase+RoundEx(getllon+(GetRlon-GetLLon)/2,13)+'/lat/'+RoundEx(GetbLat+(GetTLat-GetBlat)/2,13)+'/scale/'+inttostr(getz-1)+'/width/256/height/256/region/81';
end.

+ 25
- 0
mpoisk.ru.zmp/params.txt View File

@@ -0,0 +1,25 @@
[PARAMS]
pnum=
GUID={E580797F-3C56-4796-98A8-52D579A1F6A5}
asLayer=0
name=ÌÒÑ Ïîèñê (wap.mpoisk.ru)
name_en=ÌÒÑ Ïîèñê (wap.mpoisk.ru)
ParentSubMenu=Äðóãèå êàðòû
ParentSubMenu_en=Others Maps
NameInCache=mpoisk_ru
DefURLBase=http://wap.mpoisk.ru/city/map.ashx/lon/
ContentType=image/gif
Ext=.gif
projection=1
sradiusa=3396190
sradiusb=3396190
separator=0
UseDwn=1
Usestick=1
UseGenPrevious=1
Usedel=1
Usesave=1
UseAntiBan=0
Sleep=0
DefHotKey=0
BanIfLen=0

Loading…
Cancel
Save