mirror of
https://github.com/dylanbenzi/hurricane_normalization_app.git
synced 2026-07-30 05:08:57 +00:00
modify leaflet popup to fix missing error
This commit is contained in:
+2
-2
@@ -856,7 +856,7 @@ output$growth_map <- renderLeaflet({
|
|||||||
color = "red",
|
color = "red",
|
||||||
fillOpacity = ~population_opacity,
|
fillOpacity = ~population_opacity,
|
||||||
weight = 2,
|
weight = 2,
|
||||||
popup = ~ name
|
popup = ~paste(name)
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
map <- map %>%
|
map <- map %>%
|
||||||
@@ -866,7 +866,7 @@ output$growth_map <- renderLeaflet({
|
|||||||
color = "blue",
|
color = "blue",
|
||||||
fillOpacity = ~housing_opacity,
|
fillOpacity = ~housing_opacity,
|
||||||
weight = 2,
|
weight = 2,
|
||||||
popup = ~ name
|
popup = ~paste(name)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user