Description Usage Arguments Value See Also Examples
This function returns every supported map type that can be used as input to the map_type
argument of frames_spatial
.
1 | get_maptypes(map_service = NULL)
|
map_service |
character, optional, either |
A character vector of supported map types
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # 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
# same for all other map services
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.