mf_arrow | R Documentation |
Plot a north arrow.
mf_arrow(
pos = "topleft",
col = getOption("mapsf.fg"),
cex = 1,
adj = c(0, 0),
align,
adjust
)
pos |
position. It can be one of 'topleft', 'top','topright', 'right', 'bottomright', 'bottom','bottomleft', 'left', 'interactive' or a vector of two coordinates in map units (c(x, y)) |
col |
arrow color |
cex |
arrow size |
adj |
adjust the postion of the north arrow in x and y directions |
align |
object of class |
adjust |
deprecated, see align |
No return value, a north arrow is displayed.
mtq <- mf_get_mtq()
mf_map(mtq)
mf_arrow(pos = "topright")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.