mirror of
https://github.com/dylanbenzi/hurricane_normalization_app.git
synced 2026-07-29 21:01:27 +00:00
add base map for fatality data
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
server <- function(input, output, session) {
|
||||
output$base_leaflet <- renderLeaflet({
|
||||
leaflet() %>%
|
||||
addProviderTiles("Stadia.AlidadeSmooth")
|
||||
})
|
||||
|
||||
storm_coverage <- get_storm_data_coverage() %>%
|
||||
select(-storm_basin) %>%
|
||||
{
|
||||
|
||||
@@ -207,7 +207,19 @@ ui <- page_navbar(
|
||||
)
|
||||
),
|
||||
nav_panel("Perils"),
|
||||
nav_panel("Fatality Map"),
|
||||
nav_panel(
|
||||
"Fatality Map",
|
||||
card(
|
||||
full_screen = TRUE,
|
||||
layout_sidebar(
|
||||
sidebar = sidebar(
|
||||
actionButton("hi", "test"),
|
||||
open = "always"
|
||||
),
|
||||
leafletOutput("base_leaflet", height = "100%")
|
||||
)
|
||||
)
|
||||
),
|
||||
nav_spacer(),
|
||||
nav_menu(
|
||||
title = "Export",
|
||||
|
||||
Reference in New Issue
Block a user