CanvasService.createRemoveLayersCommand Method
Create a command that removes layers from the canvas.
Parameters
- layerIdsOrAdapters
-
Type: Array
ElementType: String
IDs of the layers, or the layer adapters to remove.
- notUndoable
-
Type: Boolean
(Optional)True to make this command not undoable.
Return Value
Type: Command
The command created.