Line interface

A stop line

Properties

agencyId

The Id of the transit agency, for example, '5872'.

agencyName

The name of the transit agency, for example, 'NJ Transit'.

direction

Line direction. Possible values 'forward' or 'backward'.

lineDestination

The line’s user displayable destination.

lineGroupId

Line group Id. Typically contains 2 lines having the same agency and line, one going from A to B, and the other from B to A.

lineId

Line Id.

lineNumber

The transit line number.

mostFrequentPatternId

Most common pattern for the line.

origin

The line’s origin, will be present according to metro settings.

transitType

The public transit type of the line. Possible values include: 'Bus', 'CableCar', 'Ferry', 'Funicular', 'Gondola', 'Rail', 'Tram', 'Subway'

Property Details

agencyId

The Id of the transit agency, for example, '5872'.

agencyId?: string

Property Value

string

agencyName

The name of the transit agency, for example, 'NJ Transit'.

agencyName?: string

Property Value

string

direction

Line direction. Possible values 'forward' or 'backward'.

direction?: string

Property Value

string

lineDestination

The line’s user displayable destination.

lineDestination?: string

Property Value

string

lineGroupId

Line group Id. Typically contains 2 lines having the same agency and line, one going from A to B, and the other from B to A.

lineGroupId?: string

Property Value

string

lineId

Line Id.

lineId?: string

Property Value

string

lineNumber

The transit line number.

lineNumber?: string

Property Value

string

mostFrequentPatternId

Most common pattern for the line.

mostFrequentPatternId?: string

Property Value

string

origin

The line’s origin, will be present according to metro settings.

origin?: string

Property Value

string

transitType

The public transit type of the line. Possible values include: 'Bus', 'CableCar', 'Ferry', 'Funicular', 'Gondola', 'Rail', 'Tram', 'Subway'

transitType?: TransitType

Property Value