From 960a70ec07f4b7c1e52e22e5045fb40aeea15c11 Mon Sep 17 00:00:00 2001 From: euzuro Date: Wed, 9 Aug 2006 06:15:32 +0000 Subject: [PATCH] use new clearGrid() git-svn-id: http://svn.openlayers.org/trunk/openlayers@1151 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/Grid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index b9eaab1937..80981a1b1a 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -139,7 +139,7 @@ OpenLayers.Layer.Grid.prototype = if (bounds != null) { if (!this.getVisibility()) { if (zoomChanged) { - // HACK HACK HACK -- should be this.hideGrid() basically + this.clearGrid(); } } else if (!this.grid.length || zoomChanged || !this.getGridBounds().containsBounds(bounds, true)) {