OpenLayers OpenLayers

Changeset 1225

Show
Ignore:
Timestamp:
08/15/06 20:33:25 (2 years ago)
Author:
euzuro
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Layer/WMS.js

    r1218 r1225  
    4848                           ); 
    4949        } 
    50          
    51         this.isBaseLayer = (this.params.TRANSPARENT != "true" && this.params.TRANSPARENT != true); 
     50 
     51        // if the layer is transparent, it will be an overlay         
     52        this.isBaseLayer = ((this.params.TRANSPARENT != "true") &&  
     53                            (this.params.TRANSPARENT != true)); 
    5254    },     
    5355 
     
    125127        var upperParams = OpenLayers.Util.upperCaseObject(params); 
    126128        var newArguments = [upperParams]; 
    127         OpenLayers.Layer.Grid.prototype.mergeNewParams.apply(this, newArguments); 
     129        OpenLayers.Layer.Grid.prototype.mergeNewParams.apply(this,  
     130                                                             newArguments); 
    128131 
    129132        if (this.map != null) {