This is an old revision of the document!


PHP's gd library is missing or unable to create PNG images

Insert Layer Map

Description

This functor inserts a layer in a map in a certain position with a given name.

Inputs

Name Type Description
Map Map Map where the layer will be inserted.
Layer Map Map whose first layer will be inserted in Map.
Layer Position Positive Int Position where the layer will be inserted in the map. If the position is higher than the current number of layers in the map, the new layer will be placed in the last position.

Optional Inputs

Name Type Description Default Value
Layer Name Name Name the layer will have in the map. A unique name is required. If None, an automatic unique name will be generated. None
Replace Layer Bool If true, replace the layer at the given position with the new layer. Otherwise, the layer located at the given position (and all following layers) is shifted to the next position to accommodate the new layer. False

Output

Name Type Description
Map Map Map containing the new layer.

Group

Internal Name

InsertMapLayer