Heron.tree.MultiLayerNode¶
-
class
Heron.tree.MultiLayerNode(config)¶ A subclass of
GeoExt.tree.LayerNodethat is connected to multipleOpenLayers.Layerobjects by setting the node’slayersproperty 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
TreePanelconfig, setnodeTypeto “hr_multilayer”.
Config Options¶
Configuration properties in addition to those listed for GeoExt.tree.LayerNode.
-
layerNames OpenLayers.LayerThe layerNames that this node will be bound to.
-
layers OpenLayers.LayerThe layers that this node will be bound to.
Public Properties¶
Public properties in addition to those listed for GeoExt.tree.LayerNode.
-
MultiLayerNode.layerNames¶ StringThe array of layerNames’s that this Node manages.
-
MultiLayerNode.layers¶ OpenLayers.LayerThe array of LayerNode’s to delegate to.