preview | R Documentation |
Preview a map with POI using leaflet
preview(
shape,
shapeLabelGlue = "{name}",
shapePopupGlue = "{code}",
poi = NULL,
poiLabelGlue = "{name}",
poiPopupGlue = "{code}"
)
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 |
htmlwidget
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.