- Added support for rectangular insets via
shape_rectangle()
. - Added support for arbitrary insets via
shape_sf()
.
- Replaced the confusing
inset_clip
andinset_copy
parameters ofgeom_sf_inset()
with the newmap_base
andmap_inset
parameters. - Inset frame aesthetics can now be specified consistently.
- A default inset configuration can be passed to
coord_sf_inset()
to avoid repeating it for every layer. - Insets are now based on
stat_sf_inset()
which correctly adjusts the coordinate limits and computes some inset-related variables for downstream use. - The new
stat_sf_coordinates_inset()
,geom_sf_text_inset()
, andgeom_sf_label_inset()
labels complete the coverage of sf-related layers. - Added
transform_to_inset()
helper for applying the inset transformation to arbitrary geometries (for extension developers).
- Initial CRAN release.