Strange behavior with "border" argument
Hello, First, thanks for your work and your nice package ! We discovered a strange behavior and we want to notice it, maybe it could be useful.
Here's a "typo" map where we want to color both areas and borders according to a variable. However, the border argument behaves strangely when a vector with several colors is specified: the border colors don't follow the variable specified in the "var" argument.
library(mapsf) mtq <- mf_get_mtq() mf_map( mtq, "STATUS", "typo", pal = c("red", "blue", "green"), border = c("red", "blue", "green") )
we guess border isn't designed to introduce a vector with several color values? However, the fact that the function accepts this type of vector is confusing. If it doesn't require too much work, it would be useful if the border color could also follow the variable.
Thank you,
Joël Girès