I have a simple question but still do not know how to find the answer to it. All I need is to add a title to the leaflet map. I do not need it to me on the map, just above it as in a usual ggplot map.
My code is:
map <- leaflet(data_counts) %>%
addTiles() %>%
addCircleMarkers(lng=data_counts$Long, lat=data_counts$Lat,
color="#2c4f54", fillOpacity=0.6,
stroke = FALSE,
radius=~sqrt(NumObs)/pi*10,
label=~paste(data_counts$`Birth place...14`), labelOptions = labelOptions(noHide = F))
I have tried different options but still no success