Routes API
API routes.googleapis.com.
Usługa: routes.googleapis.com
Do tworzenia namiastek klienta RCP potrzebna jest nazwa usługi routes.googleapis.com
.
Metody |
ComputeRouteMatrix
|
Odbiera listę miejsc nadania i miejsc docelowych, a następnie zwraca strumień zawierający informacje o trasach dla każdej kombinacji miejsca nadania i miejsca docelowego. |
ComputeRoutes
|
Zwraca główną trasę wraz z opcjonalnymi trasami alternatywnymi, biorąc pod uwagę zestaw punktów docelowych i punktów pośrednich. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-26 UTC.
[null,null,["Ostatnia aktualizacja: 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"]]