aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.js b/main.js
index 01b797a..4ed491f 100644
--- a/main.js
+++ b/main.js
@@ -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,