TerminalLocation
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
תיאור המיקום של נקודת ציון.
ייצוג ב-JSON |
{
"point": {
object (LatLng )
},
"place": string,
"pointLocationSource": enum (PointSource ),
"terminalPointId": {
object (TerminalPointId )
},
"accessPointId": string,
"tripId": string,
"terminalLocationType": enum (WaypointType )
} |
שדות |
point |
object (LatLng )
מציין את LatLng המדויק של ציון הדרך. צריך לציין את point או את place כקלט. אם יצוינו שני השדות, המערכת תשתמש ב-point לצורך ניתוב וב-place לצורך מטא-נתונים. אם מציינים רק את place כקלט, הערך של point יחושב מ-place ויכלול בפלט.
|
place |
string
שם המשאב של המקום שמייצג את המיקום הזה. הפורמט הוא places/{placeId} . צריך לציין את point או את place כקלט. אם יצוינו שני השדות, המערכת תשתמש ב-point לצורך ניתוב וב-place לצורך מטא-נתונים. הערך place נכלל בפלט רק אם הוא נכלל בקלט, כלומר לא מתבצעת בדיקת place מ-LatLng . זוהי תכונה ניסיונית.
|
pointLocationSource |
enum (PointSource )
פלט בלבד. המקור של השדה point .
|
terminalPointId (deprecated) |
object (TerminalPointId )
הוצא משימוש: צריך לציין את השדה place במקום זאת.
|
accessPointId (deprecated) |
string
הוצא משימוש: צריך לציין את השדה place במקום זאת.
|
tripId (deprecated) |
string
הוצא משימוש.
|
terminalLocationType (deprecated) |
enum (WaypointType )
הנתונים האלה יהיו ב-Vehicle.waypoint .
|
PointSource
מציין את המקור של LatLng
.
טיפוסים בני מנייה (enum) |
POINT_SOURCE_UNSPECIFIED |
מקור נקודה לא צוין. |
POINT_SOURCE_DEVELOPER_PROVIDED |
המפתח סיפק את LatLng במפורש. |
POINT_SOURCE_CALCULATED_FROM_PLACE |
הערך של LatLng חושב מהמקום שצוין. |
TerminalPointId
הוצא משימוש: כבר לא ניתן להשתמש ב-TerminalPoints ב-Fleet Engine. במקום זאת, אתם צריכים להשתמש ב-TerminalLocation.point
.
ייצוג ב-JSON |
{
"value": string,
// Union field Id can be only one of the following:
"placeId": string,
"generatedId": string
// End of list of possible types for union field Id .
} |
שדות |
value (deprecated) |
string
הוצא משימוש.
|
שדה האיחוד Id . הוצא משימוש. הערך של Id יכול להיות רק אחת מהאפשרויות הבאות: |
placeId (deprecated) |
string
הוצא משימוש.
|
generatedId (deprecated) |
string
הוצא משימוש.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-06-02 (שעון 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-06-02 (שעון UTC)."],[[["Waypoint location is described using the `point` field, represented by a LatLng object."],["The `terminalPointId`, `accessPointId`, `tripId`, and `terminalLocationType` fields are deprecated and should no longer be used."],["Instead of `TerminalPointId`, use `TerminalLocation.point` to specify location."],["`TerminalPointId` and its associated fields (`value`, `placeId`, `generatedId`) are deprecated and no longer supported."]]],[]]