可用流量選項
要求路線時,您可以選擇 Routes API 在計算路線時使用交通資料的方式。路況模型是一種將歷來路況和即時路況納入考量,以產生路線的方式,這可能會影響您取得的路線和預估行程時間。
以下是路線的交通選項:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-06 (世界標準時間)。
[null,null,["上次更新時間:2025-02-06 (世界標準時間)。"],[[["The Routes API offers options to customize how traffic data is used for route calculation, impacting both route selection and estimated travel times."],["You can choose to include or exclude traffic data, impacting the accuracy and speed of the results."],["Traffic-aware polylines provide detailed traffic conditions along the route but come with higher billing rates."],["Different traffic models can be selected to prioritize various factors like historical and live traffic conditions when estimating travel duration."]]],["The Routes API allows users to incorporate traffic data into route calculations. Users can choose to include or exclude traffic data for varying accuracy and response times. They can also opt for traffic-aware polylines, which provide traffic condition details along the route, though this incurs a higher cost. Furthermore, users can specify which traffic model to use, prioritizing factors in calculating travel duration based on traffic conditions.\n"]]