equal
deleted
inserted
replaced
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) |