Enum Avoid
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
피해야 할 사항
경로를 찾을 때 피해야 할 제한사항 유형을 나타내는 enum입니다.
enum을 호출하려면 상위 클래스, 이름, 속성을 호출합니다.
Maps.Avoid.TOLLS
을 예로 들 수 있습니다.
속성
속성 | 유형 | 설명 |
TOLLS | Enum | 유료도로를 제외하세요. |
HIGHWAYS | Enum | 고속도로를 제외하세요. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003e\u003ccode\u003eMaps.Avoid\u003c/code\u003e is an enum used to specify route restrictions when requesting directions.\u003c/p\u003e\n"],["\u003cp\u003eIt includes options like \u003ccode\u003eTOLLS\u003c/code\u003e and \u003ccode\u003eHIGHWAYS\u003c/code\u003e to avoid specific road types.\u003c/p\u003e\n"],["\u003cp\u003eYou can use these options by calling the enum property through the parent class, for example, \u003ccode\u003eMaps.Avoid.TOLLS\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum Avoid\n\nAvoid\n\nAn enum representing the types of restrictions to avoid when finding directions.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nMaps.Avoid.TOLLS`. \n\n### Properties\n\n| Property | Type | Description |\n|------------|--------|-----------------|\n| `TOLLS` | `Enum` | Avoid tolls. |\n| `HIGHWAYS` | `Enum` | Avoid highways. |"]]