This code sample describes how to calculate a route with different traffic modesFor detailed information see the Traffic Modes concept.