mapview Server Function

mod_mapview_server(
  input,
  output,
  session,
  data_sf,
  mapview.map.types = "CartoDB.DarkMatter"
)

Arguments

input, output, session

Internal parameters for shiny.

data_sf

a spatial data object from the 'sf' package.

mapview.map.types

see `map.types` in the [mapview::mapview] function.