source:
trunk/workshop-routing-foss4g/web/GeoExt/docs/_sources/lib/GeoExt/widgets/tree/OverlayLayerContainer.txt
@
76
Revision 76, 1.4 KB checked in by djay, 12 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | |
2 | .. currentmodule:: GeoExt.tree |
3 | |
4 | :class:`GeoExt.tree.OverlayLayerContainer` |
5 | ================================================================================ |
6 | |
7 | |
8 | .. cssclass:: meta |
9 | |
10 | |
11 | Extends |
12 | * `Ext.tree.AsyncTreeNode <http://dev.sencha.com/deploy/dev/docs/?class=Ext.tree.AsyncTreeNode>`_ |
13 | * :class:`GeoExt.tree.LayerContainer` |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | .. class:: OverlayLayerContainer |
21 | |
22 | A layer container that will collect all overlay layers of an OpenLayers |
23 | map. Only layers that have displayInLayerSwitcher set to true will be |
24 | included. |
25 | |
26 | To use this node type in ``TreePanel`` config, set nodeType to |
27 | "gx_overlaylayercontainer". |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | Config Options |
34 | -------------- |
35 | |
36 | Configuration properties in addition to |
37 | those listed for `Ext.tree.AsyncTreeNode <http://dev.sencha.com/deploy/dev/docs/?class=Ext.tree.AsyncTreeNode>`_. |
38 | |
39 | |
40 | .. describe:: layerStore |
41 | |
42 | :class:`GeoExt.data.LayerStore` The layer store containing layers to be |
43 | displayed in the container. If loader is not provided or provided as |
44 | ``Object``, this property will be set as the store option of the |
45 | loader. Otherwise it will be ignored. |
46 | |
47 | .. describe:: loader |
48 | |
49 | :class:`GeoExt.tree.LayerLoader` or ``Object`` The loader to use with |
50 | this container. If an ``Object`` is provided, a |
51 | :class:`GeoExt.tree.LayerLoader`, configured with the the properties |
52 | from the provided object, will be created. |
53 | |
54 | |
55 | |
56 | |
57 | |
58 | |
59 | |
60 | |
61 |
Note: See TracBrowser
for help on using the repository browser.