Cluster styling tweaks, tweaks to NP

This commit is contained in:
Pieter Vander Vennet 2021-10-13 01:28:46 +02:00
parent 8f674b7976
commit adb36c2ffe
6 changed files with 30 additions and 32 deletions

View file

@ -28,8 +28,8 @@
"render": "<div class='rounded-full text-xl font-bold' style='width: 2rem; height: 2rem; background: white'>{count}</div>",
"mappings": [
{
"if": "count>99",
"then": "<div class='rounded-full text-xl font-bold flex flex-col' style='width: 2.5rem; height: 2.5rem; background: white'>&gt;99</div>"
"if": "count>1000",
"then": "<div class='rounded-full text-xl font-bold flex flex-col' style='width: 2.5rem; height: 2.5rem; background: white'>{kilocount}K</div>"
}
]
}

View file

@ -32,10 +32,9 @@
"enablePdfDownload": true,
"enableDownload": true,
"hideFromOverview": true,
"clustering": {
"#": "Disable clustering for this theme",
"maxZoom": 1,
"hideBoxesAboveMinZoom": true
"clustering": {
"maxZoom": 0
},
"layers": [
{
@ -110,10 +109,10 @@
]
},
"geoJson": "https://pietervdvn.github.io/natuurpunt_cache/natuurpunt_{layer}_{z}_{x}_{y}.geojson",
"geoJsonZoomLevel": 10,
"geoJsonZoomLevel": 12,
"isOsmCache": true
},
"minzoom": "13",
"minzoom": 10,
"icon": {
"render": "circle:#FE6F32;./assets/themes/natuurpunt/trail.svg",
"mappings": [