Options
All
  • Public
  • Public/Protected
  • All
Menu

The valid travel modes that can be specified in a DirectionsRequest as well as the travel modes returned in a DirectionsStep. Specify these by value, or by using the constant's name. For example, 'BICYCLING' or google.maps.TravelMode.BICYCLING.

Access by calling const {TravelMode} = await google.maps.importLibrary("routes"). See https://developers.google.com/maps/documentation/javascript/libraries.

Index

Enumeration Members

BICYCLING: "BICYCLING"

Specifies a bicycling directions request.

DRIVING: "DRIVING"

Specifies a driving directions request.

TRANSIT: "TRANSIT"

Specifies a transit directions request.

WALKING: "WALKING"

Specifies a walking directions request.

Generated using TypeDoc