GeoExt

Table Of Contents

Previous topic

GeoExt.data.WMSCapabilitiesReader

Next topic

GeoExt.data.WMSDescribeLayerReader

GeoExt.data.WMSCapabilitiesStore

Extends
class GeoExt.data.WMSCapabilitiesStore
Small helper class to make creating stores for remote WMS layer data easier. The store is pre-configured with a built-in Ext.data.HttpProxy and GeoExt.data.WMSCapabilitiesReader. The proxy is configured to allow caching and issues requests via GET. If you require some other proxy/reader combination then you’ll have to configure this with your own proxy or create a basic GeoExt.data.LayerStore and configure as needed.

Config Options

Configuration properties in addition to those listed for Ext.data.Store.

fields
Array | Function Either an Array of field definition objects as passed to Ext.data.Record.create, or a record constructor created using Ext.data.Record.create. Defaults to ["name", "type"].
format
OpenLayers.Format A parser for transforming the XHR response into an array of objects representing attributes. Defaults to an OpenLayers.Format.WMSCapabilities parser.