Routes Preferred API is currently available only to select customers.
Contact sales to learn more.
Routes Preferred API
Service: routespreferred.googleapis.com
The Service name routespreferred.googleapis.com
is needed to create RPC client stubs.
Methods |
ComputeCustomRoutes
|
Given a set of terminal and intermediate waypoints, and a route objective, computes the best route for the route objective. |
ComputeRouteMatrix
|
Takes in a list of origins and destinations and returns a stream containing route information for each combination of origin and destination. |
ComputeRoutes
|
Returns the primary route along with optional alternate routes, given a set of terminal and intermediate waypoints. |
Methods |
ComputeCustomRoutes
|
Given a set of terminal and intermediate waypoints, and a route objective, computes the best route for the route objective. |
ComputeRouteMatrix
|
Takes in a list of origins and destinations and returns a stream containing route information for each combination of origin and destination. |
ComputeRoutes
|
Returns the primary route along with optional alternate routes, given a set of terminal and intermediate waypoints. |
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 2022-05-26 UTC.
[null,null,["Last updated 2022-05-26 UTC."],[[["The service `routespreferred.googleapis.com` enables the creation of RPC client stubs for route calculation."],["It offers two main services, `RoutesPreferred` and `RoutesAlpha`, which provide similar functionalities."],["The service allows for calculating routes based on waypoints, computing route matrices for multiple origin-destination pairs, and customizing route objectives."],["Both `RoutesPreferred` and `RoutesAlpha` have methods: `ComputeCustomRoutes`, `ComputeRouteMatrix`, and `ComputeRoutes`."]]],[]]