opacity fixes required after reverting r12185. r=mosesonline (closes #3441)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12240 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -104,7 +104,7 @@ OpenLayers.Layer.Markers = OpenLayers.Class(OpenLayers.Layer, {
|
||||
addMarker: function(marker) {
|
||||
this.markers.push(marker);
|
||||
|
||||
if (this.opacity != null) {
|
||||
if (this.opacity < 1) {
|
||||
marker.setOpacity(this.opacity);
|
||||
}
|
||||
|
||||
|
||||
@@ -391,7 +391,7 @@ OpenLayers.Tile.Image = OpenLayers.Class(OpenLayers.Tile, {
|
||||
this.frame.appendChild(this.imgDiv);
|
||||
this.layer.div.appendChild(this.frame);
|
||||
|
||||
if(this.layer.opacity != null) {
|
||||
if(this.layer.opacity < 1) {
|
||||
|
||||
OpenLayers.Util.modifyDOMElement(this.imgDiv, null, null, null,
|
||||
null, null, null,
|
||||
|
||||
Reference in New Issue
Block a user