Description Usage Arguments Value See Also Examples
Generates a base OSM plot ready for polygon, line, and point objects to be
overlain with add_osm_objects
.
1 | osm_basemap(bbox, structures, bg = "gray20")
|
bbox |
bounding box (Latitude-longitude range) to be plotted. A 2-by-2
matrix of 4 elements with columns of min and max values, and rows of x and y
values. Can also be an object of class |
structures |
Data frame returned by |
bg |
Background colour of map (default = |
A ggplot2
object containing the base map
.
add_osm_objects
, make_osm_map
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.