new layerswitcher, improved google layer, boxes layer, grid fix
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1096 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -18,6 +18,14 @@ OpenLayers.Layer.WMS.prototype =
|
||||
format: "image/jpeg"
|
||||
},
|
||||
|
||||
/** WMS layer by default is a base layer.
|
||||
* If the user wishes to use a WMS as a datalayer, s/he needs only
|
||||
* set this property to false.
|
||||
*
|
||||
* @type Boolean
|
||||
*/
|
||||
isBaseLayer: true,
|
||||
|
||||
/**
|
||||
* @constructor
|
||||
*
|
||||
@@ -74,15 +82,7 @@ OpenLayers.Layer.WMS.prototype =
|
||||
|
||||
return obj;
|
||||
},
|
||||
|
||||
|
||||
/** WMS layer is never a base class.
|
||||
* @type Boolean
|
||||
*/
|
||||
isBaseLayer: function() {
|
||||
return (this.params.TRANSPARENT != 'true');
|
||||
},
|
||||
|
||||
|
||||
/**
|
||||
* addTile creates a tile, initializes it, and
|
||||
* adds it to the layer div.
|
||||
|
||||
Reference in New Issue
Block a user