source:
trunk/workshop-routing-foss4g/web/GeoExt/docs/_sources/lib/GeoExt/widgets/tree/BaseLayerContainer.txt
@
76
Revision 76, 1.5 KB checked in by djay, 11 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | |
2 | .. currentmodule:: GeoExt.tree |
3 | |
4 | :class:`GeoExt.tree.BaseLayerContainer` |
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:: BaseLayerContainer |
21 | |
22 | A layer container that will collect all base layers of an OpenLayers |
23 | map. Only layers that have displayInLayerSwitcher set to true will be |
24 | included. The childrens' iconCls defaults to "gx-tree-baselayer-icon". |
25 | |
26 | Children will be rendered with a radio button instead of a checkbox, |
27 | showing the user that only one base layer can be active at a time. |
28 | |
29 | To use this node type in ``TreePanel`` config, set nodeType to |
30 | "gx_baselayercontainer". |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | Config Options |
37 | -------------- |
38 | |
39 | Configuration properties in addition to |
40 | those listed for `Ext.tree.AsyncTreeNode <http://dev.sencha.com/deploy/dev/docs/?class=Ext.tree.AsyncTreeNode>`_. |
41 | |
42 | |
43 | .. describe:: layerStore |
44 | |
45 | :class:`GeoExt.data.LayerStore` The layer store containing layers to be |
46 | displayed in the container. If loader is not provided or provided as |
47 | ``Object``, this property will be set as the store option of the |
48 | loader. Otherwise it will be ignored. |
49 | |
50 | .. describe:: loader |
51 | |
52 | :class:`GeoExt.tree.LayerLoader` or ``Object`` The loader to use with |
53 | this container. If an ``Object`` is provided, a |
54 | :class:`GeoExt.tree.LayerLoader`, configured with the the properties |
55 | from the provided object, will be created. |
56 | |
57 | |
58 | |
59 | |
60 | |
61 | |
62 | |
63 | |
64 |
Note: See TracBrowser
for help on using the repository browser.