new StationFeedDeparturePosition( lat, lon [, description ], updated )

Description

Station Feed Departure Position

Real-time Position Information about a departure from a Stop. Used by the StationFeedDeparture Class.

To access this Class directly:

const core = require('right-track-core');
			const SF = core.classes.StationFeed;
			const StationFeedDeparturePosition = SF.StationFeedDeparturePosition;
			
Parameters
Name Type Attributes Description
lat Number

Latitude of real-time position

lon Number

Longitude of real-time position

description String <optional>

Description of real-time position (ie "In transit to {next stop}")

updated DateTime

DateTime of when the real-time position was last updated

Members


lat :Number

Description

The real-time position latitude


lon :Number

Description

The real-time position longitude


description :String

Description

The real-time position description


updated :DateTime

Description

The date/time of when the real-time position was last updated