set_mapping#

LayerMap.set_mapping(from_id, to_id)#

Create an entry in the layer map object.

Parameters:
from_id: int

Layer ID (key) “from” which to map with the to_id parameter.

to_id: int

Layer ID (value) “to” which to map with the from_id parameter.