diff --git a/lib/OpenLayers/Tile.js b/lib/OpenLayers/Tile.js index 1e2b1f9261..93b06ce6f2 100644 --- a/lib/OpenLayers/Tile.js +++ b/lib/OpenLayers/Tile.js @@ -60,6 +60,7 @@ OpenLayers.Tile.prototype = { this.layer = null; this.bounds = null; this.size = null; + this.position = null; }, /** @@ -82,9 +83,12 @@ OpenLayers.Tile.prototype = { }, - /** remove this tile from the ds - */ - remove:function() { + /** Clear the tile of any bounds/position-related data so that it can + * be reused in a new location. + */ + clear: function() { + this.bounds = null; + this.position = null; }, /**