Apply a dragmapr state to sf geometry
Usage
apply_dragmapr_state(
x,
state,
region_col = NULL,
base_offsets = NULL,
ancestor_offsets = NULL
)Arguments
- x
An
sfobject.- state
A
dragmapr_stateobject.- region_col
Column in
xdefining draggable groups. Defaults to the binding metadata stored instate.- base_offsets
Optional algorithmic base movement accepted by
compose_offsets().- ancestor_offsets
Optional inherited movement accepted by
compose_offsets().
