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