Draw an Area of Interest (AOI) interactively using a shiny app.
aoi_draw(user_shape = NULL, ...)
A provided sf object to view alongside map.
additional arguments for mapview.
An sf object.
if (FALSE) {
# Load Libraries
library(rgee)
rgee::ee_intialize()
library(exploreRGEE)
huc <- exploreRGEE::huc
# without providing a sf object
aoi_draw()
# with
aoi_draw(user_shape = huc)
}