add an informational comment and do a little coding standards cleanup. no functional change here

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1225 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-16 00:33:25 +00:00
parent 930055ac19
commit f904f2ed15

View File

@@ -48,7 +48,9 @@ OpenLayers.Layer.WMS.prototype =
); );
} }
this.isBaseLayer = (this.params.TRANSPARENT != "true" && this.params.TRANSPARENT != true); // if the layer is transparent, it will be an overlay
this.isBaseLayer = ((this.params.TRANSPARENT != "true") &&
(this.params.TRANSPARENT != true));
}, },
/** /**
@@ -124,7 +126,8 @@ OpenLayers.Layer.WMS.prototype =
mergeNewParams:function(params) { mergeNewParams:function(params) {
var upperParams = OpenLayers.Util.upperCaseObject(params); var upperParams = OpenLayers.Util.upperCaseObject(params);
var newArguments = [upperParams]; var newArguments = [upperParams];
OpenLayers.Layer.Grid.prototype.mergeNewParams.apply(this, newArguments); OpenLayers.Layer.Grid.prototype.mergeNewParams.apply(this,
newArguments);
if (this.map != null) { if (this.map != null) {
this._initTiles(); this._initTiles();