Commit 5630dca0 authored by Virgile Baudrot's avatar Virgile Baudrot

re-test

parent 411f11cf
Pipeline #1894 passed with stages
in 3 minutes and 30 seconds
......@@ -309,13 +309,13 @@ server <- function(input, output, session){
output$mapImmunity <- renderLeaflet({
# pal = palImmunity()
leaflet(data = dataImmunity()) %>%
leaflet(data = mapFranceDepartement) %>%
addTiles() %>%
fitBounds(~-5.142238, ~42.332755, ~8.231781, ~51.089842) %>%
addLegend(position = "bottomright",
title = "Rate immunity",
pal = palImmunity(),
values = ~ unlist(immun_M3_k))
values = ~ unlist(immun_M3_k))
})
#
# Use a separate observer to recreate polygons as needed.
......@@ -327,7 +327,8 @@ server <- function(input, output, session){
proxy %>%
addPolygons(data = dataImmunity(),
# color = ~colorpal(Rt_immunity),
color
= ~colorpal(Rt_immunity),
fillOpacity = 0.7)
})
......
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