making TRANSPARENT param values all UPPERCASE to conform to the WMS spec. r=bartvde (closes #3304)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11984 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -245,6 +245,10 @@ OpenLayers.Layer.WMS = OpenLayers.Class(OpenLayers.Layer.Grid, {
|
||||
} else {
|
||||
this.params.SRS = value;
|
||||
}
|
||||
|
||||
if (typeof this.params.TRANSPARENT == "boolean") {
|
||||
newParams.TRANSPARENT = this.params.TRANSPARENT ? "TRUE" : "FALSE";
|
||||
}
|
||||
|
||||
return OpenLayers.Layer.Grid.prototype.getFullRequestString.apply(
|
||||
this, arguments);
|
||||
|
||||
Reference in New Issue
Block a user