Description Usage Arguments Value Examples
View source: R/getframe.R
Make a frame around the map.
1
getframe(x)
x
an sf object.
1 2 3 4 5
library(sf) us <- st_read(system.file("us.gpkg", package="mapextrud")) f <- getframe(us) plot(st_geometry(f)) plot(st_geometry(us), add = TRUE)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.