@magiclane/maps-sdk
    Preparing search index...

    Class PTStopTime

    This class represents a public transport stop time.

    It contains the stop name, coordinates, a flag indicating if real-time information is available, a delay, an optional departure time, and a stop details value.

    Index

    Constructors

    • Constructor for the PTStopTime class.

      Parameters

      • params: {
            coordinates: Coordinates;
            delay: number;
            departureTime?: Date;
            hasRealtime: boolean;
            isBefore: boolean;
            stopDetails: number;
            stopName: string;
        }

      Returns PTStopTime

    Properties

    coordinates: Coordinates

    The coordinates of the stop.

    delay: number

    The delay in seconds.

    departureTime?: Date

    An optional departure time.

    hasRealtime: boolean

    A flag indicating if real-time information is available.

    isBefore: boolean

    Indicates whether the stop is before or after the current time.

    stopName: string

    The name of the stop.

    Accessors

    • get isWheelchairFriendly(): boolean

      Indicates whether the stop has wheelchair support.

      Returns boolean

    Methods

    • Parameters

      • param: any

      Returns PTStopTime

    • Parameters

      • param: any[]

      Returns PTStopTime[]