Page tree
Skip to end of metadata
Go to start of metadata

removeLayer(layerOrPosition)

Description

Function to remove a layer from the specified layer. For example, this.parent specifies the parent layer of the script module as the layer that contains the layer to be removed. The layer is determined by its Layer object or its position. You can use getLayer or findLayers to determine the Layer object. The position is the number indexing the layers within the specified layer.

Available in: Controller.

Arguments

layerOrPositionThe Layer object or the position of the layer to be removed.Layer or number

Example

4 Comments

    1. Im letzten Satz der Description müsste es doch "the" statt "a layer" heißen. Oder?

    2. Please reread. Thanks!