Sorry, you need to enable JavaScript to visit this website.
wojtasze's picture

Why did the Routing API route me through a traffic incident when I requested the fastest route I could get? Doesn't it take account of traffic?

The Routing API calculates the fastest route through the given waypoints, taking traffic into account if the traffic parameter is true. For example, suppose there are two routes from point A to point B. One of them is a motorway with a speed limit of 100kph, but traffic has slowed cars down to 80 kph. The other route is an empty surface street with a speed limit of 30kph. In those circumstances the software will choose the motorway route, because even though it goes through traffic, it is still the quickest way from A to B.