Home > @magiclane/maps-sdk > PTStop
PTStop class
Public transport stop metadata.
Represents a stop (or platform/entrance) with an id, display name and the set of routes that serve it.
Instances are produced as part of PTStopInfo.stops.
Maps & 3D Scene
Signature:
export declare class PTStop Constructors
|
Constructor |
Modifiers |
Description |
|---|---|---|
|
(constructor)({ stopId, stopName, isStation, routes, }, input) |
Create a PTStop. API users do not typically create instances of this class directly. |
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
|
boolean |
(Optional) True when the stop is a station; otherwise null/false. | |
|
|
Routes serving the stop. | ||
|
|
number |
Numeric stop identifier. | |
|
|
string |
Stop display name. |