get_maptypes: Get all supported map types

Description Usage Arguments Value See Also Examples

View source: R/get_maptypes.R

Description

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

Usage

1
get_maptypes(map_service = NULL)

Arguments

map_service

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

Value

A character vector of supported map types

See Also

frames_spatial

Examples

 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

moveVis documentation built on March 31, 2020, 5:08 p.m.