From 7ebaf2a630338b91f20242dacaba7776cd262949 Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 20 Jun 2006 22:31:44 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Layer/WMS.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/OpenLayers/Layer/WMS.js b/lib/OpenLayers/Layer/WMS.js index 17e3d12cae..6c01f8cd51 100644 --- a/lib/OpenLayers/Layer/WMS.js +++ b/lib/OpenLayers/Layer/WMS.js @@ -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