Usage
tm_add_legend(type = c("fill", "symbol", "text", "line"), labels = NULL, col = NULL, size = NULL, shape = NULL, lwd = NULL, lty = NULL, text = NULL, alpha = NA, border.col = "black", border.lwd = 1, border.alpha = NA, title = "", is.portrait = TRUE, z = NA)
Arguments
type
type of legend. One of "fill"
, "symbol"
, "text"
, or "line"
size
legend symbol sizes (if type=="symbol"
)
shape
legend symbol shapes (if type=="symbol"
)
lwd
legend line widths (if type=="line"
)
lty
legend line types (if type=="line"
)
text
legend texts (if type=="text"
)
alpha
legend fill transparancy
border.col
legend border col (if type
is "fill"
or "symbol"
)
border.lwd
legend border width (if type
is "fill"
or "symbol"
)
border.alpha
legend border alpha (if type
is "fill"
or "symbol"
)
is.portrait
is legend portrait (TRUE
) or landscape (FALSE
)