Description Usage Arguments Value See Also
Draw a line or polygon on a plot (map) and save it for later use. After calling the function, start clicking on the map. To finish, right-click and select 'stop'.
1 2 |
sp |
logical. If |
col |
the color of the lines to be drawn |
lwd |
the width of the lines to be drawn |
... |
additional arguments padded to locator |
If sp==TRUE
a SpatialPolygons or SpatialLines object; otherwise a matrix of coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.