[[["เข้าใจง่าย","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-04-24 UTC"],[[["The Routes Preferred API's `ComputeCustomRoutes` method enables planning routes based on objectives beyond the fastest route, such as compliance or driver preferences."],["`ComputeCustomRoutes` supports optimizing routes for `DRIVE` and `TWO_WHEELER` travel modes, but excludes intermediate waypoints and other travel modes."],["Using the Routes Preferred API with the Navigation SDK provides the best route planning outcomes, though they can utilize separate cloud projects."],["Before using the `ComputeCustomRoutes` method, enable it and verify your quota limits, requesting increases if necessary through Google Cloud Support."],["To specify desired data in the response, use field masks with the `ComputeCustomRoutes` method, selecting fields using dot-separated paths from the top-level response."]]],["The Routes Preferred API's `ComputeCustomRoutes` method allows route planning by specifying a route objective and minimizing deviations from the operator's selected route. This method supports `DRIVE` and `TWO_WHEELER` travel modes, excluding `via` waypoints. To use it, enable the method and specify a response field mask via `$fields`, `fields`, or `X-Goog-FieldMask`. Quota limits should be monitored. Use alongside the Navigation SDK to maximize route planning benefits. Additionally, toll fees can be calculated using this API.\n"]]