mf_arrow: Plot a north arrow

View source: R/mf_arrow.R

mf_arrowR Documentation

Plot a north arrow

Description

Plot a north arrow.

Usage

mf_arrow(pos = "topleft", col, cex = 1, adj = c(0, 0), align)

Arguments

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 sf or sfc used to adjust the arrow to the real north

Value

No return value, a north arrow is displayed.

Examples

mtq <- mf_get_mtq()
mf_map(mtq)
mf_arrow(pos = "topright")

riatelab/mapsf documentation built on June 9, 2025, 10:07 p.m.