瀏覽代碼

update zmp

master
sasbot 4 年之前
父節點
當前提交
9c33fab8c8
共有 2 個檔案被更改,包括 13 行新增3 行删除
  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 查看文件

@@ -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 查看文件

@@ -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


Loading…
取消
儲存