Learn R Programming

RgoogleMaps (version 1.5.1)

plotOSM: plots OSM map tiles

Description

places tiles on plot

Usage

plotOSM(mt, upperLeft, lowerRight, lat, lon, add = FALSE, 

removeMargin = TRUE, verbose = 0, ...)

Value

returns map object invisibly

Arguments

mt

list returned by GetMapTiles

upperLeft

upperLeft corner in lat/lon of the plot region

lowerRight

lowerRight corner in lat/lon of the plot region

lat

latitude values to be overlaid, if any

lon

longitude values to be overlaid, if any

add

Boolean, whether to add to existing plot

removeMargin

Boolean, whether to strip margins of plot

verbose

level of verbosity

...

further arguments to be passed to rasterImage

Author

Markus Loecher