Moving vector tile layer's MVT to Feature (instead of RenederdFeature) to prepare for clustering.
This commit is contained in:
1 parent
4917d27c9c
commit
12466d214c
2 files changed
+4
-7
No files matched your search
@@ -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,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user