Add points to dynamic map
overlay_points(myplot, lon, lat, col = "black", size = 1, opacity = 1)
myplot | dynamic map produced by |
---|---|
lon, lat | longitude and latitude of points. |
col | colour of points. |
size | size of points. |
opacity | opacity of points. |
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)