drag_map_prototype() gains an optional
transition argument: the browser helper runs one
client-side leaf-flip branch animation for parent-to-child bloom and
child-to-parent unbloom, and draws a dotted group-drag boundary per
expanded group. Clicking a boundary posts a
dragmapr-collapse-branch message to the embedding page, or
resets the branch when the helper runs standalone; a plain click on a
region posts dragmapr-region-click.inst/examples/branch-bloom-tester.R Shiny example
isolates the branch-bloom helper so clean bloom and leaf-flip behavior
can be tested without the full Spatial Studio shell.inst/cheatsheets/ covers the
core workflow, labels, static rendering, Spatial Studio, hierarchy/bloom
helpers, CRS diagnostics, layout snapshots, and transition
utilities.detect_hierarchy_columns(),
recommend_dragmapr_hierarchy(),
validate_bloom_hierarchy(),
build_branch_transition_data(),
make_branch_bloom_labels(),
summarise_spatial_crs(), and
profile_spatial_upload() move parent/child detection, CRS
meaning, branch-bloom data prep, and safe parent-first label setup into
reusable package functions.COUNTY_NAM instead
of COUNTY).Initial CRAN release.
drag_map_prototype() writes a self-contained D3 browser
helper where grouped sf regions, labels, and annotation
boxes can be dragged freely. It exports region and label offset
CSVs.render_dragged_map() reconstructs the dragged layout as
a ggplot2 image from the source geometry plus offset
tables.render_dragmapr_project() renders a complete Spatial
Studio project bundle (ZIP) in one call.make_region_labels(), as_drag_labels(),
and as_drag_annotations() build label tables;
read_label_state() and apply_label_state()
restore saved label positions.read_offsets() and apply_offsets() handle
region offset I/O.read_dragmapr_sf_upload(),
read_dragmapr_sf_url(), and
prepare_dragmapr_sf() read and normalise spatial files for
Shiny workflows.dragmapr_iframe_bridge() provides the JavaScript bridge
for relaying drag state from the helper iframe back to Shiny
inputs.dragmapr_addin() registers an RStudio gadget under
Addins > Launch dragmapr that embeds the prototype
in the viewer pane and assigns region_offsets and
label_offsets to the target environment on completion
(.GlobalEnv when launched from the RStudio Addins
menu).legend_values and label_values,
preserving stored offsets for hidden labels.%||% is defined for
the RStudio addin, prototype output defaults to a temporary HTML file
unless file is supplied, connector linetypes are validated
in static exports, the Shiny iframe bridge stops polling on
disconnect/unload, CRS-less inputs warn before assuming the target CRS,
legacy label helper aliases emit deprecation warnings, and the bundled
D3 license is included under inst/prototype/.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.