class WMSLayer extends java.lang.Object
A WMSLayer is a way to draw one or more WMS layers on a Map.
 def wms = new WMS("http://localhost:8080/geoserver/ows?service=wms&version=1.1.1&request=GetCapabilities")
 def layer = new WMSLayer(wms, ["world:borders","world:cities"])
 def map = new Map(layers: [layer])
 map.render(new File("world_with_cities.png"))
  | Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            Bounds | 
                            getBounds()Get the Bounds 
  | 
                        
 | 
                            List | 
                            getLayers()Get the List of WMS.Layers 
  | 
                        
 | 
                            List | 
                            getMapLayers(Bounds bounds, List size) | 
                        
 | 
                            Projection | 
                            getProj()Get the Projection 
  | 
                        
 | 
                            java.lang.String | 
                            toString()The String representation @return  | 
                        
| Methods inherited from class | Name | 
|---|---|
class java.lang.Object | 
                            java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() | 
                        
Create a new WMSLayer
wms -  The WMS connection to a remote serverlayers -  The List of WMS.Layers or layer namesproj -  The Projection (EPSG:4326 is the default)Get the Bounds
Get the List of WMS.Layers
Get the Projection
The String representation @return