- ext
extent to be covered by the basemap as any spatial class supported by st_bbox.
- map_service
character, a map service, either "osm", "carto" or "mapbox". Default is "osm".
- map_type
character, a map type, e.g. "streets". For a full list of available map types, see get_maptypes.
- map_res
numeric, resolution of base map in range from 0 to 1.
- map_token
character, authentication token for services that require registration, which are "osm_stamen", "osm_stadia", "osm_thunderforest" and "mapbox". Register at https://stadiamaps.com/ (for stamen and stadia), https://www.thunderforest.com/ and/or https://www.mapbox.com/ to get tokens. Ignored for all other map services.
- map_dir
character, cache directory where downloaded basemap tiles will be stored. By default, a temporary directory is used, which is destroyed when the session is terminated.