cboettig commited on
Commit
338ca35
·
1 Parent(s): 5a7aca2
Files changed (1) hide show
  1. app.R +2 -3
app.R CHANGED
@@ -46,7 +46,7 @@ Scroll to zoom, ctrl+click to pitch and rotate. Hitting the area button with no
46
  "),
47
 
48
  layout_columns(
49
- card(maplibreOutput("map")),
50
  div(actionButton("get_features", "Set Area Of Interest", icon = icon("object-group"),
51
  class = "btn-primary align-bottom")),
52
  col_widths = c(11,1)
@@ -154,7 +154,6 @@ duckdb_secrets(Sys.getenv("MINIO_KEY"),
154
 
155
 
156
 
157
-
158
  # Define the server
159
  server <- function(input, output, session) {
160
 
@@ -286,7 +285,7 @@ server <- function(input, output, session) {
286
  cached_data |> to_h3j(h3j)
287
 
288
  # adjust v-scale based on zoom:
289
- vscale <- 7000 / aoi_info$zoom
290
 
291
  # override previous map with drawn map
292
  # we should use set_h3j_source and set_layer on maplibre_proxy instead.
 
46
  "),
47
 
48
  layout_columns(
49
+ card(maplibreOutput("map", , height = "600px")),
50
  div(actionButton("get_features", "Set Area Of Interest", icon = icon("object-group"),
51
  class = "btn-primary align-bottom")),
52
  col_widths = c(11,1)
 
154
 
155
 
156
 
 
157
  # Define the server
158
  server <- function(input, output, session) {
159
 
 
285
  cached_data |> to_h3j(h3j)
286
 
287
  # adjust v-scale based on zoom:
288
+ vscale <- 10000 / aoi_info$zoom
289
 
290
  # override previous map with drawn map
291
  # we should use set_h3j_source and set_layer on maplibre_proxy instead.