Usage
MapBackground(lat, lon, destfile, NEWMAP = TRUE, myTile,
zoom = NULL, size = c(640, 640), GRAYSCALE = FALSE, verbose = 1, ...)
Arguments
lat
vector latitude values for the map to contain
lon
vector of longitude values for the map to contain
destfile
File to load the map image from or save to, depending on the value of NEWMAP.
NEWMAP
get new map from teh Google server or load it from existing file
myTile
map tile from previous downloads
zoom
Google maps zoom level. optional if MyMap is passed, required if not.
size
desired size of the map tile image. defaults to maximum size returned by the Gogle server, which is 640x640 pixels.
GRAYSCALE
Boolean toggle; if TRUE the colored map tile is rendered into a black & white image, see RGB2GRAY verbose
level of verbosity