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:
@@ -47,8 +47,10 @@ OpenLayers.Layer.WMS.prototype =
|
|||||||
OpenLayers.Util.upperCaseObject(this.DEFAULT_PARAMS)
|
OpenLayers.Util.upperCaseObject(this.DEFAULT_PARAMS)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
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();
|
||||||
|
|||||||
Reference in New Issue
Block a user