Heron.tree.MultiLayerNode
¶
-
class
Heron.tree.
MultiLayerNode
(config)¶ A subclass of
GeoExt.tree.LayerNode
that is connected to multipleOpenLayers.Layer
objects by setting the node’slayers
property with multiple comma-separated layer names.Checking or unchecking the checkbox of this node will directly affect all layers and vice versa. The default iconCls for this node’s icon is “gx-tree-layer-icon”, unless it has children.
All methods will delegate to the superclassGeoExt.tree.LayerNode
.To use this node type in a
TreePanel
config, setnodeType
to “hr_multilayer”.
Config Options¶
Configuration properties in addition to those listed for GeoExt.tree.LayerNode.
-
layerNames
OpenLayers.Layer
The layerNames that this node will be bound to.
-
layers
OpenLayers.Layer
The layers that this node will be bound to.
Public Properties¶
Public properties in addition to those listed for GeoExt.tree.LayerNode.
-
MultiLayerNode.
layerNames
¶ String
The array of layerNames’s that this Node manages.
-
MultiLayerNode.
layers
¶ OpenLayers.Layer
The array of LayerNode’s to delegate to.