Plot an invisible layer with the extent of a spatial object.

mf_init(x, expandBB = rep(0, 4), theme)

Arguments

x

object of class sf, sfc or Raster

expandBB

fractional values to expand the bounding box with, in each direction (bottom, left, top, right)

theme

apply a theme from mf_theme

Value

No return value, a map is initiated.

Examples

mtq <- mf_get_mtq() target <- mtq[30, ] mf_init(target)
mf_map(mtq, add = TRUE)