From 431b882630bddfa7eddbda26c6c45df5b75728ae Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sat, 9 Feb 2008 16:51:39 +0000 Subject: [PATCH] Don't redraw the single tile if the layer is not visible; it will be redrawn by setCenter since we clear the grid anyway. git-svn-id: http://svn.openlayers.org/trunk/openlayers@6168 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/Grid.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index dc41417f82..587f0a3034 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -670,7 +670,6 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, { if (this.singleTile) { this.clearGrid(); this.setTileSize(); - this.initSingleTile(this.map.getExtent()); } },