diff options
| author | Guilhem Moulin <guilhem@fripost.org> | 2024-01-22 01:20:42 +0100 |
|---|---|---|
| committer | Guilhem Moulin <guilhem@fripost.org> | 2024-01-22 02:34:35 +0100 |
| commit | d35a43f0e99d523e373c2810eaf31932cfb679d0 (patch) | |
| tree | 7979144433d71f0697b110631b6b6115632322f2 | |
| parent | 903db548db931caca9fefc8afd6e0a1059a2fd39 (diff) | |
VectorTile: Don't filter MVT layers.
We're only exporting the layers of interest, no need for any further
client-side filtering.
| -rw-r--r-- | main.js | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -554,9 +554,7 @@ const layerHierarchy = [ const vectorSource = new VectorTile({ url: '/public/xyztiles/{z}/{x}/{y}.pbf', - format: new MVT({ - layers: Object.keys(layers), - }), + format: new MVT(), projection: projection, wrapX: false, transition: 0, |
