sasbot 4 anni fa
parent
commit
9c33fab8c8
2 ha cambiato i file con 13 aggiunte e 3 eliminazioni
  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 Vedi File

@@ -1,3 +1,13 @@
var
r: integer;
BaseUrl: string;
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 Vedi File

@@ -6,7 +6,7 @@ name_ru=ГосГисЦентр 500 м
name=GosGisCentr 500 m
name_uk=GosGisCentr 500 м
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
ParentSubMenu_ru=Генштаб\ГГЦ
ParentSubMenu=Genshtab\GGC


Caricamento…
Annulla
Salva