map_drape | R Documentation |
retrieve a 3 dimensional (RGB or other) array for the canvas region.
map_drape(res, src = "wms_virtualearth", alpha = 1, resample = "Average", ...)
res |
The desired cell resolution of the matrix in canvas CRS units. |
src |
Default is 'wms_virtualearth'. The server from which to download map data.
use |
alpha |
default 1, set transparency of overlay data. |
See https://github.com/hypertidy/gdalio and https://gdal.org/drivers/raster/wms.html for examples of custom sources from the web. Alternatively, you can download a file and specify the local path.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.