add fatality map test and heatmap

This commit is contained in:
2026-04-09 00:04:33 -04:00
parent 93961e2a6c
commit 9093a10d0e
3 changed files with 165 additions and 8 deletions
+19 -8
View File
@@ -193,7 +193,7 @@ ui <- page_navbar(
nav_panel(
"Human Factors",
layout_column_wrap(
width = 1 / 2,
width = 1,
layout_columns(
col_widths = 12,
row_heights = c("auto", "1fr", "auto"),
@@ -246,14 +246,25 @@ ui <- page_navbar(
nav_panel("Perils"),
nav_panel(
"Fatality Map",
card(
full_screen = TRUE,
layout_sidebar(
sidebar = sidebar(
actionButton("hi", "test"),
open = "always"
layout_columns(
col_widths = c(8, 4),
card(
full_screen = TRUE,
layout_sidebar(
class = "p-0",
sidebar = sidebar(
actionButton("hi", "test"),
open = "always"
),
leafletOutput("fatality_map", height = "100%")
)
),
layout_column_wrap(
width = 1,
card(
plotlyOutput("fatality_heatmap", height = "100%")
),
leafletOutput("base_leaflet", height = "100%")
card()
)
)
),