src/ol/format/MVT.js
function readRawFeature(pbf, layer, i) {
  pbf.pos = layer.features[i];
  const end = pbf.readVarint() + pbf.pos;

  const feature = {
    layer: layer,
    type: 0,
    properties: {}
  };
  pbf.readFields(featurePBFReader, feature, end);
  return feature;
}
function readRawFeature(pbf, layer, i) {
  pbf.pos = layer.features[i];
  const end = pbf.readVarint() + pbf.pos;

  const feature = {
    layer: layer,
    type: 0,
    properties: {}
  };
  pbf.readFields(featurePBFReader, feature, end);
  return feature;
}
function readRawFeature ( pbf , layer , i ) { pbf . pos = layer . features [ i ] ; const end = pbf . readVarint ( ) + pbf . pos ; const feature = { layer : layer , type : 0 , properties : { } } ; pbf . readFields ( featurePBFReader , feature , end ) ; return feature ; }
Read a raw feature from the pbf offset stored at index `i` in the raw layer.
@param {PBF} pbf PBF.
@param {Object} layer Raw layer.
@param {number} i Index of the feature in the raw layer's `features` array.
@return {Object} Raw feature.
Read a raw feature from the pbf offset stored at index i in the raw layer .