Route Matrix vehicle types

European Economic Area (EEA) developers

You can get a route matrix for different types of vehicles. If you don't specify a vehicle type, the Routes library uses the default of DRIVING. You can choose driving, two-wheeled vehicles, transit, or walking.

The following table lists the vehicle types supported by the Routes library:

  • Two-wheeled vehicle: Specify a route matrix for a two-wheeled motorized vehicle the same way you specify it for a route, using the travelMode parameter.
  • Transit: Get a transit route matrix that uses the public transportation options available in the region. Transit options may include buses, subways, and trains, among others.
  • Bicycling: Get a bicycling route matrix that uses the public transportation options available in the region.