Routes API
API routes.googleapis.com.
Layanan: routes.googleapis.com
Nama Layanan routes.googleapis.com
diperlukan untuk membuat stub klien RPC.
Metode |
ComputeRouteMatrix
|
Menerima daftar asal dan tujuan, lalu menampilkan aliran data yang berisi informasi rute untuk setiap kombinasi asal dan tujuan. |
ComputeRoutes
|
Menampilkan rute utama beserta rute alternatif opsional, dengan serangkaian titik jalan terminal dan perantara. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-26 UTC.
[null,null,["Terakhir diperbarui pada 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"]]