org.gwtopenmaps.openlayers.client.layer
Class WMSParams

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.layer.Params
          extended by 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

Constructor Summary
  WMSParams()
           
protected WMSParams(JSObject jsObject)
           
 
Method Summary
 String getFormat()
           
 String getLayers()
           
 Bounds getMaxExtent()
           
 String getStyles()
           
 void setFormat(String styles)
           
 void setIsTransparent(boolean isTransparent)
          Set transparent parameter in WMS request.
 void setLayers(String layers)
           
 void setMaxExtent(Bounds bounds)
           
 void setStyles(String styles)
           
 
Methods inherited from class org.gwtopenmaps.openlayers.client.layer.Params
setParameter
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
getJSObject, setJSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSParams

protected WMSParams(JSObject jsObject)

WMSParams

public WMSParams()
Method Detail

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.