Closed FelipeCarrillo closed 9 months ago
As the documentation states, ...
are passed on to leaflet::labelOptions
. Hence,
library(mapview)
library(leafem)
library(leaflet)
mapview(franconia) %>%
addStaticLabels(
label = franconia$NAME_ASCI,
noHide = TRUE,
direction = 'bottom',
textOnly = FALSE,
offset =c(5,7),
style = list(color='red')
)
does what we expect.
The offset argument seems to be ignored. Am I using offset the correct way?