Name
RemoveLayer -- remove a layer (V1.5)
Synopsis
RemoveLayer(id)
Function
This function removes the layer or layer group specified by id. This is basically the same as the Undo() command with the exception that this function accepts layer ids directly. With Undo() you would have to specify a type, an id and maybe also an undo-level, now you can just specify the layer id which should be much more convenient.

You need to enable layers before you can use this function. See Layers introduction for details.

Inputs
id
identifier of layer or layer group to be removed

Show TOC