LineGroup interface

A line group

Properties

agencyId

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

agencyName

The name of the transit agency, e.g. Metro Transit.

caption1

A descriptive string. In case caption2 is null, should be used alone as a subtitle to the line number (i.e. Circular). In case caption2 has a value present, should be used in conjunction with it (i.e. Rome ↔ Napoli).

caption2

A descriptive string.

color

HEX color for the line.

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.

lineNumber

The transit line number.

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, e.g. Metro Transit.

agencyName?: string

Property Value

string

caption1

A descriptive string. In case caption2 is null, should be used alone as a subtitle to the line number (i.e. Circular). In case caption2 has a value present, should be used in conjunction with it (i.e. Rome ↔ Napoli).

caption1?: string

Property Value

string

caption2

A descriptive string.

caption2?: string

Property Value

string

color

HEX color for the line.

color?: 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

lineNumber

The transit line number.

lineNumber?: 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