Preview a map with POI using leaflet
preview(
shape,
shapeLabelGlue = "{name}",
shapePopupGlue = "{code}",
poi = NULL,
poiLabelGlue = "{name}",
poiPopupGlue = "{code}"
)
- the map
- a glue specification for the label for each shape
- a glue specification for the popup for each shape
- a list of points of interest as a sf object
- a glue specification for the label for each poi
- a glue specification for the popup for each poi
htmlwidget