org.gwtopenmaps.openlayers.client.layer
Class WMSParams
java.lang.Object
org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.layer.Params
org.gwtopenmaps.openlayers.client.layer.WMSParams
public class WMSParams
- extends Params
The WMSParams correspond with parameters that can be specified
in the WMS request.
This differs from WMSOptions, which are options
that are set on the OL concept of a layer.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WMSParams
protected WMSParams(JSObject jsObject)
WMSParams
public WMSParams()
setLayers
public void setLayers(java.lang.String layers)
getLayers
public java.lang.String getLayers()
setStyles
public void setStyles(java.lang.String styles)
getStyles
public java.lang.String getStyles()
setFormat
public void setFormat(java.lang.String styles)
getFormat
public java.lang.String getFormat()
setMaxExtent
public void setMaxExtent(Bounds bounds)
getMaxExtent
public Bounds getMaxExtent()
setIsTransparent
public void setIsTransparent(boolean isTransparent)
- Set transparent parameter in WMS request. Default is false.
Within this method the value of the parameter will be set in uppercase,
since at least IONIC's WMS requires it to be in uppercase, in
accordance with the WMS Specification
The WMS 1.1.1 spec states:
"TRANSPARENT can take on two values, "TRUE" or "FALSE"."
and
"Parameter names shall not be case sensitive,
but parameter values shall be case sensitive."