This function returns every supported map type that can be used as input to the map_type argument of frames_spatial.

get_maptypes(map_service = NULL)

Arguments

map_service

character, optional, either "mapbox" or "osm". Otherwise, a list of map types for both services is returned.

Value

A character vector of supported map types

See also

Examples

# NOT RUN {
# for all services
get_maptypes()

# for osm only
get_maptypes("osm")
# or
get_maptypes()$osm

# for mapbox only
get_maptypes("mapbox")
# or
get_maptypes()$mapbox

# }