diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index b890c632e9..a511954ea0 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -148,7 +148,9 @@ OpenLayers.Layer.Grid.prototype = } else { if (!this.grid || zoomChanged) { this._initTiles(); - } else { + } else if (this.getGridBounds().containsBounds(bounds, true) == false) { + this._initTiles(); + } else { var i = 0; while (this.getGridBounds().bottom > bounds.bottom) { this.insertRow(false);