nodejs/gtfs-realtime.js
function Position(properties) {
            if (properties)
                for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                    if (properties[keys[i]] != null)
                        this[keys[i]] = properties[keys[i]];
        }
function Position(properties) {
            if (properties)
                for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                    if (properties[keys[i]] != null)
                        this[keys[i]] = properties[keys[i]];
        }
function Position ( properties ) { if ( properties ) for ( var keys = Object . keys ( properties ) , i = 0 ; i < keys . length ; ++ i ) if ( properties [ keys [ i ] ] != null ) this [ keys [ i ] ] = properties [ keys [ i ] ] ; }
Properties of a Position.
@memberof transit_realtime
@interface IPosition
@property {number} latitude Position latitude
@property {number} longitude Position longitude
@property {number|null} [bearing] Position bearing
@property {number|null} [odometer] Position odometer
@property {number|null} [speed] Position speed
 
Constructs a new Position.
@memberof transit_realtime
@classdesc Represents a Position.
@implements IPosition
@constructor
@param {transit_realtime.IPosition=} [properties] Properties to set
Properties of a Position .