Stay organized with collections
Save and categorize content based on your preferences.
You can get a route suited to different types of vehicles. If you don't specify
a vehicle type, the Routes API uses the default of a gasoline powered
car.
You set the mode of transportation using the
travelMode parameter, with
choices of transit, driving, two-wheeled vehicles, walking, or bicycling.
Vehicle type
Description
Bicycle
Compute a route for bicycles and other human-powered travel. For
motorized two-wheeled vehicles, see Two-wheeled.
Get a transit route for navigation instructions using the public
transportation options available in the region. Transit options may
include buses, subways, and trains, among others. A transit route also
usually includes instructions on walking to, from, and between transit
stations.
Two-wheeler refers to two-wheeled motorized vehicles (for example,
motorcycles). The two-wheeler travel mode differs from the bicycle travel
mode, which is a human-powered travel mode.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-21 UTC."],[[["The Routes API offers route options tailored to various vehicle types, including cars, two-wheelers, transit, and eco-friendly options, or defaults to a gasoline car if unspecified."],["You can specify your preferred mode of transportation using the `travelMode` parameter, selecting from options such as transit, driving, two-wheeled vehicles, walking, or bicycling."],["Walking, bicycling, and two-wheel routes are currently in beta and may lack comprehensive pedestrian or cycling paths, requiring a user warning in your application."]]],[]]