NEWS
ggmapinset 0.5.0.9000
ggmapinset 0.5.0 (2026-03-25)
coerce_centre() is a new extension point needed by {ggautomap}.
- The
inset param of layer helpers and geom_sf_inset() no longer accepts NA.
Instead waiver() is used as the default, and NULL still disables the inset.
This should be updated in any extensions using build_sf_inset_layers().
geom_sf_inset() no longer draws the inset if inset = waiver() but there
is no inset configured on the coord.
- We now correctly declare the minimum supported R version.
ggmapinset 0.4.0 (2024-12-18)
- Added support for rectangular insets via
shape_rectangle().
- Added support for arbitrary insets via
shape_sf().
ggmapinset 0.3.0 (2023-04-28)
- Replaced the confusing
inset_clip and inset_copy parameters of
geom_sf_inset() with the new map_base and map_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(), and
geom_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).
ggmapinset 0.2.3 (2023-02-21)