Prints an OSM map produced with
osmplotr to a specified graphics
print_osm_map( map, width, height, filename, device, units = c("in", "cm", "mm", "px"), dpi = 300 )
The map to be printed; a
Desired width of graphics device.
Desired height of graphics device. Ignored if width specified.
Name of file to which map is to be printed.
Type of graphics device (extracted from filename extension if not explicitly provided).
Units for height and width of graphics device.
Resolution of graphics device (dots-per-inch).