Browse Source

update zmp

undefined
sasgis 54 years ago
parent
commit
2dc5a3cdcd
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      Yandex/YaMapNew.zmp/GetUrlScript.txt
  2. +1
    -1
      Yandex/YaMapNew.zmp/params.txt

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

@@ -1,6 +1,6 @@
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));
vec := RegExprReplaceMatchSubStr(GetURLBase, 'vec(\d+)\.', 'vec0' + IntToStr(1 + Random(3)) + '.' );
ResultURL := vec + '&x=' + IntToStr(GetX) + '&y=' + IntToStr(GetY) + '&z=' + IntToStr(GetZ-1);
end.

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

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


Loading…
Cancel
Save