plotOSM function

plots OSM map tiles

plots OSM map tiles

places tiles on plot

plotOSM(mt, upperLeft, lowerRight, lat, lon, add = FALSE, removeMargin = TRUE, verbose = 0, ...)

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

Returns

returns map object invisibly

Author(s)

Markus Loecher