[[["เข้าใจง่าย","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-20 UTC"],[[["The Routes API offers different traffic models (`BEST_GUESS`, `PESSIMISTIC`, `OPTIMISTIC`) to predict travel times based on various traffic conditions."],["You can specify the desired traffic model when calculating routes, with `BEST_GUESS` being the default, providing the most useful predictions for most use cases."],["`PESSIMISTIC` models travel time based on bad traffic days, likely resulting in a longer estimated duration, while `OPTIMISTIC` uses good traffic days, potentially resulting in a shorter duration."],["Live traffic information is integrated into the `BEST_GUESS` model, making it potentially shorter than `OPTIMISTIC` or longer than `PESSIMISTIC`."],["To use traffic models, include the `trafficModel` parameter in your request and specify `routes.duration` in the field mask."]]],["The Routes API's traffic models predict travel time, offering `BEST_GUESS` (default), `PESSIMISTIC` (longer), and `OPTIMISTIC` (shorter) durations. To use, set the origin, destination, and optional `departure_time`. Choose a `trafficModel` type and specify `routes.duration` in the field mask. The API calculates traffic-affected durations based on the selected model. Using `BEST_GUESS` integrate live information. The default is `BEST_GUESS`, and the duration returned varies depending on the chosen model. The service is pre-GA, it might have limited support and changes.\n"]]