mf_shadow {mapsf}R Documentation

Plot a shadow

Description

Plot the shadow of a polygon layer.

Usage

mf_shadow(x, col = "grey50", cex = 1, add = FALSE)

Arguments

x

an sf or sfc polygon object

col

shadow color

cex

shadow extent

add

whether to add the layer to an existing plot (TRUE) or not (FALSE)

Value

x is (invisibly) returned.

Examples

mtq <- mf_get_mtq()
mf_shadow(mtq)
mf_map(mtq, add = TRUE)

[Package mapsf version 0.11.0 Index]