Add points to dynamic map

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

Arguments

myplot

dynamic map produced by plot_map() function.

lon, lat

longitude and latitude of points.

col

colour of points.

size

size of points.

opacity

opacity of points.

Examples

mysim <- rgeoprofile_file("tutorial1_mysim.rds") all_records <- mysim$record$data_all plot1 <- plot_map() plot1 <- overlay_points(myplot = plot1, all_records$longitude, all_records$latitude) show(plot1)