Routes Preferred API is currently available only to select customers.
Contact sales to learn more.
RouteMatrixElementCondition
Stay organized with collections
Save and categorize content based on your preferences.
The condition of the route being returned.
Enums |
ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED |
Only used when the status of the element is not OK. |
ROUTE_EXISTS |
A route was found, and the corresponding information was filled out for the element. |
ROUTE_NOT_FOUND |
No route could be found. Fields containing route information, such as distanceMeters or duration , will not be filled out in the element. |
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-10-23 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 2024-10-23 UTC."],[[["`ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED` is a fallback used only when the route element status is not OK."],["`ROUTE_EXISTS` indicates a route was successfully found and relevant information is populated within the element."],["`ROUTE_NOT_FOUND` signifies that no route could be found, leaving fields like `distanceMeters` and `duration` empty."]]],[]]