new TransitFeed( [ updated ] )

Description

Transit Feed

A real-time status information feed provided by a third-party Transit Agency.

The Transit Feed contains a list of Transit Divisions A Transit Division contains either a list of child Divisions or Events A Transit Event contains the status and details of an event.

Parameters
Name Type Attributes Description
updated Date <optional>

The Date/Time when the feed was last updated

Members


updated :Date

Description

The Date/Time when the feed was last updated


divisions :Array.<TransitDivision>

Description

List of Transit Divisions for this Feed

Methods


getEventCount() → {number}

Description

Get the number of Transit Events for this Feed

Returns