# GeoExt

### Navigation

- GeoExt »
- API Reference »
- Widgets »
- `GeoExt.tree.WMSCapabilitiesLoader`

# `GeoExt.tree.WMSCapabilitiesLoader`

Extends
  - Ext.tree.TreeLoader

class `GeoExt.tree.``WMSCapabilitiesLoader`
  A loader that will load create a tree of all layers of a Web Map Service (WMS), maintaining its tree structure. Nodes created by this loader are instances of `Ext.tree.TreeNode`. If the WMS Capabilities advertise a name for a layer, an OpenLayers.Layer.WMS instance will be set on the node in its `layer` attribute.

## Config Options

Configuration properties in addition to those listed for Ext.tree.TreeLoader.

`layerOptions`
  `Object` Optional options to set on the WMS layers which will be created by this loader.

`layerParams`
  `Object` Optional parameters to set on the WMS layers which will be created by this loader.

`url`
  `String` The online resource of the Web Map Service.

### Navigation

- index
- modules |
- next |
- previous |
- GeoExt »
- API Reference »
- Widgets »
- `GeoExt.tree.WMSCapabilitiesLoader`