Routes API
routes.googleapis.com API。
服務:routes.googleapis.com
需要服務名稱 routes.googleapis.com
才能建立遠端程序呼叫 (RPC) 用戶端虛設常式。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-26 (世界標準時間)。
[null,null,["上次更新時間:2024-11-26 (世界標準時間)。"],[[["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"]]