Home > @magiclane/maps-sdk > PTRouteSegment

PTRouteSegment class

Signature:

export declare class PTRouteSegment extends RouteSegmentBase 

Extends: RouteSegmentBase

Constructors

Constructor

Modifiers

Description

(constructor)(pointerId)

Constructs a new instance of the PTRouteSegment class

Properties

Property

Modifiers

Type

Description

agencyFareUrl

readonly

string

agencyName

readonly

string

agencyPhone

readonly

string

agencyUrl

readonly

string

arrivalDelayInSeconds

readonly

number

arrivalTime

readonly

Date | null

countAlerts

readonly

number

departureDelayInSeconds

readonly

number

departureTime

readonly

Date | null

hasBicycleSupport

readonly

boolean

hasWheelchairSupport

readonly

boolean

isSignificant

readonly

boolean

isStationWalk

readonly

boolean

lineBlockID

readonly

number

lineColor

readonly

Color

lineFrom

readonly

string

lineTextColor

readonly

Color

lineTowards

readonly

string

name

readonly

string

platformCode

readonly

string

realtimeStatus

readonly

RealtimeStatus

routeUrl

readonly

string

shortName

readonly

string

stayOnSameTransit

readonly

boolean

transitType

readonly

TransitType

Methods

Method

Modifiers

Description

getAlert(index)