Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

GetUrlScript.txt 869 B

há 19 anos
há 19 anos
há 19 anos
há 19 anos
há 19 anos
há 19 anos
há 19 anos
há 19 anos
há 19 anos
há 19 anos
há 19 anos
há 19 anos
1234567891011121314151617181920
  1. var
  2. r: integer;
  3. BaseUrl: string;
  4. begin
  5. r := random(2);
  6. case r of
  7. 0: BaseUrl := GetURLBase;
  8. 1: BaseUrl := RegExprReplaceMatchSubStr(GetURLBase, '91.237.82.95:8088', 'maps.melda.ru');
  9. end;
  10. if GetZ < 13 then
  11. ResultURL := BaseUrl+'2km.png'+'/z'+inttostr(GetZ-1)+'/'+inttostr(GetY)+'/'+inttostr(GetX)+'.png'
  12. else if getz <14 then
  13. ResultURL := BaseUrl+'1km'+'/z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.png'
  14. else if getz <15 then
  15. ResultURL := BaseUrl+'500m.png'+'/z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.png'
  16. else
  17. ResultURL := BaseUrl+'250m.png'+'/z'+inttostr(getz)+'/'+inttostr(getx div 1024)+'/x'+inttostr(getx)+'/'+inttostr(gety div 1024)+'/y'+inttostr(gety)+'.png'
  18. end.