How traffic conditions factor into routing and travel time estimates.
live uses real-time and historical traffic.
live
historical uses typical traffic patterns only.
historical
// Route considering current traffic (departing now)const trafficMode: TrafficInput = 'live';// Route based on typical patterns (planning ahead)const plannedRoute: TrafficInput = 'historical'; Copy
// Route considering current traffic (departing now)const trafficMode: TrafficInput = 'live';// Route based on typical patterns (planning ahead)const plannedRoute: TrafficInput = 'historical';
How traffic conditions factor into routing and travel time estimates.