This code sample showcases the Violation Events. There are 2 presets to demonstrate different violation types. Hover over the red parts of the polyline of the route, most of the time at start or destination, to see more information about the violation.
For detailed information see the Events concept.