knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
An interactive tool for making geo-spatial objects by clicks on the map
To install the stable version from CRAN, simply run the following from an R console:
install.packages('geodrawr')
To install the latest development builds directly from GitHub, run this instead:
if (!require('devtools')) install.packages('devtools') devtools::install_github('Curycu/geodrawr')
There are three draw tools :
library(geodrawr) draw_polygons() draw_lines() draw_points()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.