diff --git a/Logic/FeatureSource/TiledFeatureSource/DynamicGeoJsonTileSource.ts b/Logic/FeatureSource/TiledFeatureSource/DynamicGeoJsonTileSource.ts
index fc110e1c2c..67e57ce7fa 100644
--- a/Logic/FeatureSource/TiledFeatureSource/DynamicGeoJsonTileSource.ts
+++ b/Logic/FeatureSource/TiledFeatureSource/DynamicGeoJsonTileSource.ts
@@ -48,8 +48,7 @@ export default class DynamicGeoJsonTileSource extends DynamicTileSource {
if(whitelist !== undefined){
const isWhiteListed = whitelist.get(zxy[1])?.has(zxy[2])
if(!isWhiteListed){
- console.log("Not whitelisted:",zxy, isWhiteListed, whitelist)
- // return undefined;
+ return undefined;
}
}
diff --git a/UI/ShowDataLayer/TileHierarchyAggregator.ts b/UI/ShowDataLayer/TileHierarchyAggregator.ts
index cdaa5e4206..c8a19ab5fa 100644
--- a/UI/ShowDataLayer/TileHierarchyAggregator.ts
+++ b/UI/ShowDataLayer/TileHierarchyAggregator.ts
@@ -159,10 +159,8 @@ export class TileHierarchyAggregator implements FeatureSource {
const self = this
const empty = []
return new StaticFeatureSource(
- locationControl.map(loc => {
- const targetZoom = loc.zoom
-
- if(targetZoom > clusteringConfig.maxZoom){
+ locationControl.map(loc => loc.zoom).map(targetZoom => {
+ if(targetZoom-1 > clusteringConfig.maxZoom){
return empty
}
diff --git a/assets/themes/natuurpunt/natuurpunt.json b/assets/themes/natuurpunt/natuurpunt.json
index 54effec905..ba59302079 100644
--- a/assets/themes/natuurpunt/natuurpunt.json
+++ b/assets/themes/natuurpunt/natuurpunt.json
@@ -32,7 +32,7 @@
"enablePdfDownload": true,
"enableDownload": true,
"hideFromOverview": true,
- "#": "Disable clustering for this theme",
+ "#": "Disable clustering for this theme",
"clustering": {
"maxZoom": 0
},
@@ -71,7 +71,6 @@
]
},
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_nature_reserve_points.geojson",
- "geoJsonZoomLevel": 0,
"isOsmCache": "duplicate"
},
"minzoom": 1,
diff --git a/assets/themes/toerisme_vlaanderen/toerisme_vlaanderen.json b/assets/themes/toerisme_vlaanderen/toerisme_vlaanderen.json
index 489c36ed7d..ce9864c202 100644
--- a/assets/themes/toerisme_vlaanderen/toerisme_vlaanderen.json
+++ b/assets/themes/toerisme_vlaanderen/toerisme_vlaanderen.json
@@ -14,7 +14,7 @@
"nl": "Een kaart om toeristisch relevante info op aan te duiden"
},
"description": {
- "nl": "Op deze kaart kan je info zien die relevant is voor toerisme, zoals: