Displays a stack of selected layers from the map. The main purpose is to enable to change layer stacking (display) order, supported by standard drag-and-drop, plus manipulating individual layer opacity.
Example config with a per layer opacity-slider.
{
xtype: 'hr_activelayerspanel',
height: 240,
flex: 3,
hropts: {
// Defines the custom component added under the standard layer node.
component : {
xtype: "gx_opacityslider",
showTitle: false,
plugins: new GeoExt.LayerOpacitySliderTip(),
width: 160,
inverse: false,
aggressive: false,
style: {
marginLeft: '18px'
}
}
}
}
Configuration properties in addition to those listed for Ext.tree.TreePanel.
default value is “Active Layers”.