Browse Source

update zmp

master
sasbot 4 years ago
parent
commit
4e3cb2a121
2 changed files with 1 additions and 7 deletions
  1. +0
    -6
      Yandex/YaMapNew.zmp/GetUrlScript.txt
  2. +1
    -1
      Yandex/YaMapNew.zmp/params.txt

+ 0
- 6
Yandex/YaMapNew.zmp/GetUrlScript.txt View File

@@ -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.

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

@@ -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


Loading…
Cancel
Save