Home > @magiclane/maps-sdk > PTOccupancyStatus
PTOccupancyStatus enum
GTFS-RT vehicle occupancy status.
Treat anything above NotAcceptingPassengers as "no usable crowding data". The scale is NOT strictly linear - display the producer's state, don't interpolate.
Maps & 3D Scene
Signature:
export declare enum PTOccupancyStatus Enumeration Members
Member | Value | Description |
|---|---|---|
CrushedStandingRoomOnly |
| Crushed standing room only. |
Empty |
| Empty. |
FewSeatsAvailable |
| Few seats available. |
Full |
| Full. |
ManySeatsAvailable |
| Many seats available. |
NoDataAvailable |
| No usable crowding data. |
NotAcceptingPassengers |
| Not accepting passengers. |
NotBoardable |
| Not boardable (no usable crowding data). |
StandingRoomOnly |
| Standing room only. |