Preview a map with POI using leaflet

preview(
  shape,
  shapeLabelGlue = "{name}",
  shapePopupGlue = "{code}",
  poi = NULL,
  poiLabelGlue = "{name}",
  poiPopupGlue = "{code}"
)

Arguments

shape

- the map

shapeLabelGlue

- a glue specification for the label for each shape

shapePopupGlue

- a glue specification for the popup for each shape

poi

- a list of points of interest as a sf object

poiLabelGlue

- a glue specification for the label for each poi

poiPopupGlue

- a glue specification for the popup for each poi

Value

htmlwidget