wms is not a base layer if it is transparent

git-svn-id: http://svn.openlayers.org/trunk/openlayers@629 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-06-20 22:31:44 +00:00
parent 8ef2cc58d5
commit 7ebaf2a630

View File

@@ -38,6 +38,14 @@ OpenLayers.Layer.WMS.prototype =
);
}
},
/** WFS layer is never a base class.
* @type Boolean
*/
isBaseLayer: function() {
return (this.params.TRANSPARENT != true);
},
/**
* @param {String} name