Skip to content

Commit 24d1a62

Browse files
committed
Changed the default parameters
1 parent c22ce63 commit 24d1a62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

R/shiny_meshbuilder.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ meshbuilder_shiny <- function(
5555
stop("Cannot read latitude and longitude data from spatial data. Please ensure given names are correct.")
5656
}
5757

58-
default_max_edge_min <- 0.01
59-
default_max_edge_max <- 0.3
58+
default_max_edge_min <- 0.9
59+
default_max_edge_max <- 1.8
6060
default_offset_min <- 0.02
61-
default_offset_max <- 0.2
61+
default_offset_max <- 2
6262
default_cutoff <- 0.02
6363
# TODO - these defaults need changing?
6464
if (!is.null(max_edge)) {
@@ -234,7 +234,7 @@ meshbuilder_shiny <- function(
234234
spatial_data
235235
}
236236
})
237-
237+
238238
output$map <- leaflet::renderLeaflet({
239239
map_tiles <- c("OpenStreetMap", "Esri.WorldImagery", "OpenTopoMap")
240240
m <- mapview::mapview(mesh_spatial(), layer.name = "Mesh", col.regions = "#548C2F", map.types = map_tiles) + mapview::mapview(spatial(), layer.name = "Spatial")

0 commit comments

Comments
 (0)