From 50babaeb346d9970c6bc13e778b84f6490af9bfc Mon Sep 17 00:00:00 2001 From: crschmidt Date: Thu, 22 Jun 2006 19:10:44 +0000 Subject: [PATCH] Also pass the transparent param on to addTile in the column/row functions. git-svn-id: http://svn.openlayers.org/trunk/openlayers@682 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/Grid.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index e93b634e29..736972b30f 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -146,7 +146,7 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), { new OpenLayers.Pixel(tileoffsetx - parseInt(this.map.layerContainerDiv.style.left), tileoffsety - parseInt(this.map.layerContainerDiv.style.top)) ); - tile.draw((this.params.TRANSPARENT == true)); + tile.draw((this.params.TRANSPARENT == 'true')); row.append(tile); tileoffsetlon += tilelon; @@ -181,7 +181,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(); + newTile.draw((this.params.TRANSPARENT == 'true')); newRow.append(newTile); } @@ -215,7 +215,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(); + newTile.draw((this.params.TRANSPARENT == 'true')); if (prepend) { row = row.prepend(newTile);