add additional storm map

This commit is contained in:
2026-05-04 21:54:39 -04:00
parent 6f15a225ff
commit a0f79cb8d9
2 changed files with 28 additions and 1 deletions
+27
View File
@@ -297,6 +297,33 @@ server <- function(input, output, session) {
)
})
output$cost_storms_map <- renderLeaflet({
leaflet() %>%
addProviderTiles("Stadia.AlidadeSmooth") %>%
addCircleMarkers(
data = all_conus_landfalls,
lng = ~lon,
lat = ~lat,
radius = 2,
popup = ~ paste0(storm_name, " ", storm_year),
weight = 0,
color = "blue",
fillColor = "blue",
fillOpacity = 0.5
) %>%
addCircles(
data = all_conus_landfalls,
lng = ~lon,
lat = ~lat,
radius = ~rmw_meters,
popup = ~ paste0(storm_name, " ", storm_year),
weight = 1,
color = "blue",
fillColor = "blue",
fillOpacity = 0.05
)
})
storm_track <- reactive({
req(
storm_selection$storm_basin,