From fe6ede2c87b057e9da520e2f5e155efa1a84b728 Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 11 Jul 2006 13:52:16 +0000 Subject: [PATCH] check for transparency was not correct git-svn-id: http://svn.openlayers.org/trunk/openlayers@932 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/WMS/Untiled.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/OpenLayers/Layer/WMS/Untiled.js b/lib/OpenLayers/Layer/WMS/Untiled.js index fcc4c2b858..1c3f0dd460 100644 --- a/lib/OpenLayers/Layer/WMS/Untiled.js +++ b/lib/OpenLayers/Layer/WMS/Untiled.js @@ -107,8 +107,6 @@ OpenLayers.Layer.WMS.Untiled.prototype = */ moveTo:function(bounds, zoomChanged, minor) { - - if (!minor) { if (bounds == null) { @@ -132,7 +130,7 @@ OpenLayers.Layer.WMS.Untiled.prototype = // update div var img = this.imgDiv; - if (this.transparent) { + if (this.params.TRANSPARENT == 'true') { OpenLayers.Util.modifyAlphaImageDiv(this.imgDiv, null, pos, @@ -206,7 +204,7 @@ OpenLayers.Layer.WMS.Untiled.prototype = var pos = this.map.getLayerPxFromViewPortPx(tl); //create div - if (this.transparent) { + if (this.params.TRANSPARENT == 'true') { this.imgDiv = OpenLayers.Util.createAlphaImageDiv(null, pos, size,