Maps.draw.set_layer#

draw.set_layer(layer=None)#

Set the layer to which the final shape will be added. If None, the shape will always be added to the currently active layer.

Parameters:

layer (str or None) – The layer name.