TrafficSection
Represents a route section with a traffic event.
Constructors
Link copied to clipboard
constructor(sectionLocation: SectionLocation, routeOffset: Distance, length: Distance, simpleCategory: SimpleCategory = SimpleCategory.OTHER, effectiveSpeedInKmh: Int, delay: Duration, magnitudeOfDelay: MagnitudeOfDelay? = null, tec: Tec? = null, id: String? = null)
Constructs a TrafficSection object with the given parameters.
constructor(sectionLocation: SectionLocation, routeOffset: Distance, length: Distance, simpleCategory: SimpleCategory = SimpleCategory.OTHER, effectiveSpeed: Speed, delay: Duration, magnitudeOfDelay: MagnitudeOfDelay? = null, tec: Tec? = null, id: String? = null)
Important: This is a Public Preview API. It may be changed or removed at any time.
Properties
Link copied to clipboard
Effective speed of the incident, averaged over its entire length.
Link copied to clipboard
Effective speed of the incident in km/h, averaged over its entire length.
Link copied to clipboard
Link copied to clipboard
Distance from the the start point to the end point of the sectionLocation.
Link copied to clipboard
Magnitude of delay caused by the incident.
Link copied to clipboard
Distance from the start of the route to the start point of the sectionLocation.
Link copied to clipboard
Information about the location of a section on a route's geometry.
Link copied to clipboard
Type of the incident.