TripWaypoint
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
อธิบายจุดจอดบนเส้นทางของยานพาหนะหรือจุดสิ้นสุดของการเดินทางของยานพาหนะ
การแสดง JSON |
{
"location": {
object (TerminalLocation )
},
"tripId": string,
"waypointType": enum (WaypointType ),
"pathToWaypoint": [
{
object (LatLng )
}
],
"encodedPathToWaypoint": string,
"trafficToWaypoint": {
object (ConsumableTrafficPolyline )
},
"distanceMeters": integer,
"eta": string,
"duration": string
} |
ช่อง |
location |
object (TerminalLocation )
ตำแหน่งของจุดแวะพักนี้
|
tripId |
string
การเดินทางที่เชื่อมโยงกับจุดสังเกตนี้
|
waypointType |
enum (WaypointType )
บทบาทของจุดแวะพักนี้ในการเดินทาง เช่น การรับหรือส่ง
|
pathToWaypoint[] |
object (LatLng )
เส้นทางจากจุดสังเกตก่อนหน้าไปยังจุดสังเกตปัจจุบัน ไม่มีการกําหนดค่าสําหรับจุดแวะพักแรกในรายการ ช่องนี้จะสร้างขึ้นเมื่อมีการขอเท่านั้น
|
encodedPathToWaypoint |
string
เส้นทางที่เข้ารหัสจากจุดสังเกตก่อนหน้าไปยังจุดสังเกตปัจจุบัน หมายเหตุ: ช่องนี้มีไว้สําหรับ Driver SDK และ Consumer SDK เท่านั้น ยังไม่รองรับการถอดรหัส
|
trafficToWaypoint |
object (ConsumableTrafficPolyline )
สภาพการจราจรตลอดเส้นทางไปยังจุดสังเกตนี้ โปรดทราบว่าข้อมูลการเข้าชมมีให้บริการสำหรับลูกค้าโซลูชันการเดินทางและการนำส่งของแพลตฟอร์ม Google Maps เท่านั้น
|
distanceMeters |
integer
ระยะทางของเส้นทางจากจุดสังเกตก่อนหน้าไปยังจุดสังเกตปัจจุบัน ไม่มีการกําหนดค่าสําหรับจุดแวะพักแรกในรายการ
|
eta |
string (Timestamp format)
เวลาถึงโดยประมาณที่จุดสังเกตนี้ ไม่มีการกําหนดค่าสําหรับจุดแวะพักแรกในรายการ ใช้ RFC 3339 ซึ่งเอาต์พุตที่สร้างขึ้นจะเป็นรูปแบบ Z-normalized เสมอ และใช้ตัวเลขทศนิยม 0, 3, 6 หรือ 9 ระบบยังยอมรับออฟเซตอื่นๆ นอกเหนือจาก "Z" ด้วย ตัวอย่างเช่น "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" หรือ "2014-10-02T15:01:23+05:30"
|
duration |
string (Duration format)
เวลาเดินทางจากจุดสังเกตก่อนหน้าไปยังจุดนี้ ไม่มีการกําหนดค่าสําหรับจุดแวะพักแรกในรายการ ระยะเวลาเป็นวินาทีที่มีเศษทศนิยมได้สูงสุด 9 หลัก โดยลงท้ายด้วย s เช่น "3.5s"
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-02-26 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-02-26 UTC"],[[["Waypoints represent stopping points or ending points on a vehicle's route or trip."],["Each waypoint includes information like location, trip ID, type (pickup, dropoff), path, and estimated arrival time."],["Waypoints can optionally include details about the path to the waypoint, traffic conditions, and distance."],["The ETA and duration fields provide estimates for arrival time and travel time to the waypoint."]]],["This data represents a waypoint, a stopping or ending point in a vehicle's trip. Key information includes the `location`, the associated `tripId`, and the `waypointType` (e.g., pickup, dropoff). It also provides path details like `pathToWaypoint`, `encodedPathToWaypoint`, and `trafficToWaypoint`, alongside metrics such as `distanceMeters`, `eta` (estimated time of arrival), and `duration` (travel time). Some data, like path details and time-related metrics, are undefined for the initial waypoint.\n"]]