source:
trunk/workshop-routing-foss4g/web/GeoExt/docs/_sources/lib/GeoExt/data/WMSCapabilitiesReader.txt
@
76
Revision 76, 1.8 KB checked in by djay, 12 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[76] | 1 | |
2 | .. currentmodule:: GeoExt.data | |
3 | ||
4 | :class:`GeoExt.data.WMSCapabilitiesReader` | |
5 | ================================================================================ | |
6 | ||
7 | ||
8 | .. cssclass:: meta | |
9 | ||
10 | ||
11 | Extends | |
12 | * `Ext.data.DataReader <http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.DataReader>`_ | |
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | .. class:: WMSCapabilitiesReader(meta, recordType) | |
21 | ||
22 | :param meta: ``Object`` Reader configuration from which: | |
23 | ``layerOptions`` is an optional object passed as default options | |
24 | to the ``OpenLayers.Layer.WMS`` constructor. | |
25 | ``layerParams`` is an optional set of parameters to pass into the | |
26 | ``OpenLayers.Layer.WMS`` constructor. | |
27 | :param recordType: ``Array | Ext.data.Record`` An array of field | |
28 | configuration objects or a record object. Default is | |
29 | :class:`GeoExt.data.LayerRecord` with the following fields: | |
30 | name, title, abstract, queryable, opaque, noSubsets, cascaded, | |
31 | fixedWidth, fixedHeight, minScale, maxScale, prefix, formats, | |
32 | styles, srs, dimensions, bbox, llbbox, attribution, keywords, | |
33 | identifiers, authorityURLs, metadataURLs. | |
34 | The type of these fields is the same as for the matching fields in | |
35 | the object returned from | |
36 | ``OpenLayers.Format.WMSCapabilities::read()``. | |
37 | ||
38 | Data reader class to create an array of | |
39 | :class:`GeoExt.data.LayerRecord` objects from a WMS GetCapabilities | |
40 | response. | |
41 | ||
42 | ||
43 | ||
44 | ||
45 | ||
46 | Config Options | |
47 | -------------- | |
48 | ||
49 | Configuration properties in addition to | |
50 | those listed for `Ext.data.DataReader <http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.DataReader>`_. | |
51 | ||
52 | ||
53 | .. describe:: attributionCls | |
54 | ||
55 | ``String`` CSS class name for the attribution DOM elements. | |
56 | Element class names append "-link", "-image", and "-title" as | |
57 | appropriate. Default is "gx-attribution". | |
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 |
Note: See TracBrowser
for help on using the repository browser.