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 לשירותי נסיעות ושליחויות.
|
distanceMeters |
integer
מרחק הנתיב מנקודת הציון הקודמת לנקודת הציון הנוכחית. לא מוגדר לנקודת הציון הראשונה ברשימה.
|
eta |
string (Timestamp format)
זמן ההגעה המשוער לנקודת הציון הזו. לא מוגדר לנקודת הציון הראשונה ברשימה. הפורמט הזה משתמש ב-RFC 3339, שבו הפלט שנוצר תמיד יהיה מנורמלי לפי Z וישמש בספרות עשרוניות של 0, 3, 6 או 9. אפשר להשתמש גם בשינויים (offsets) אחרים מלבד 'Z'. דוגמאות: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" או "2014-10-02T15:01:23+05:30" .
|
duration |
string (Duration format)
זמן הנסיעה מנקודת הציון הקודמת לנקודה הזו. לא מוגדר לנקודת הציון הראשונה ברשימה. משך הזמן בשניות, עם עד תשע ספרות עשרוניות, שמסתיימים ב-'s '. דוגמה: "3.5s" .
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]