Home > @magiclane/maps-sdk > TrafficAvoidance
TrafficAvoidance enum
Traffic avoidance options
Used to specify the level of traffic avoidance during route calculation. Determines which types of traffic events to avoid.
Routing
Signature:
export declare enum TrafficAvoidance Enumeration Members
Member | Value | Description |
|---|---|---|
all |
| Avoid all traffic events: congestions and roadblocks |
none |
| Disable traffic avoidance |
roadblocks |
| Avoid only roadblock traffic events |