A collection of enums used by Direction
.
Class DirectionFinderEnums
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 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) | |"]]