OpenLayers OpenLayers

Ticket #678: 678.patch

File 678.patch, 0.7 kB (added by sderle, 1 year ago)

compromise... can't use toLowerCase easily because the value might be boolean, not string

  • lib/OpenLayers/Layer/WMS.js

    old new  
    4747        // unless explicitly set in options, if the layer is transparent,  
    4848        // it will be an overlay 
    4949        if (options == null || options.isBaseLayer == null) { 
    50             this.isBaseLayer = ((this.params.TRANSPARENT != "true") &&  
     50            this.isBaseLayer = ((this.params.TRANSPARENT != "TRUE") &&  
     51                                (this.params.TRANSPARENT != "true") &&  
    5152                                (this.params.TRANSPARENT != true)); 
    5253        } 
    5354    },