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
This commit is contained in:
crschmidt
2008-02-09 16:51:39 +00:00
parent bf224d699d
commit 431b882630

View File

@@ -670,7 +670,6 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
if (this.singleTile) {
this.clearGrid();
this.setTileSize();
this.initSingleTile(this.map.getExtent());
}
},