Browse Source

update zmp

undefined
sasgis 54 years ago
parent
commit
046a36388d
2 changed files with 13 additions and 3 deletions
  1. +12
    -2
      Genshtab/ggc/karta_ggc_500m.zmp/GetUrlScript.txt
  2. +1
    -1
      Genshtab/ggc/karta_ggc_500m.zmp/params.txt

+ 12
- 2
Genshtab/ggc/karta_ggc_500m.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)+'.png';
end.
r := random(2);
case r of
0: BaseUrl := GetURLBase;
1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088', 'maps.melda.ru');
end;
ResultURL:= BaseUrl+'z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.png';
end.

+ 1
- 1
Genshtab/ggc/karta_ggc_500m.zmp/params.txt View File

@@ -6,7 +6,7 @@ name_ru=ГосГисЦентр 500 м
name=GosGisCentr 500 m name=GosGisCentr 500 m
name_uk=GosGisCentr 500 м name_uk=GosGisCentr 500 м
NameInCache=ggc500m NameInCache=ggc500m
DefURLBase=http://91.237.82.95:8088/pub/ggc/500m/
DefURLBase=http://91.237.82.95:8088/pub/ggc/500m.png/
defaultContentType=image/png defaultContentType=image/png
ParentSubMenu_ru=Генштаб\ГГЦ ParentSubMenu_ru=Генштаб\ГГЦ
ParentSubMenu=Genshtab\GGC ParentSubMenu=Genshtab\GGC


Loading…
Cancel
Save