static/tiles2.js
changeset 34 a387bc77ad52
parent 32 aa168c7da551
child 38 0abb7289d4b8
equal deleted inserted replaced
33:0ed40e11b0e8 34:a387bc77ad52
    24 
    24 
    25         // the (x, y) co-ordinates
    25         // the (x, y) co-ordinates
    26         var x = col * this.tile_width;
    26         var x = col * this.tile_width;
    27         var y = row * this.tile_height;
    27         var y = row * this.tile_height;
    28 
    28 
    29         var url = this.path + "?x=" + x + "&y=" + y + "&z=" + zl + "&sw=" + sw + "&sh=" + sh;
    29         var url = this.path + "?x=" + x + "&y=" + y + "&zoom=" + zl + "&sw=" + sw + "&sh=" + sh;
    30 
    30 
    31         if (this.refresh)
    31         if (this.refresh)
    32             url += "&ts=" + new Date().getTime();
    32             url += "&ts=" + new Date().getTime();
    33 
    33 
    34         if (this.opt_key && this.opt_value)
    34         if (this.opt_key && this.opt_value)