Routes API
routes.googleapis.com API
Dienst: routes.googleapis.com
Der Dienstname routes.googleapis.com
wird benötigt, um RPC-Client-Stubs zu erstellen.
Methoden |
ComputeRouteMatrix
|
Nimmt eine Liste von Start- und Zielorten entgegen und gibt einen Stream mit Routeninformationen für jede Kombination aus Start- und Zielort zurück. |
ComputeRoutes
|
Gibt die Hauptroute zusammen mit optionalen alternativen Routen zurück, wenn eine Reihe von End- und Zwischenpunkten angegeben wird. |
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-11-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-11-26 (UTC)."],[[["The `routes.googleapis.com` service provides access to Google Maps Routes API for route planning and optimization."],["It offers two main RPC methods: `ComputeRouteMatrix` and `ComputeRoutes`."],["`ComputeRouteMatrix` calculates routes for all combinations of origins and destinations, returning route information in a stream."],["`ComputeRoutes` determines the best route and optional alternatives between specified waypoints."]]],["The `routes.googleapis.com` service, used for creating RPC client stubs, features the `google.maps.routing.v2.Routes` service. This service includes two primary methods: `ComputeRouteMatrix`, which generates a stream of route information for multiple origin-destination pairs, and `ComputeRoutes`, which provides the primary and potentially alternate routes for a given set of waypoints. Both of them can be used to calculate routes.\n"]]