diff --git a/lib/OpenLayers/Tile.js b/lib/OpenLayers/Tile.js index 4b43603757..1fefdb2b86 100644 --- a/lib/OpenLayers/Tile.js +++ b/lib/OpenLayers/Tile.js @@ -10,6 +10,9 @@ OpenLayers.Tile = Class.create(); OpenLayers.Tile.prototype = { + /** @type OpenLayers.Grid */ + grid: null, + // str - url of the request url:null, @@ -23,11 +26,16 @@ OpenLayers.Tile.prototype = { position:null, /** - * @param {OpenLayers.Layer} layer - * @param {OpenLayers.LonLat} coord + * @constructor + * + * @param {OpenLayers.Grid} grid + * @param {OpenLayers.Bounds} bounds + * @param {String} url + * @param {OpenLayers.Size} size */ - initialize: function(bounds,url,size) { + initialize: function(grid, bounds, url, size) { if (arguments.length > 0) { + this.grid = grid; this.url = url; this.bounds = bounds; this.size = size; diff --git a/lib/OpenLayers/Tile/Image.js b/lib/OpenLayers/Tile/Image.js index c2fca4d584..e68355825d 100644 --- a/lib/OpenLayers/Tile/Image.js +++ b/lib/OpenLayers/Tile/Image.js @@ -11,11 +11,12 @@ OpenLayers.Tile.Image.prototype = /** * @constructor * + * @param {OpenLayers.Grid} grid * @param {OpenLayers.Bounds} bounds * @param {String} url * @param {OpenLayers.Size} size */ - initialize: function(bounds,url,size) { + initialize: function(grid, bounds, url, size) { OpenLayers.Tile.prototype.initialize.apply(this, arguments); }, diff --git a/lib/OpenLayers/Tile/WFS.js b/lib/OpenLayers/Tile/WFS.js index eed526138a..05b99a290b 100644 --- a/lib/OpenLayers/Tile/WFS.js +++ b/lib/OpenLayers/Tile/WFS.js @@ -15,11 +15,12 @@ OpenLayers.Tile.WFS.prototype = /** * @constructor * + * @param {OpenLayers.Grid} grid * @param {OpenLayers.Bounds} bounds * @param {String} url * @param {OpenLayers.Size} size */ - initialize: function(bounds, url, size) { + initialize: function(grid, bounds, url, size) { OpenLayers.Tile.prototype.initialize.apply(this, arguments); this.features = new Array();