From 4e3cb2a121bfc61fba691f1b4057575c47601b8f Mon Sep 17 00:00:00 2001 From: sasbot <> Date: Sat, 6 Jun 2020 12:00:00 +0000 Subject: [PATCH] update zmp --- Yandex/YaMapNew.zmp/GetUrlScript.txt | 6 ------ Yandex/YaMapNew.zmp/params.txt | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 Yandex/YaMapNew.zmp/GetUrlScript.txt diff --git a/Yandex/YaMapNew.zmp/GetUrlScript.txt b/Yandex/YaMapNew.zmp/GetUrlScript.txt deleted file mode 100644 index 131bf5766..000000000 --- a/Yandex/YaMapNew.zmp/GetUrlScript.txt +++ /dev/null @@ -1,6 +0,0 @@ -var - vec: string; -begin - 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 8e8f8b14f..c639cd3b1 100644 --- a/Yandex/YaMapNew.zmp/params.txt +++ b/Yandex/YaMapNew.zmp/params.txt @@ -8,7 +8,7 @@ ParentSubMenu=City name_ru=Yandex - Карта name_uk=Yandex - Карта name=Yandex - Map -DefURLBase=https://vec01.maps.yandex.net/tiles?l=map&scale=1&lang=ru_RU +DefURLBase=https://core-renderer-tiles.maps.yandex.net/tiles?l=map&x={x}&y={y}&z={z}&scale=1&lang=ru_RU projection=2 sradiusa=6378137 sradiusb=6356752