Browse Source

update zmp

master
sasgis 54 years ago
parent
commit
634b40720d
4 changed files with 10 additions and 4 deletions
  1. +4
    -1
      mail.ru/MailMap.zmp/GetUrlScript.txt
  2. +1
    -1
      mail.ru/MailMap.zmp/params.txt
  3. +4
    -1
      mail.ru/MailSat.zmp/GetUrlScript.txt
  4. +1
    -1
      mail.ru/MailSat.zmp/params.txt

+ 4
- 1
mail.ru/MailMap.zmp/GetUrlScript.txt View File

@@ -1,3 +1,6 @@
var
tt: string;
begin
ResultURL:=GetURLBase+'&x='+inttostr(GetX-((round(intpower(2,GetZ-1))div 2)))+'&y='+inttostr(((round(intpower(2,GetZ-1))div 2)-1)-GetY)+'&z='+inttostr(GetZ-1);
tt := RegExprReplaceMatchSubStr(GetURLBase, 't\.maps', 't'+inttostr( Random(4) )+'maps' );
ResultURL := tt + inttostr(Getz-1)+'/'+inttostr(GetY)+'/'+inttostr(GetX)+'.png';
end.

+ 1
- 1
mail.ru/MailMap.zmp/params.txt View File

@@ -6,7 +6,7 @@ name=
name_en=Map (Maps@mail)
name_uk=Êàðòà (Êàðòû@Mail.Ru)
NameInCache=mailmap
DefURLBase=http://t2.maps.mail.ru/TileSender.aspx?ModeKey=tiles&t=maps
DefURLBase=http://t.maps.mail.ru/tiles/scheme/
ContentType=image/png
ParentSubMenu=mail.ru
ParentSubMenu_en=mail.ru


+ 4
- 1
mail.ru/MailSat.zmp/GetUrlScript.txt View File

@@ -1,3 +1,6 @@
var
tt: string;
begin
ResultURL:=GetURLBase+'&x='+inttostr(GetX-((round(intpower(2,GetZ-1))div 2)))+'&y='+inttostr(((round(intpower(2,GetZ-1))div 2)-1)-GetY)+'&z='+inttostr(GetZ-1);
tt := RegExprReplaceMatchSubStr(GetURLBase, 't\.maps', 't'+inttostr( Random(4) )+'maps' );
ResultURL:=tt+'&z='+inttostr(GetZ-1)+'&x='+inttostr(GetX-((round(intpower(2,GetZ-1))div 2)))+'&y='+inttostr(((round(intpower(2,GetZ-1))div 2)-1)-GetY);
end.

+ 1
- 1
mail.ru/MailSat.zmp/params.txt View File

@@ -6,7 +6,7 @@ name=
name_en=Satellite (Maps@mail)
name_uk=Ñóïóòíèê (Êàðòû@Mail.Ru)
NameInCache=mailsat
DefURLBase=http://t1.maps.mail.ru/TileSender.aspx?ModeKey=tiles&t=Images
DefURLBase=http://t.maps.mail.ru/TileSender.aspx?ModeKey=tiles&t=Images
ContentType=image/jpeg
ParentSubMenu=mail.ru
ParentSubMenu_en=mail.ru


Loading…
Cancel
Save