OpenLayers OpenLayers

Changeset 1428

Show
Ignore:
Timestamp:
09/09/06 23:43:16 (2 years ago)
Author:
crschmidt
Message:

If isBaseLayer hasn't been set at all, it's undefined, not null.

Files:

Legend:

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

    r1424 r1428  
    4848        // unless explicitly set in options, if the layer is transparent,  
    4949        // it will be an overlay 
    50         if ((options == null) || (options.isBaseLayer == null)) { 
     50        if ((options == null) || !(options.isBaseLayer)) { 
    5151            this.isBaseLayer = ((this.params.TRANSPARENT != "true") &&  
    5252                                (this.params.TRANSPARENT != true));