table_leafletAdd {MazamaLocationUtils} | R Documentation |
Add to a leaflet interactive map for known locations
Description
This function adds a layer to an interactive map displayed in
RStudio's 'Viewer' tab. The default setting of jitter
will move locations
randomly within an ~50 meter radius so that overlapping locations can be
identified. Set jitter = 0
to see precise locations.
Usage
table_leafletAdd(
map = NULL,
locationTbl = NULL,
extraVars = NULL,
jitter = 5e-04,
...
)
Arguments
map |
Leaflet map. |
locationTbl |
Tibble of known locations. |
extraVars |
Character vector of addition |
jitter |
Amount to use to slightly adjust locations so that multiple
monitors at the same location can be seen. Use zero or |
... |
Additional arguments passed to |
Value
A leaflet "plot" object which, if not assigned, is rendered in Rstudio's 'Viewer' tab.
[Package MazamaLocationUtils version 0.4.3 Index]