Arguments
filename
Name of plot file; default=NULL plots to screen device (low
quality and likely slow)
bbox
the bounding box for the map. A 2-by-2 matrix of 4 elements with
columns of min and max values, and rows of x and y values. If NULL, bbox is
taken from the largest extent of OSM objects in osm_data.
osm_data
A list of OSM objects as returned from extract_osm_objects().
These objects may be included in the plot without downloading. These should
all be named with the stated 'dat_prefix' and have suffixes as given in
'structures'.
structures
A data.frame specifying types of OSM structures as returned
from osm_structures(), and potentially modified to alter lists of structures
to be plotted, and their associated colours. Objects are overlaid on plot
according to the order given in 'structures'
width
Width of graphics device, with height calculated according to
latitudinal and longitudinal proportions of 'bbox'.
dat_prefix
Prefix for data structures (default 'dat_'). Final data
structures are created by appending the suffixes from osm_structures().