Draw on a plot (map) to get a SpatVector or SpatExtent object for later use. After calling the function, start clicking on the map. To finish, right-click and select 'stop'.
drawPol(col="red", lwd=2, ...)
drawLin(col="red", lwd=2, ...)
drawPts(col="red", lwd=2, ...)
drawExt(col="red", lwd=2, ...)
the color of the lines to be drawn
the width of the lines to be drawn
additional arguments padded to locator
SpatVector or SpatExtent