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

1

Avoid all traffic events: congestions and roadblocks

none

0

Disable traffic avoidance

roadblocks

2

Avoid only roadblock traffic events