Open this page in the API Guide
DataCubeCanvasService.setSelectedLayers Method
Set the selected layers.
Parameters
- layerIdsOrAdapters
-
Type: Array
ElementType: String or dundas.view.controls.Layer
Array of layerId or layer adapters to set as selected layers.