Learn R Programming

raptr (version 0.0.1)

basemap: Basemap

Description

This function retrieves google map data for planning units. The google map data is cached to provide fast plotting capabilities.

Usage

basemap(x, basemap = "hybrid", grayscale = FALSE, force.reset = FALSE)
"basemap"(x, basemap = "hybrid", grayscale = FALSE, force.reset = FALSE)
"basemap"(x, basemap = "none", grayscale = FALSE, force.reset = FALSE)

Arguments

x
RapData, RapUnsolved, RapSolved object.
basemap
character type of base map to display. Valid names are "roadmap", "mobile", "satellite", "terrain", "hybrid", "mapmaker-roadmap", "mapmaker-hybrid".
grayscale
logical should base map be gray scale?
force.reset
logical ignore data in cache? Setting this as ignore will make function slower but may avoid bugs in cache system.

Value

list with google map data.

See Also

GetMap.bbox, plot.