Description Usage Arguments Value
The render_map
passes the bounding box and the graphical parameters of the
required map background to the mapnik rendering engine. The map is rendered by mapnik
based on OpenStreetMap data stored in a local PostgreSQL database.
1 | render_map(map_data, ext_map, options_list = NULL, db)
|
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. |
options_list |
a list of graphical and other parameters used by the rendering engine. |
db |
a SQLiteConnection object that specifies the connection to the database. |
NULL there are no values returned by this function to the workspace; the output of the function is just the map file written in the /ttemp folder.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.