Routes API
routes.googleapis.com API
บริการ: routes.googleapis.com
จำเป็นต้องมีชื่อบริการ routes.googleapis.com
เพื่อสร้างสตับไคลเอ็นต์ RPC
เมธอด |
ComputeRouteMatrix
|
รับรายการต้นทางและปลายทาง แล้วแสดงผลสตรีมที่มีข้อมูลเส้นทางสำหรับชุดค่าผสมต้นทางและปลายทางแต่ละชุด |
ComputeRoutes
|
แสดงเส้นทางหลักพร้อมกับเส้นทางอื่น (ไม่บังคับ) โดยพิจารณาจากจุดแวะพักปลายทางและจุดแวะพักกลาง |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-26 UTC
[null,null,["อัปเดตล่าสุด 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"]]