Description Usage Arguments See Also Examples
View source: R/staticmap_plotRasterBrick.R
Plots the incoming rasterBrick
.
1 | staticmap_plotRasterBrick(rasterBrick = NULL, grayscale = FALSE, ...)
|
rasterBrick |
an RGB rasterBrick object. It is assumed that layer 1 represents red, layer 2 represents green, and layer 3 represents blue. |
grayscale |
logical specifying conversion to grayscale |
... |
arguments passed on to |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# Fail gracefully if any resources are not available
try({
rasterBrick <- staticmap_getStamenmapBrick(-122.3318, 47.668)
staticmap_plotRasterBrick(rasterBrick)
staticmap_plotRasterBrick(rasterBrick, grayscale = TRUE)
}, silent = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.