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 做為輸入值,系統會從 place 計算 point ,並將其納入輸出內容。
|
place |
string
代表此位置的場景資源名稱。格式為 places/{placeId} 。必須指定 point 或 place 做為輸入內容。如果同時指定這兩個值,系統會使用 point 進行路由,並使用 place 處理中繼資料。只有在輸入內容中包含 place 時,輸出內容才會包含 place ,也就是說,系統不會從 LatLng 執行 place 查詢。 這是實驗功能。
|
pointLocationSource |
enum (PointSource )
僅供輸出。point 欄位的來源。
|
terminalPointId (deprecated) |
object (TerminalPointId )
已淘汰:請改為指定 place 欄位。
|
accessPointId (deprecated) |
string
已淘汰:請改為指定 place 欄位。
|
tripId (deprecated) |
string
已淘汰。
|
terminalLocationType (deprecated) |
enum (WaypointType )
已淘汰:Vehicle.waypoint 會提供這項資料。
|
PointSource
列舉 |
POINT_SOURCE_UNSPECIFIED |
未指定點狀來源。 |
POINT_SOURCE_DEVELOPER_PROVIDED |
LatLng 由開發人員明確提供。 |
POINT_SOURCE_CALCULATED_FROM_PLACE |
LatLng 是根據提供的位置計算得出。 |
TerminalPointId
已淘汰:Fleet Engine 不再支援 TerminalPoints。請改用 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
已淘汰。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-06-02 (世界標準時間)。
[[["容易理解","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 (世界標準時間)。"],[[["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."]]],[]]