Open this page in the API Guide
DataCubeCanvasService.deleteLayers Method
Deletes a layer from the current canvas. (Not used)
Parameters
- layerIdOrAdapter
-
Type: Array
ElementType: String or dundas.view.controls.Layer
Layer IDs or the adapters of the layer to delete.