Ticket #3304 (closed bug: fixed)
TRANSPARENT value violates WMS standard
| Reported by: | ahocevar | Owned by: | euzuro |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.11 Release |
| Component: | Layer.WMS | Version: | 2.10 |
| Keywords: | Cc: | ||
| State: | Commit |
Description
The WMS standard (confirmed for 1.1.1 and 1.3.0) demands that the TRANSPARENT param has two valid values, "TRUE" and "FALSE". OpenLayers uses "true" and "false".
From the WMS 1.1.1 spec:
6.4.1 Parameter Ordering and Case
Parameter names shall not be case sensitive, but parameter values shall be case sensitive. In this document, parameter names are typically shown in uppercase for typographical clarity, not as a requirement.
7.2.3.9 TRANSPARENT
The optional TRANSPARENT parameter specifies whether the map background is to be made transparent or not. TRANSPARENT can take on two values, "TRUE" or "FALSE". The default value is FALSE if this parameter is absent from the request.

