R/spatial_tools.R
xy_from_click.Rd
This function defines a two-column matrix of x, y coordinates from clicked locations on a map.
xy_from_click()
The function returns a two-column matrix with coordinates.
Edward Lavender
if (FALSE) { raster::plot(dat_gebco) xy <- xy_from_click() graphics::points(xy, col = "red") }