This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
pkl69
/
maps
forked from
sasgis/maps
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
update zmp
master
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