Launches a compact Shiny gadget that lets you pick a projected sf object
from an environment, choose the region and label columns, adjust label,
connector, legend, label-filter, movement-context, colour, and static-output
settings, and interact with the D3 drag-map prototype inside the IDE viewer
pane. When you click Done, the current region and label offsets are
assigned as region_offsets and label_offsets in the same environment,
ready to pass to render_dragged_map().
Value
Invisibly returns a list with elements region_offsets,
label_offsets, and static_options. The offset data frames are also
assigned into env as region_offsets and label_offsets; static render
settings are assigned as dragmapr_static_options.
See also
drag_map_prototype() for the underlying HTML generator;
render_dragged_map() to reconstruct a static ggplot2 image from the
returned offsets.
