Table Of Contents

Previous topic


Next topic



class GeoExt.tree.OverlayLayerContainer

A layer container that will collect all overlay layers of an OpenLayers map. Only layers that have displayInLayerSwitcher set to true will be included. The childrens’ iconCls defaults to “gx-tree-layer-icon” and this node’ text defaults to “Overlays”.

To use this node type in TreePanel config, set nodeType to “gx_overlaylayercontainer”.

Config Options

Configuration properties in addition to those listed for Ext.tree.AsyncTreeNode.

layerStore The layer store containing layers to be displayed in the container. If loader is not provided or provided as Object, this property will be set as the store option of the loader. Otherwise it will be ignored.
GeoExt.tree.LayerLoader or Object The loader to use with this container. If an Object is provided, a GeoExt.tree.LayerLoader, configured with the the properties from the provided object, will be created.