aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-01-30 23:10:37 +0100
committerGuilhem Moulin <guilhem@fripost.org>2024-01-31 02:04:59 +0100
commit6406dbb6b3cce89d7ba3080dfe23367b05353e87 (patch)
treecb2dcd7b3c3fcb12a37854c908bf8ee7c2801004
parent97b27eee6b6b2cc93a15da1aa84c138f88338385 (diff)
Fix VectorTile URL.
-rw-r--r--main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.js b/main.js
index 1827b39..e1c2db9 100644
--- a/main.js
+++ b/main.js
@@ -1482,7 +1482,7 @@ const layerHierarchy = [
];
const vectorSource = new VectorTile({
- url: '/public/xyztiles/{z}/{x}/{y}.pbf',
+ url: '/tiles/{z}/{x}/{y}.pbf',
format: new MVT(),
projection: projection,
wrapX: false,