Available route matrix vehicle types

  • The Routes API offers route matrix calculations for various vehicle types, defaulting to driving if unspecified.

  • Supported vehicle types include driving, two-wheeled vehicles, transit, and walking, with bicycling excluded for route matrixes.

  • Two-wheeled, walking, and bicycling routes are in beta and require a user-displayed warning due to potential path inaccuracies.

  • Transit route matrixes leverage available public transportation like buses, subways, and trains within the specified region.

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 API uses the default of DRIVE.

Use Travel mode to set the mode of travel. You can choose driving, two-wheeled vehicles, transit, trucks, or walking. Bicycling is not supported for route matrixes.

Vehicle type Description
Drive Compute a driving route. Drive is the default if you don't specify a vehicle type.
Two-wheeled vehicle You 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.
Truck Calculate travel times and distances for a matrix of origins and destinations using large vehicle routing. Specify the physical attributes of your vehicles to get accurate estimates that account for weight, height, and hazardous materials restrictions.
Walk Compute a walking route.