This function adds interactive maps that will be displayed in RStudio's 'Viewer' tab.
table_leafletAdd(
map = NULL,
locationTbl = NULL,
extraVars = NULL,
locationOnly = FALSE,
...
)
Leaflet map.
Tibble of known locations.
Character vector of addition locationTbl
column names
to be shown in leaflet popups.
Logical specifying whether to check for all standard columns.
Additional arguments passed to leaflet::addCircleMarker()
.
A leaflet "plot" object which, if not assigned, is rendered in Rstudio's 'Viewer' tab.