View source: R/table_leafletAdd.R
table_leafletAdd | R Documentation |
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.
table_leafletAdd(
map = NULL,
locationTbl = NULL,
extraVars = NULL,
jitter = 5e-04,
...
)
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 |
A leaflet "plot" object which, if not assigned, is rendered in Rstudio's 'Viewer' tab.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.