The routing engine prioritizes links included in the route for travel time during the day, link distance, other features, and traffic information (if enabled).
In most use cases, you need a route with the fastest travel time, which you can request using the
fastest routing type. However, there may be times when it is necessary to choose another routing type.
RoutingTypeparameter. Routing types prioritize these elements as follows:
fastest: routing favors the least amount of travel time, can consider traffic if it is enabled (most commonly used routing type)
shortest: routing favors the least amount of travel distance, always disregards traffic
balanced: routing balances travel time and distance; can consider traffic if it is enabled