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)

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.