addCircles_map: add circles to an existig map (proxy argument)

Description Usage Arguments Value

View source: R/maptools.R

Description

add circles to an existig map (proxy argument)

Usage

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]])))
)

Arguments

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 points_col column

Value

A Leaflet Map


Davide-bll/Shinymod documentation built on April 17, 2021, 8:42 a.m.