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.
- Author:
- Erdem Gunay, Edwin Commandeur
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(String layers)
getLayers
public String getLayers()
setStyles
public void setStyles(String styles)
getStyles
public String getStyles()
setFormat
public void setFormat(String styles)
getFormat
public 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."
Copyright © 2011 sourceforge. All Rights Reserved.