Add points to dynamic map

overlay_points(myplot, lon, lat, col = "black", size = 2, opacity = 1)

Arguments

myplot

dynamic map produced by plot_leaflet() function

lon

longitude of points

lat

latitude of points

col

colour of points

size

size of points

opacity

opacity of points