function manifestLayerV2()

in scripts/generate-manifest.js [161:170]


function manifestLayerV2(data, hostname, opts) {
  const layer = manifestLayerV1(data, hostname, opts);
  const format = getDefaultFormat(data.emsFormats);
  if (format.type === 'topojson') {
    layer.meta = {
      feature_collection_path: get(format, 'meta.feature_collection_path', 'data'),
    };
  }
  return layer;
}