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:
@@ -670,7 +670,6 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
|||||||
if (this.singleTile) {
|
if (this.singleTile) {
|
||||||
this.clearGrid();
|
this.clearGrid();
|
||||||
this.setTileSize();
|
this.setTileSize();
|
||||||
this.initSingleTile(this.map.getExtent());
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user