This function retrieves google map data for planning units. The google map data is cached to provide fast plotting capabilities.
basemap(x, basemap = "hybrid", grayscale = FALSE, force.reset = FALSE)# S3 method for RapData
basemap(x, basemap = "hybrid", grayscale = FALSE, force.reset = FALSE)
# S3 method for RapSolved
basemap(x, basemap = "none", grayscale = FALSE, force.reset = FALSE)
list
with google map data.
RapData
, RapUnsolved
, RapSolved
object.
character
type of base map to display. Valid names are
"roadmap"
, "mobile"
, "satellite"
, "terrain"
,
"hybrid"
, "mapmaker-roadmap"
, "mapmaker-hybrid"
.
logical
should base map be gray scale?
logical
ignore data in cache? Setting this as
ignore will make function slower but may avoid bugs in cache system.
RgoogleMaps::GetMap.bbox()
, plot()
.