Browse Source

update zmp

pull/1/head
sasbot 3 years ago
parent
commit
73554d972d
5 changed files with 7 additions and 7 deletions
  1. +2
    -2
      Yandex/YaHyb.zmp/GetUrlScript.txt
  2. +1
    -1
      Yandex/YaHyb.zmp/params.txt
  3. +2
    -2
      Yandex/YaSat.zmp/GetUrlScript.txt
  4. +1
    -1
      Yandex/YaSat.zmp/params.txt
  5. +1
    -1
      Yandex/YaTraf.zmp/params.txt

+ 2
- 2
Yandex/YaHyb.zmp/GetUrlScript.txt View File

@@ -2,5 +2,5 @@ var
vec: string;
begin
vec := RegExprReplaceMatchSubStr(GetURLBase, 'vec(\d+)\.', 'vec0'+inttostr(1 + Random(3)) + '.' );
ResultURL := vec +inttostr(GetX)+'&y='+inttostr(GetY)+'&z='+inttostr(GetZ-1)+'&g='+copy('Gagarin', 1, Random(8));
end.
ResultURL := vec +inttostr(GetX)+'&y='+inttostr(GetY)+'&z='+inttostr(GetZ-1);
end.

+ 1
- 1
Yandex/YaHyb.zmp/params.txt View File

@@ -10,7 +10,7 @@ ParentSubMenu_ru=Яндекс
ParentSubMenu=Yandex
ParentSubMenu_uk=Яндекс
NameInCache=yahyb
DefURLBase=http://vec01.maps.yandex.net/tiles?l=skl&x=
DefURLBase=https://vec01.maps.yandex.net/tiles?l=skl&scale=1&lang=ru_RU&x=
ContentType=image/png
Ext=.png
projection=2


+ 2
- 2
Yandex/YaSat.zmp/GetUrlScript.txt View File

@@ -2,5 +2,5 @@ var
sat: string;
begin
sat := RegExprReplaceMatchSubStr(GetURLBase, 'sat(\d+)\.', 'sat0'+inttostr(1 + Random(3)) + '.' );
ResultURL := sat +inttostr(GetX)+'&y='+inttostr(GetY)+'&z='+inttostr(GetZ-1)+'&g='+copy('Gagarin', 1, Random(8));
end.
ResultURL := sat +inttostr(GetX)+'&y='+inttostr(GetY)+'&z='+inttostr(GetZ-1);
end.

+ 1
- 1
Yandex/YaSat.zmp/params.txt View File

@@ -8,7 +8,7 @@ name_uk=Супутник (Яндекс.Карты)
ParentSubMenu_ru=Яндекс
ParentSubMenu=Yandex
ParentSubMenu_uk=Яндекс
DefURLBase=http://sat01.maps.yandex.net/tiles?l=sat&x=
DefURLBase=https://sat01.maps.yandex.net/tiles?l=sat&scale=1&lang=ru_RU&x=
projection=2
sradiusa=6378137
sradiusb=6356752


+ 1
- 1
Yandex/YaTraf.zmp/params.txt View File

@@ -10,7 +10,7 @@ ParentSubMenu_ru=Яндекс
ParentSubMenu=Yandex
ParentSubMenu_uk=Яндекс
NameInCache=yatraf
DefURLBase=https://core-jams-rdr.maps.yandex.net/1.1/tiles?trf&l=trf&x=
DefURLBase=https://core-jams-rdr.maps.yandex.net/1.1/tiles?trf&l=trf&scale=1&lang=ru&x=
ContentType=image/png
Ext=.png
projection=2


Loading…
Cancel
Save