Moving vector tile layer's MVT to Feature (instead of RenederdFeature) to prepare for clustering.

This commit is contained in:
vdv committed 2023-01-17 12:40:38 +01:00
1 parent 4917d27c9c
commit 12466d214c
2 files changed
+4 -7

No files matched your search

+1 -1
View File
@@ -236,7 +236,7 @@ const Map: Component = () => {
});
const vectorTileSource1 = new VectorTileSource({
format: new MVT(),
format: new MVT({ featureClass: Feature }),
url: 'https://geo.dyomedea.com/services/spain/tiles/{z}/{x}/{y}.pbf',
maxZoom: 14,
});