AI-generated Key Takeaways
-
The
routes.googleapis.comservice provides access to Google Maps Routes API for route planning and optimization. -
It offers two main RPC methods:
ComputeRouteMatrixandComputeRoutes. -
ComputeRouteMatrixcalculates routes for all combinations of origins and destinations, returning route information in a stream. -
ComputeRoutesdetermines the best route and optional alternatives between specified waypoints.
routes.googleapis.com API.
Service: routes.googleapis.com
The Service name routes.googleapis.com is needed to create RPC client stubs.
google.maps.routing.v2.Routes
| Methods | |
|---|---|
|
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. |