This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
sasgis
/
maps
Watch
2
Star
1
Fork
5
Code
Issues
0
Pull Requests
0
Releases
0
Activity
Browse Source
update zmp
pull/1/head
sasbot
4 years ago
parent
978b1a6bce
commit
547925c6f3
2 changed files
with
13 additions
and
3 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-2
_Genshtab/gsh_500m_new.zmp/GetUrlScript.txt
+1
-1
_tourism/altay_katun_chui.zmp/GetUrlScript.txt
+ 12
- 2
_Genshtab/gsh_500m_new.zmp/GetUrlScript.txt
View File
@@ -1,3 +1,13 @@
var
r: integer;
BaseUrl: string;
begin
begin
ResultURL:=GetURLBase+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg';
end.
r := random(2);
case r of
0: BaseUrl := GetURLBase;
1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru');
end;
ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.jpg';
end.
+ 1
- 1
_tourism/altay_katun_chui.zmp/GetUrlScript.txt
View File
@@ -9,5 +9,5 @@ begin
1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru');
1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088/pub', 'maps.melda.ru');
end;
end;
ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.
j
pg';
ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.p
n
g';
end.
end.
Write
Preview
Loading…
Cancel
Save