JMap.Application.Selection.activateSelectionType
Changes the current type of selection
The new selection type to apply
JMap.Application.Selection.clearSelection
Clears the current selection
JMap.Application.Selection.clearSelectionForLayer
Unselects all features for a given layer id.
the JMap layer id
JMap.Application.Selection.closeTableTab
Closes the selection table tab.
If the table is not visible, or not opened in another tab, do nothing.
If the table is opened in another tab, close the tab and display the table over the map.
JMap.Application.Selection.exportAsExcelFile
Exports the current selection as an excel file.
If no selection, export an empty file.
JMap.Application.Selection.fitMapToDisplayLayerSelection
Pans and zooms the map to display the current selection.
optional options
JMap.Application.Selection.getActiveSelectionType
Returns the current active type of selection
JMap.Application.Selection.getDisplayedLayerId
The selection of only one layer can be diplayed at a time.
This function returns the id of the layer for which the selection is displayed.
JMap.Application.Selection.getTableVisibility
Returns true if the selection data table is diaplayed.
JMap.Application.Selection.isTableDisplayedInTab
Returns true if the selection table is displayed in an external browser tab.
JMap.Application.Selection.openTableInTab
Displays the selection table in another tab.
If the table is not visible, make it visible.
JMap.Application.Selection.selectFromFeature
Selects features on the map that intersect the given feature.
the given feature
if not provided the method use
JMap.Application.Selection.setDisplayedLayerId
Displays the selection of the layer.
If layer selection has no selection, hides the layer selection list.
JMap.Application.Selection.getTableVisibility
Hides or shows the selection data table.
JMap.Application.Selection
You can manage the application selection tools here.