OpenLayers OpenLayers

Changeset 1226

Show
Ignore:
Timestamp:
08/15/06 21:04:07 (2 years ago)
Author:
euzuro
Message:

make the same change as in r1209 to wms-untiled. make baselayeredness based on transparency (as it was before)

Files:

Legend:

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

    r1206 r1226  
    2323 
    2424     
    25     /** WMS.Untiled layer is never a base layer.  
    26      * @type Boolean 
    27      */ 
    28     isBaseLayer: false, 
     25    /** @type Boolean */ 
     26    isBaseLayer: null, 
    2927     
    3028    /** @type DOMElement */ 
     
    5553                           ); 
    5654        } 
     55 
     56        // if the layer is transparent, it will be an overlay         
     57        this.isBaseLayer = ((this.params.TRANSPARENT != "true") &&  
     58                            (this.params.TRANSPARENT != true)); 
     59 
    5760    },     
    5861