Configuration properties in addition to those listed for Ext.util.Observable.
Function A function, called in the scope of this loader, with a layer record as argument. Is expected to return true for layers to be loaded, false otherwise. By default, the filter checks for displayInLayerSwitcher:
filter: function(record) {
return record.getLayer().displayInLayerSwitcher == true
}
Public methods in addition to those listed for Ext.util.Observable.
Parameter: | attr – Object attributes for the new node |
---|
Override this function for custom TreeNode node implementation, or to modify the attributes at creation time.
Events in addition to those listed for Ext.util.Observable.
Triggered before loading children. Return false to avoid loading children.
Listener arguments:
loader - GeoExt.tree.LayerLoader this loader
configured with
Triggered after children wer loaded.
Listener arguments:
loader - GeoExt.tree.LayerLoader this loader
configured with