Tile opacity patch from tschaub: Fix for #235. Also includes tests to ensure

that code works.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1433 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-09-11 14:30:25 +00:00
parent 720c8507f7
commit 4a65590d3e
4 changed files with 53 additions and 0 deletions

View File

@@ -102,6 +102,9 @@ OpenLayers.Tile.Image.prototype =
true);
}
this.layer.div.appendChild(this.imgDiv);
if(this.layer.opacity != null) {
OpenLayers.Util.setOpacity(this.imgDiv, this.layer.opacity);
}
},
/** @final @type String */