diff --git a/history/5v_kavkaz.zmp/GetUrlScript.txt b/history/5v_kavkaz.zmp/GetUrlScript.txt index b32100abb..1acc47c60 100644 --- a/history/5v_kavkaz.zmp/GetUrlScript.txt +++ b/history/5v_kavkaz.zmp/GetUrlScript.txt @@ -1,6 +1,3 @@ -var - url : string; begin - url := RegExprReplaceMatchSubStr( GetURLBase, '8082', inttostr(8084 + Random(6)) ); - ResultURL := URL+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'.jpg'; + ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg'; end. diff --git a/history/5v_kavkaz.zmp/params.txt b/history/5v_kavkaz.zmp/params.txt index 75e829b3b..f708dc585 100644 --- a/history/5v_kavkaz.zmp/params.txt +++ b/history/5v_kavkaz.zmp/params.txt @@ -6,7 +6,7 @@ name=Kavkaz 5-v. 1926 ParentSubMenu_ru=Исторические\Кавказ ParentSubMenu=Historic\Kavkaz ParentSubMenu_uk=Історичні\Кавказ -DefURLBase=http://91.237.82.95:8082/5v_kavkaz/ +DefURLBase=http://91.237.82.95:8088/pub/historic/5v_kavkaz/ projection=1 sradiusa=6378137 sradiusb=6378137