diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 7ec3508794..d85129bf72 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -200,7 +200,7 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), { bounds.top = bounds.top + deltaLat; position.y = position.y + deltaY; var newTile = this.addTile(bounds, position); - newTile.draw((this.params.TRANSPARENT == 'true')); + newTile.draw(this.alpha); newRow.append(newTile); } @@ -234,7 +234,7 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), { bounds.right = bounds.right + deltaLon; position.x = position.x + deltaX; var newTile = this.addTile(bounds, position); - newTile.draw((this.params.TRANSPARENT == 'true')); + newTile.draw(this.alpha); if (prepend) { row = row.prepend(newTile);