I would like to add border to the CircleMarkers. I used the following code. I can't find any function to add black border to the stroke.
pal <- colorNumeric(palette = 'RdYlBu', domain = city_results$ratio)
m <- leaflet() %>%
addTiles() %>%
setView(lng = median(city_results$long),
lat = median(mean(city_results$lat)),
zoom = 8) %>%
addProviderTiles(providers$CartoDB) %>%
addCircleMarkers(data = city_results, lng = ~long, lat = ~lat,
radius = ~(Socioeconomic_status_group),
color = ~pal(ratio),
stroke = TRUE, fillOpacity = 0,
popup = ~as.character(nameH),
label = ~as.character(round(corr_value,2)),
labelOptions = labelOptions(noHide = T, textOnly = TRUE))