Description Usage Arguments Value
add circles to an existig map (proxy argument)
1 2 3 4 5 6 7 8 | addCircles_map(
proxy,
data,
points_col,
pal,
radius = rlang::expr(10),
label_formula = rlang::expr(~paste0("Person ID: ", as.character(data[[points_col]])))
)
|
proxy |
Existing Map |
data |
Dataframe containing "lat" and "lng" |
points_col |
Chr. Column which Identify different points |
pal |
Colorpalette function |
radius |
an expression (formula) |
label_formula |
an expression for the label. By default is used the |
A Leaflet Map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.