I want to change the background color of my leaflet map:
My map:
leaflet(data = mapa) %>%
setView(lng = -50, lat = -15, zoom = 4) %>%
addPolygons(fillColor = ~colorNumeric(palette = "YlGn", domain = mapa$n)(n),
fillOpacity = 0.8,
color = "#BDBDBD",
weight = 1,
highlight = highlightOptions(
weight = 2,
color = "#666",
fillOpacity = 0.7,
bringToFront = TRUE),
label = ~paste0(UF, ": ", n),
popup = paste0("UF: ", mapa$UF,
"<br>Parlamentares: ", mapa$parlamentares,
"<br>Partidos: ", mapa$partidos))