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 modeThe 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. Specify how and if to include traffic data Include traffic data for more accurate results, or exclude it for a faster response. 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.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 2025-08-14 UTC.
[[["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-08-14 UTC."],[[["Customize route matrices with various options beyond origin and destination, including travel mode, toll fees calculation, and vehicle type."],["Choose from travel modes like driving, transit, walking, or two-wheeled vehicles, but note that walking, bicycling, and two-wheeled vehicle routes are in beta and require a user warning."],["Request localized text for route matrix responses and specify additional options like departure time within the request body."],["Calculate estimated toll fees for routes within your matrix and explore further vehicle type selections for more tailored results."]]],["Customize route matrices by selecting travel modes like driving, transit, walking, or two-wheeled vehicles, noting that walking, bicycling, and two-wheeled options are in beta. You can request estimated toll fees, specify localized text in responses, and select vehicle types. Additional options, such as departure time, are available in the request body. Each option has specific documentation for further details, and the warning must be displayed when walking, bicycling, or two-wheel routes are used.\n"]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4