make the same change as in r1209 to wms-untiled. make baselayeredness based on transparency (as it was before)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1226 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -22,10 +22,8 @@ OpenLayers.Layer.WMS.Untiled.prototype =
|
||||
},
|
||||
|
||||
|
||||
/** WMS.Untiled layer is never a base layer.
|
||||
* @type Boolean
|
||||
*/
|
||||
isBaseLayer: false,
|
||||
/** @type Boolean */
|
||||
isBaseLayer: null,
|
||||
|
||||
/** @type DOMElement */
|
||||
imgDiv: null,
|
||||
@@ -54,6 +52,11 @@ OpenLayers.Layer.WMS.Untiled.prototype =
|
||||
OpenLayers.Util.upperCaseObject(this.DEFAULT_PARAMS)
|
||||
);
|
||||
}
|
||||
|
||||
// if the layer is transparent, it will be an overlay
|
||||
this.isBaseLayer = ((this.params.TRANSPARENT != "true") &&
|
||||
(this.params.TRANSPARENT != true));
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user