JMap.Map.Selection.clearSelection
Clear all selection.
If a layer id is provided, clear only the layer selection, else clear selection of all layers.
Optional
The JMap layer id
Error if a layer id is provided but not found
// Clear selection of layer 4JMap.Map.Selection.clearSelection(4)// Clear selection of all layersJMap.Map.Selection.clearSelection() Copy
// Clear selection of layer 4JMap.Map.Selection.clearSelection(4)// Clear selection of all layersJMap.Map.Selection.clearSelection()
JMap.Map.Selection.clearSelection
Clear all selection.
If a layer id is provided, clear only the layer selection, else clear selection of all layers.