Heron.widgets.ActiveThemesPanel
¶
-
class
Heron.widgets.
ActiveThemesPanel
(config)¶
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 functions.
Example config with a per layer opacity-slider.
{
xtype: 'hr_activethemespanel',
height: 240,
flex: 3,
hropts: {
// Defines the custom components added with the standard layer node.
showOpacity: true, // true - layer opacity icon / function
showTools: false, // true - layer tools icon / function (not jet completed)
showRemove: false // true - layer remove icon / function
}
}
Config Options¶
Configuration properties in addition to those listed for Ext.tree.TreePanel.
-
contextMenu
Context menu (right-click) for layer nodes, for now instance of Heron.widgets.LayerNodeContextMenu. Default value is null.
-
qtip_down
default value is “Move down”.
-
qtip_opacity
default value is “Opacity”.
-
qtip_remove
default value is “Remove layer from list”.
-
qtip_tools
default value is “Tools”.
-
qtip_up
default value is “Move up”.
-
title
default value is “Active Themes”.