This function returns every supported map type that can be used as input to the map_type argument of set_defaults, basemap or associated functions.
Usage
get_maptypes(map_service = NULL)
Value
A character vector of supported map types
Arguments
map_service
character, optional, either "osm", "osm_stamen", "osm_stadia", "osm_thunderforest", "carto", "mapbox" or "esri". Otherwise, a list of map types for both services is returned.
# for all servicesget_maptypes()
# for osm onlyget_maptypes("osm")
# orget_maptypes()$osm
# for mapbox onlyget_maptypes("mapbox")
# orget_maptypes()$mapbox
# same for all other map services