Skip to contents

Returns the names of the travel modes supported by the routing services associated with the provided token.

Usage

get_travel_modes(token = arc_token())

Arguments

token

Authorization token. Default: arcgisutils::arc_token().

Value

A character vector of supported travel mode names.

Examples

if (FALSE) { # \dontrun{
# This example is not executed since it requires a network connection
# to ArcGIS Online and a valid authentication token
library(arcgisutils)
set_arc_token(auth_user())

get_travel_modes()
} # }