TrafficSection
Represents a route section with a traffic event.
Constructors
Constructs a TrafficSection object with the given parameters.
Constructs a TrafficSection object with the given parameters.
Important: This is a Public Preview API. It may be changed or removed at any time.
Properties
Effective speed of the incident, averaged over its entire length.
Effective speed of the incident in km/h, averaged over its entire length.
Distance from the the start point to the end point of the sectionLocation.
Magnitude of delay caused by the incident.
Distance from the start of the route to the start point of the sectionLocation.
Information about the location of a section on a route's geometry.
Type of the incident.
Functions
Returns geometry property of the class.
Returns routeOffset property of the class.
Returns length property of the class.
Returns simpleCategory property of the class.
Returns effectiveSpeedInKmh property of the class.
Returns delay property of the class.
Returns magnitudeOfDelay property of the class.
Returns tec property of the class.
Returns id property of the class.
Creates a copy of the object, with the option to modify some of its properties.