Routes Preferred API 目前僅適用於特定客戶。如需瞭解詳情,請
聯絡銷售人員。
Google 會運用 AI 技術將內容翻譯成你偏好的語言,但可能會出錯。
Location
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
| JSON 表示法 |
{
"latLng": {
object (LatLng)
},
"heading": integer
} |
| 欄位 |
latLng |
object (LatLng)
航點的地理座標。
|
heading |
integer
與車流方向相關聯的指南針方向。這個值可指定上車和下車地點的道路邊。標題值可以介於 0 到 360 之間,其中 0 可指定向北的方向、90 指定往東方向的方向,依此類推。這個欄位僅適用於 DRIVE 和 TWO_WHEELER 交通方式。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-31 (世界標準時間)。
[[["容易理解","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-08-31 (世界標準時間)。"],[],["The content describes a location represented in JSON, which includes geographic coordinates (`latLng`) and an optional compass heading. `latLng` specifies the location's coordinates, while `heading` indicates the direction of traffic flow, relevant for `DRIVE` and `TWO_WHEELER` modes. The heading value ranges from 0 to 360, with 0 being North and 90 East. This structure defines a waypoint's location and directional context for specific travel modes.\n"]]