make_markers | R Documentation |
Make map markers from a simple feature object
make_markers( data, groupname_col = NULL, group_meta = NULL, join = sf::st_intersects, geocode = FALSE, address_col = "address", point = TRUE, crs = NULL, fn = NULL, ... )
data |
Data with markers, passed to data parameter of
|
groupname_col |
Group column name, used to join group metadata if
group_meta is a non-spatial data frame; Default: |
group_meta |
Group metadata as a data frame or sf object that intersect
with markers; Default: |
join |
The join function used by |
geocode |
If |
address_col |
Address column, used if geocode is |
point |
If |
crs |
Coordinate reference system for markers, Default: |
fn |
Function to apply to data before results; gives warning if data is
grouped; Default: |
... |
Additional parameters passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.