Select an extent interactively from a leaflet map
select_extent(in_object = NULL, reproject = TRUE, transparency = 0.5)
in_object | a |
---|---|
reproject |
|
transparency | PARAM_DESCRIPTION, Default: 0.5 |
a sprawlext
object representing the selected extent.
DETAILS
# NOT RUN { if(interactive()){ in_rast <- read_rast(system.file("extdata/REYE_test", "REYE_2016_185_gNDVI.tif", package = "sprawl.data")) extent <- select_extent(in_rast) extent } # }