Share via


RouteSection Class

Definition

Route sections contain additional information about parts of a route. Each section contains at least the elements startPointIndex, endPointIndex, and sectionType.

public class RouteSection
type RouteSection = class
Public Class RouteSection
Inheritance
RouteSection

Properties

DelayInSeconds

Delay in seconds caused by the incident.

DelayMagnitude

The magnitude of delay caused by the incident. These values correspond to the values of the response field ty of the Get Traffic Incident Detail API.

EffectiveSpeedInKmh

Effective speed of the incident in km/h, averaged over its entire length.

EndPointIndex

Index of the last point (offset 0) in the route this section applies to.

SectionType

Section types of the reported route response.

SimpleCategory

Type of the incident. Can currently be JAM, ROAD_WORK, ROAD_CLOSURE, or OTHER. See "tec" for detailed information.

StartPointIndex

Index of the first point (offset 0) in the route this section applies to.

Tec

Details of the traffic event, using definitions in the TPEG2-TEC standard. Can contain effectCode and causes elements.

TravelMode

Travel mode for the calculated route. The value will be set to other if the requested mode of transport is not possible in this section.

Applies to