powered by
Find the optimal for one or two legends. The optimal position is a position that minimizes overlap between a spatial object and a legend.
mf_get_leg_pos(x, n = 1)
A vector of position is returned
object of class sf
sf
number of positions to get (1 or 2)
mtq <- mf_get_mtq() mf_get_leg_pos(mtq)
Run the code above in your browser using DataLab