From 67eb60f93629c53ca85c8b0035ff39724e17bf73 Mon Sep 17 00:00:00 2001 From: sasgis <> Date: Sat, 12 Dec 1970 12:00:00 +0000 Subject: [PATCH] update zmp --- history/5v_kavkaz.zmp/GetUrlScript.txt | 5 +---- history/5v_kavkaz.zmp/params.txt | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) 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