lib/proto/index.js
function PrimitiveBlock(properties) {
            this.primitivegroup = [];
            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 PrimitiveBlock(properties) {
            this.primitivegroup = [];
            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 PrimitiveBlock ( properties ) { this . primitivegroup = [ ] ; 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 PrimitiveBlock.
@memberof OSMPBF
@interface IPrimitiveBlock
@property {OSMPBF.IStringTable} stringtable PrimitiveBlock stringtable
@property {Array.<OSMPBF.IPrimitiveGroup>|null} [primitivegroup] PrimitiveBlock primitivegroup
@property {number|null} [granularity] PrimitiveBlock granularity
@property {number|Long|null} [latOffset] PrimitiveBlock latOffset
@property {number|Long|null} [lonOffset] PrimitiveBlock lonOffset
@property {number|null} [dateGranularity] PrimitiveBlock dateGranularity
 
Constructs a new PrimitiveBlock.
@memberof OSMPBF
@classdesc Represents a PrimitiveBlock.
@implements IPrimitiveBlock
@constructor
@param {OSMPBF.IPrimitiveBlock=} [properties] Properties to set
Properties of a PrimitiveBlock .