A subclass of Ext.tree.TreeNode that is connected to an OpenLayers.Layer by setting the node’s layer property. Checking or unchecking the checkbox of this node will directly affect the layer and vice versa. The default iconCls for this node’s icon is “gx-tree-layer-icon”, unless it has children.
Setting the node’s layer property to a layer name instead of an object will also work. As soon as a layer is found, it will be stored as layer property in the attributes hash.
The node’s text property defaults to the layer name.
If the node has a checkedGroup attribute configured, it will be rendered with a radio button instead of the checkbox. The value of the checkedGroup attribute is a string, identifying the options group for the node.
To use this node type in a TreePanel config, set nodeType to “gx_layer”.
Configuration properties in addition to those listed for Ext.tree.TreeNode.
Public properties in addition to those listed for Ext.tree.TreeNode.