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:
@@ -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) {
|
||||
var upperParams = OpenLayers.Util.upperCaseObject(params);
|
||||
var newArguments = [upperParams];
|
||||
OpenLayers.Layer.Grid.prototype.mergeNewParams.apply(this, newArguments);
|
||||
OpenLayers.Layer.Grid.prototype.mergeNewParams.apply(this,
|
||||
newArguments);
|
||||
|
||||
if (this.map != null) {
|
||||
this._initTiles();
|
||||
|
||||
Reference in New Issue
Block a user