Grid.js has two other tile.draw methods, which need to now use the this.alpha flag.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@841 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-06-30 15:48:50 +00:00
parent 44fee8a018
commit 7313838f1f
+2 -2
View File
@@ -200,7 +200,7 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), {
bounds.top = bounds.top + deltaLat; bounds.top = bounds.top + deltaLat;
position.y = position.y + deltaY; position.y = position.y + deltaY;
var newTile = this.addTile(bounds, position); var newTile = this.addTile(bounds, position);
newTile.draw((this.params.TRANSPARENT == 'true')); newTile.draw(this.alpha);
newRow.append(newTile); newRow.append(newTile);
} }
@@ -234,7 +234,7 @@ OpenLayers.Layer.Grid.prototype = Object.extend( new OpenLayers.Layer(), {
bounds.right = bounds.right + deltaLon; bounds.right = bounds.right + deltaLon;
position.x = position.x + deltaX; position.x = position.x + deltaX;
var newTile = this.addTile(bounds, position); var newTile = this.addTile(bounds, position);
newTile.draw((this.params.TRANSPARENT == 'true')); newTile.draw(this.alpha);
if (prepend) { if (prepend) {
row = row.prepend(newTile); row = row.prepend(newTile);