powered by
Plots the incoming rasterBrick.
rasterBrick
staticmap_plotRasterBrick(rasterBrick = NULL, grayscale = FALSE, ...)
an RGB rasterBrick object. It is assumed that layer 1 represents red, layer 2 represents green, and layer 3 represents blue.
logical specifying conversion to grayscale
arguments passed on to raster::plot() (for grayscale = TRUE) or raster::plotRGB() (for grayscale = FALSE)
raster::plot()
grayscale = TRUE
raster::plotRGB()
grayscale = FALSE
staticmap_getStamenmapBrick
# NOT RUN { rasterBrick <- staticmap_getStamenmapBrick(-122.3318, 47.668) staticmap_plotRasterBrick(rasterBrick) staticmap_plotRasterBrick(rasterBrick, grayscale = TRUE) # } # NOT RUN { # }
Run the code above in your browser using DataLab