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

    Class PTStop

    This class represents a public transport stop.

    It contains the stop's ID, name, an optional flag indicating if it's a station, and a list of routes associated with the stop.

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Constructor for the PTStop class.

      Parameters

      • params: { isStation?: boolean; routes: PTRouteInfo[]; stopId: number; stopName: string }

      Returns PTStop

    Properties

    isStation?: boolean

    An optional flag indicating if the stop is a station.

    routes: PTRouteInfo[]

    A list of routes associated with the stop. This is a list of PTRouteInfo objects.

    stopId: number

    The ID of the stop.

    stopName: string

    The name of the stop.

    Methods

    • Parameters

      • param: any

      Returns PTStop