diff --git a/NAMESPACE b/NAMESPACE index a60246c84..31186b2ec 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -19,5 +19,5 @@ S3method(str, SpatRaster) S3method(str, SpatExtent) S3method(str, SpatGraticule) -export(add_box, add_legend, add_grid, focalMat, extractAlong, gdal, getGDALconfig, graticule, halo, setGDALconfig, map.pal, map_region, north, sbar, terraOptions, tmpFiles, makeVRT, mem_info, free_RAM, same.crs, shade, gdalCache, fileBlocksize, vector_layers, vrt_tiles, names, round) +export(add_box, add_legend, add_grid, focalMat, extractAlong, gdal, getGDALconfig, graticule, halo, setGDALconfig, map.pal, map_extent, north, sbar, terraOptions, tmpFiles, makeVRT, mem_info, free_RAM, same.crs, shade, gdalCache, fileBlocksize, vector_layers, vrt_tiles, names, round) diff --git a/R/clip.R b/R/clip.R index 5721484e5..2ebf1c237 100644 --- a/R/clip.R +++ b/R/clip.R @@ -36,7 +36,7 @@ reset.clip <- function() { } -map_region <- function() { +map_extent <- function() { get.clip() } diff --git a/man/terra-package.Rd b/man/terra-package.Rd index f50153a71..7faae6846 100644 --- a/man/terra-package.Rd +++ b/man/terra-package.Rd @@ -546,7 +546,7 @@ You can coerce SpatRasters to Raster* objects, after loading the \code{raster} p \code{\link{inset}} \tab Add a small inset (overview) map\cr \code{\link{add_legend}} \tab Add a legend to a map\cr \code{\link{add_box}} \tab Add a bounding box to a map\cr - \code{\link{map_region}} \tab Get the coordinates of a map's axes positions\cr + \code{\link{map_extent}} \tab Get the coordinates of a map's axes positions\cr \code{\link{dots}} \tab Make a dot-density map \cr \code{\link{cartogram}} \tab Make a cartogram \cr \code{\link{persp}} \tab Perspective plot of a SpatRaster \cr