Where to insert the new layer.
Default: "top"
reference
The layer that serves as a reference point for insertion.
Can be specified either as a layer object or an id.
id
The reference must be a valid layer in the layer collection.
Where to insert the new layer.
Default: "top"
reference
layer.reference
layer.