View source: R/view_previews.R
view_previews | R Documentation |
view_previews
and plot_previews
load and display georeferenced previews acquired using get_previews
.
view_previews( records, show_aoi = TRUE, aoi_colour = "deepskyblue", maxpixels = 1e+05, verbose = TRUE ) plot_previews( records, show_aoi = TRUE, aoi_colour = "deepskyblue", separate = FALSE, maxcol = 3, maxpixels = 1e+05, verbose = TRUE )
records |
records data frame, containing one or multiple records (each represented by one row), as returned by get_records |
show_aoi |
logical, whether the session AOI defined with set_aoi should be drawn on the map or plot(s) ( |
aoi_colour |
character, colour of the AOI. Ignored, if |
maxpixels |
numeric, maximum number of pixels to be displayed |
verbose |
logical, whether to display details on the function's progress or output on the console. |
separate |
logical, whether previews should be displayed separately on a |
maxcol |
numeric, maximum number of columns that the plot grid should have. |
view_previews
renders previews as RGB images on an interactive map using mapview
and leaflet
.
plot_previews
plots previews to a graphics device using ggplot2
.
A mapview
/ggplot
object
Jakob Schwalb-Willmann
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.