From 2dc5a3cdcd9f9f61f7eb178e805ddf17209539fa Mon Sep 17 00:00:00 2001 From: sasgis <> Date: Sat, 12 Dec 1970 12:00:00 +0000 Subject: [PATCH] update zmp --- Yandex/YaMapNew.zmp/GetUrlScript.txt | 4 ++-- Yandex/YaMapNew.zmp/params.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Yandex/YaMapNew.zmp/GetUrlScript.txt b/Yandex/YaMapNew.zmp/GetUrlScript.txt index 9eea92f0..131bf576 100644 --- a/Yandex/YaMapNew.zmp/GetUrlScript.txt +++ b/Yandex/YaMapNew.zmp/GetUrlScript.txt @@ -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. \ No newline at end of file diff --git a/Yandex/YaMapNew.zmp/params.txt b/Yandex/YaMapNew.zmp/params.txt index fb0438a9..91372bca 100644 --- a/Yandex/YaMapNew.zmp/params.txt +++ b/Yandex/YaMapNew.zmp/params.txt @@ -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