diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index f75e0668dd..01da4f4298 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -113,6 +113,8 @@ OpenLayers.Layer.Grid.prototype = moveTo:function(bounds, zoomChanged, minor) { if (!this.getVisibility()) { if (zoomChanged) { + //now clear out the old grid and start a new one + this.clearGrid(); this.grid = null; } } else {