Produces a leaflet map

make_leaflet_map(
  clamped,
  ttl = "values",
  n_class = 10,
  circular = FALSE,
  style = "continuous",
  groups
)

Arguments

clamped

named list from clamp_raster_sigmas()

ttl

character, title

n_class

numeric, number of bins for the color scheme

circular

logical, if TRUE the value is transformed so be between 0 and 180, default to FALSE

style

character, changes between continuous and binned values for the colorscale, default to continuous

groups

character, overlay groups to adjust map visuals

Value

a leaflet object