Send feedback
Available route matrix options
Stay organized with collections
Save and categorize content based on your preferences.
Along with specifying the origin and destination, you can also use many of the
options available for routes to customize a route matrix. For more details on
how to set these options, see the topics linked in the table:
Option
Description
Travel mode
The mode of travel, such as drive, transit, walk, or
two-wheeled vehicle.
Note: Walking, bicycling, and
two-wheeled vehicle routes are in beta and might sometimes be missing
clear sidewalks, pedestrian paths, or bicycling paths. You must display
this warning to the user for all walking, bicycling, and two-wheel routes
that you display in your app.
Calculate toll fees for a route matrix
Include estimated toll fees for routes in a route matrix.
Request localized values
You request localized text for your route matrix response in the same
way as for a route, using a field mask.
Available route matrix vehicle types
Additional options for selecting the type of vehicle for the route
matrix.
Additional options
To specify additional options, such as the departure time, see
Request body .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-17 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-17 UTC."}