Commit 791b9982 authored by vbaudrot's avatar vbaudrot

test 2 immunity

parent aed8d036
Pipeline #1890 passed with stages
in 3 minutes and 13 seconds
......@@ -302,18 +302,18 @@ server <- function(input, output, session){
return(mapFranceDepartement) # return
})
# palImmunity <- colorNumeric(palette = "YlOrRd",
# domain = unlist(immun_M3_k))
#
# output$mapImmunity <- renderLeaflet({
# leaflet(data = dataImmunity()) %>%
# addTiles() %>%
# fitBounds(~-5.142238, ~42.332755, ~8.231781, ~51.089842) %>%
# addLegend(position = "bottomright",
# title = "Rate immunity",
# pal = palImmunity,
# values = ~unlist(immun_M3_k))
# })
palImmunity <- colorNumeric(palette = "YlOrRd",
domain = unlist(immun_M3_k))
output$mapImmunity <- renderLeaflet({
leaflet(data = dataImmunity()) %>%
addTiles() %>%
fitBounds(~-5.142238, ~42.332755, ~8.231781, ~51.089842) %>%
addLegend(position = "bottomright",
title = "Rate immunity",
pal = palImmunity,
values = ~unlist(immun_M3_k))
})
#
# # Use a separate observer to recreate polygons as needed.
# observe({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment