OpenLayers OpenLayers

Ticket #678: transparent_case_patch.txt

File transparent_case_patch.txt, 1.4 kB (added by openlayers, 2 years ago)

TRANSPARENT case patch

Line 
1 Index: F:/openlayers/lib/OpenLayers/Layer/WMS.js
2 ===================================================================
3 --- F:/openlayers/lib/OpenLayers/Layer/WMS.js   (revision 3089)
4 +++ F:/openlayers/lib/OpenLayers/Layer/WMS.js   (working copy)
5 @@ -47,7 +47,7 @@
6          // unless explicitly set in options, if the layer is transparent,
7          // it will be an overlay
8          if (options == null || options.isBaseLayer == null) {
9 -            this.isBaseLayer = ((this.params.TRANSPARENT != "true") &&
10 +            this.isBaseLayer = ((this.params.TRANSPARENT != "TRUE") &&
11                                  (this.params.TRANSPARENT != true));
12          }
13      },   
14 Index: F:/Kevin/java/openlayers/lib/OpenLayers/Layer/WMS/Untiled.js
15 ===================================================================
16 --- F:/openlayers/lib/OpenLayers/Layer/WMS/Untiled.js   (revision 3089)
17 +++ F:/openlayers/lib/OpenLayers/Layer/WMS/Untiled.js   (working copy)
18 @@ -57,7 +57,7 @@
19          // unless explicitly set in options, if the layer is transparent,
20          // it will be an overlay       
21          if ((options == null) || (options.isBaseLayer == null)) {
22 -            this.isBaseLayer = ((this.params.TRANSPARENT != "true") &&
23 +            this.isBaseLayer = ((this.params.TRANSPARENT != "TRUE") &&
24                                  (this.params.TRANSPARENT != true));
25          }
26      },