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".
# S4 method for character
draw(x="extent", col="red", lwd=2, ...)
character. The type of object to draw. One of "extent", "polygon", "line", or "points"
the color to be used
the width of the lines to be drawn
additional arguments passed to locator
SpatVector or SpatExtent