[[["容易理解","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-03-01 (世界標準時間)。"],[[["The Routes API's `Compute Routes` method can optimize the order of stops (waypoints) for greater efficiency by considering factors like travel time, distance, and turns."],["To enable waypoint optimization, ensure no waypoints are marked as `via`, avoid using `TRAFFIC_AWARE_OPTIMAL` routing preference, and set `optimizeWaypointOrder` to `true`."],["The API indexes waypoints based on their order in the request, optimizes the order, and returns the optimized sequence in the `optimizedIntermediateWaypointIndex` field."],["Requests with waypoint optimization are billed at a higher rate on the ComputeRoutes-Advanced SKU."]]],["The Routes API can optimize the order of stopover waypoints to create a more efficient route. To enable this, set `optimize_waypoint_order` to `true`, ensure no waypoints have `via: true` and the `routing_preference` is not `TRAFFIC_AWARE_OPTIMAL`. The API indexes waypoints, optimizes their order based on factors like travel time and distance, and returns the optimized order in `routes.optimizedIntermediateWaypointIndex`. This optimization is billed at a higher rate.\n"]]