source:
trunk/workshop-routing-foss4g/web/GeoExt/docs/_sources/lib/GeoExt/data/WMSCapabilitiesStore.txt
@
81
Revision 76, 1.4 KB checked in by djay, 12 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | |
2 | .. currentmodule:: GeoExt.data |
3 | |
4 | :class:`GeoExt.data.WMSCapabilitiesStore` |
5 | ================================================================================ |
6 | |
7 | |
8 | .. cssclass:: meta |
9 | |
10 | |
11 | Extends |
12 | * `Ext.data.Store <http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Store>`_ |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | .. class:: WMSCapabilitiesStore |
21 | |
22 | Small helper class to make creating stores for remote WMS layer data |
23 | easier. The store is pre-configured with a built-in |
24 | ``Ext.data.HttpProxy`` and :class:`GeoExt.data.WMSCapabilitiesReader`. |
25 | The proxy is configured to allow caching and issues requests via GET. |
26 | If you require some other proxy/reader combination then you'll have to |
27 | configure this with your own proxy or create a basic |
28 | :class:`GeoExt.data.LayerStore` and configure as needed. |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | Config Options |
35 | -------------- |
36 | |
37 | Configuration properties in addition to |
38 | those listed for `Ext.data.Store <http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Store>`_. |
39 | |
40 | |
41 | .. describe:: fields |
42 | |
43 | ``Array | Function`` |
44 | Either an Array of field definition objects as passed to |
45 | ``Ext.data.Record.create``, or a record constructor created using |
46 | ``Ext.data.Record.create``. Defaults to ``["name", "type"]``. |
47 | |
48 | .. describe:: format |
49 | |
50 | ``OpenLayers.Format`` |
51 | A parser for transforming the XHR response into an array of objects |
52 | representing attributes. Defaults to an ``OpenLayers.Format.WMSCapabilities`` |
53 | parser. |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |
61 | |
62 |
Note: See TracBrowser
for help on using the repository browser.