From 860d7486363fc230d1af15810ef6837ef1d6e3fd Mon Sep 17 00:00:00 2001 From: gchoqueux Date: Thu, 20 May 2021 10:10:28 +0200 Subject: [PATCH] refactor(VectorTileParser): remove unnecessary parameters. --- src/Parser/VectorTileParser.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Parser/VectorTileParser.js b/src/Parser/VectorTileParser.js index f5f5f0450b..815fbf3fba 100644 --- a/src/Parser/VectorTileParser.js +++ b/src/Parser/VectorTileParser.js @@ -108,10 +108,6 @@ function readPBF(file, options) { // Only if the layer.origin is top const y = options.in.isInverted ? file.extent.row : (1 << z) - file.extent.row - 1; - options.out.buildExtent = true; - options.out.mergeFeatures = true; - options.out.structure = '2d'; - const collection = new FeatureCollection(options.out); const vFeature = vectorTile.layers[sourceLayers[0]];