The load_map
function loads the map raster background and plots it
using the R graphics device.
1 | load_map(mapl, map_data, ext_map)
|
mapl |
a data frame holding one record from the map database. |
map_data |
a character string with the path to the folder storing the map data. |
ext_map |
a spatial object of class 'extent' from the 'raster' package holding the data on the extreme coordinates of the input object including a preset margin. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.