new LayersTree()
A store that is synchronized with a GeoExt.data.store.Layers. It can be
used by an {Ext.tree.Panel}.
- Source:
Members
(static) inverseLayerOrder
Defines if the order of the layers added to the store will be
reversed. The default behaviour and what most users expect is
that mapLayers on top are also on top in the tree.
Properties:
Name | Type | Description |
---|---|---|
inverseLayerOrder |
boolean | Reverse order of layers in tree |
- Source:
(static) proxy
- Source:
Methods
(static) addLayerNode(layerOrGroup)
Adds a layer as a node to the store. It can be an `ol.layer.Base`.
Parameters:
Name | Type | Description |
---|---|---|
layerOrGroup |
ol.layer.Base | The layer or layer group to add. |
- Source:
(static) constructor()
Constructs a LayersTree store.
- Source:
(static) resumeCollectionEvents()
Undoes the effect of #suspendCollectionEvents; so that the store is now
listening to change events on the underlying OpenLayers collections
again.
- Source:
(static) suspendCollectionEvents()
Allows for temporarily unlistening to change events on the underlying
OpenLayers collections. Use #resumeCollectionEvents to start listening
again.
- Source: