You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

GetUrlScript.txt 370 B

4 years ago
12345678910111213141516
  1. var
  2. Step:integer;
  3. shiftx,shifty:integer;
  4. y:integer;
  5. begin
  6. shiftx:=225280;
  7. shifty:=5632000;
  8. step:=round(225280/round(intpower(2,getz-3)))
  9. if gety<3 then step:=0;
  10. y:=round(intpower(2,getz-1))-GetY-1;
  11. ResultURL:=GetURLBase+inttostr(shiftx+getx*step)+','+inttostr(shifty+Y*step)+','+inttostr(shiftx+getx*step+step)+','+inttostr(shifty+Y*step+step);
  12. end.