Một tập hợp enum do Direction
sử dụng.
Class DirectionFinderEnums
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-28 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-28 UTC."],[[["\u003cp\u003e\u003ccode\u003eDirectionFinderEnums\u003c/code\u003e houses enums (\u003ccode\u003eAvoid\u003c/code\u003e, \u003ccode\u003eMode\u003c/code\u003e) for customizing route calculations in Google Apps Script's \u003ccode\u003eDirectionFinder\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThese enums, accessed via \u003ccode\u003eDirectionFinderEnums.Avoid\u003c/code\u003e and \u003ccode\u003eDirectionFinderEnums.Mode\u003c/code\u003e, allow developers to specify route preferences like avoiding tolls or highways, and selecting travel modes such as driving, walking, or bicycling.\u003c/p\u003e\n"]]],[],null,["# Class DirectionFinderEnums\n\nDirectionFinderEnums\n\nA collection of enums used by [DirectionFinder](/apps-script/reference/maps/direction-finder). \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------------------------------------------|-------------|\n| `Avoid` | [Avoid](/apps-script/reference/maps/avoid) | |\n| `Mode` | [Mode](/apps-script/reference/maps/mode) | |"]]