Class framework.form.LayersComboBox
Extends
Ext.form.ComboBox.
Creates a Combo to select the active layer of the map.
Defined in: LayersComboBox.js.
Class Summary
| Constructor Attributes |
Constructor Name and Description |
| |
Combo to select the active layer of the map.
|
Field Summary
| Field Attributes |
Field Name and Description |
| |
private: property[groupName]
group name filter,
|
| |
private: property[layers]
layers object that populate the comboBox ,
|
| |
private: property[order]
Groups order on comboBox,
|
Method Summary
| Method Attributes |
Method Name and Description |
| |
Selects a layer and activates it on the map
|
Class Detail
framework.form.LayersComboBox()
Combo to select the active layer of the map.
This implementation, by default, place a comboBox on the center of the map.
The component shoult be put inside a panel to customize position inside the map.
Field Detail
{String}
groupName
private: property[groupName]
group name filter,
{[object] array of layers}
layers
private: property[layers]
layers object that populate the comboBox ,
{[String]}
order
private: property[order]
Groups order on comboBox,
Method Detail
selectLayer(name, background, focusSelected)
Selects a layer and activates it on the map
- Parameters:
-
{String} name
- name of the layer to select
-
{String} background
- background color to apply (if it's undefined service's background color
or default will be used)
-
{bpolean} focusSelected
- if true, the change will be propagated to the combobox,
so layer name will be shown on the component. This parameter should be false only in
module initialization