AI-generated Key Takeaways
-
The service
routespreferred.googleapis.com
enables the creation of RPC client stubs for route calculation. -
It offers two main services,
RoutesPreferred
andRoutesAlpha
, 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
andRoutesAlpha
have methods:ComputeCustomRoutes
,ComputeRouteMatrix
, andComputeRoutes
.
Service: routespreferred.googleapis.com
The Service name routespreferred.googleapis.com
is needed to create RPC client stubs.
google.maps.routes.v1.RoutesPreferred
Methods | |
---|---|
|
Given a set of terminal and intermediate waypoints, and a route objective, computes the best route for the route objective. |
|
Takes in a list of origins and destinations and returns a stream containing route information for each combination of origin and destination. |
|
Returns the primary route along with optional alternate routes, given a set of terminal and intermediate waypoints. |
google.maps.routes.v1alpha.RoutesAlpha
Methods | |
---|---|
|
Given a set of terminal and intermediate waypoints, and a route objective, computes the best route for the route objective. |
|
Takes in a list of origins and destinations and returns a stream containing route information for each combination of origin and destination. |
|
Returns the primary route along with optional alternate routes, given a set of terminal and intermediate waypoints. |