Draw polyline on a nativeRaster
image
nr_polyline(nr, x, y, color = "black", close = FALSE)
nativeRaster
Vectors of point coordinates
Color as a character string. Either a standard R color
(e.g. 'blue', 'white')
or a hex color of the form #rrggbbaa
, #rrggbb
, #rgba
or #rgb
Should the polyline be closed? I.e. should a line be drawn between the last point and the first point? Default: FALSE
Original nativeRaster
modified in-place