lib/proto/index.js
function Node(properties) {
            this.keys = [];
            this.vals = [];
            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 Node(properties) {
            this.keys = [];
            this.vals = [];
            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 Node ( properties ) { this . keys = [ ] ; this . vals = [ ] ; 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 Node.
@memberof OSMPBF
@interface INode
@property {number|Long} id Node id
@property {Array.<number>|null} [keys] Node keys
@property {Array.<number>|null} [vals] Node vals
@property {OSMPBF.IInfo|null} [info] Node info
@property {number|Long} lat Node lat
@property {number|Long} lon Node lon
 
Constructs a new Node.
@memberof OSMPBF
@classdesc Represents a Node.
@implements INode
@constructor
@param {OSMPBF.INode=} [properties] Properties to set
Properties of a Node .