Draw an Area of Interest (AOI) interactively using a shiny app.

aoi_draw(user_shape = NULL, ...)

Arguments

user_shape

A provided sf object to view alongside map.

...

additional arguments for mapview.

Value

An sf object.

Examples

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)
}