LayerManager.deleteLayers Method

Remove layers, and then select the next lower layer.
 

Parameters

layersToDelete

Type: Array
ElementType: String
(Optional) The IDS of layers to remove. Delete all when null.