Stay organized with collections
Save and categorize content based on your preferences.
Two-wheeled 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.
Use the travelMode property of a request to specify the mode. The possible
values of this property are defined by enumerations in
RouteTravelMode (REST) and
RouteTravelMode (gRPC).
Specify the two-wheeler travel mode
When you call a Routes API, you specify the RouteTravelMode
enumeration value to specify the travel mode.
The following example shows how to set the travel mode to TWO_WHEELER
in a computeRoutes method (REST)
request body. You can also specify this option to the
ComputeRoutes
method (gRPC).
In this example, you compute the directions between two locations in India
specified by Plus codes:
[[["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 2025-01-29 UTC."],[[["The `TWO_WHEELER` travel mode is used to request routes specifically for motorcycles and similar motorized two-wheeled vehicles, distinct from bicycles."],["Using the `TWO_WHEELER` travel mode will result in higher billing rates compared to other travel modes."],["Routes generated for two-wheeled vehicles are in beta and might not always include optimal paths for motorcycles; it's crucial to display a warning to users about this."],["You can specify the `TWO_WHEELER` travel mode within the `travelMode` property of your Routes API request to obtain routes optimized for motorcycles."],["Supported regions for two-wheeled vehicle routes may vary, so consult the documentation for coverage details."]]],[]]