Plot a shadow
Plot the shadow of a polygon layer.
mf_shadow(x, col = "grey50", cex = 1, add = FALSE)
x
: an sf or sfc polygon objectcol
: shadow colorcex
: shadow extentadd
: whether to add the layer to an existing plot (TRUE) or not (FALSE)x is (invisibly) returned.
mtq <- mf_get_mtq() mf_shadow(mtq) mf_map(mtq, add = TRUE)