Fix: correct minzoom on all themes

This commit is contained in:
Pieter Vander Vennet 2023-10-09 02:52:22 +02:00
parent d43f8c0080
commit bde5878fed
11 changed files with 45 additions and 45 deletions

View file

@ -20,7 +20,7 @@
] ]
} }
}, },
"minzoom": 19, "minzoom": 18,
"title": { "title": {
"render": { "render": {
"en": "Ticket Machine", "en": "Ticket Machine",

View file

@ -13,7 +13,7 @@
"source": { "source": {
"osmTags": "amenity=ticket_validator" "osmTags": "amenity=ticket_validator"
}, },
"minzoom": 19, "minzoom": 18,
"title": { "title": {
"render": { "render": {
"en": "Ticket Validator", "en": "Ticket Validator",

View file

@ -47,7 +47,7 @@
"osmTags": "building~*", "osmTags": "building~*",
"maxCacheAge": 0 "maxCacheAge": 0
}, },
"minzoom": 19, "minzoom": 18,
"calculatedTags": [ "calculatedTags": [
"_surface:strict:=feat(get)('_surface')" "_surface:strict:=feat(get)('_surface')"
], ],
@ -154,7 +154,7 @@
}, },
"maxCacheAge": 0 "maxCacheAge": 0
}, },
"minzoom": 19, "minzoom": 18,
"mapRendering": [ "mapRendering": [
{ {
"label": { "label": {
@ -194,7 +194,7 @@
"osmTags": "identificatie~*", "osmTags": "identificatie~*",
"maxCacheAge": 0 "maxCacheAge": 0
}, },
"minzoom": 19, "minzoom": 18,
"calculatedTags": [ "calculatedTags": [
"_overlaps_with_buildings=overlapWith(feat)('osm:buildings').filter(f => f.feat.properties.id.indexOf('-') < 0)", "_overlaps_with_buildings=overlapWith(feat)('osm:buildings').filter(f => f.feat.properties.id.indexOf('-') < 0)",
"_overlaps_with=feat(get)('_overlaps_with_buildings').find(f => f.overlap > 1 /* square meter */ )", "_overlaps_with=feat(get)('_overlaps_with_buildings').find(f => f.overlap > 1 /* square meter */ )",
@ -379,7 +379,7 @@
"osmTags": "identificatie~*", "osmTags": "identificatie~*",
"maxCacheAge": 0 "maxCacheAge": 0
}, },
"minzoom": 19, "minzoom": 18,
"calculatedTags": [ "calculatedTags": [
"_closed_osm_addr:=closest(feat)('osm:adresses').properties", "_closed_osm_addr:=closest(feat)('osm:adresses').properties",
"_bag_obj:addr:housenumber=`${feat.properties.huisnummer}${feat.properties.huisletter}${(feat.properties.toevoeging != '') ? '-' : ''}${feat.properties.toevoeging}`", "_bag_obj:addr:housenumber=`${feat.properties.huisnummer}${feat.properties.huisletter}${(feat.properties.toevoeging != '') ? '-' : ''}${feat.properties.toevoeging}`",

View file

@ -68,7 +68,7 @@
{ {
"builtin": "kerbs", "builtin": "kerbs",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"mapRendering": [ "mapRendering": [
{ {
"iconBadges": [ "iconBadges": [

View file

@ -468,7 +468,10 @@
"guidepost" "guidepost"
], ],
"override": { "override": {
"minzoom": 15 "minzoom": 15,
"mapRendering": [{
"iconSize": "30,30"
}]
} }
} }
], ],

View file

@ -111,7 +111,7 @@
"=presets": [], "=presets": [],
"=name": null, "=name": null,
"override": { "override": {
"minzoom": 19 "minzoom": 18
} }
} }
] ]

View file

@ -32,7 +32,7 @@
{ {
"builtin": "indoors", "builtin": "indoors",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"name": null, "name": null,
"passAllFeatures": true "passAllFeatures": true
} }
@ -43,7 +43,7 @@
"name": null, "name": null,
"tagRendering": null, "tagRendering": null,
"title": "null", "title": "null",
"minzoom": 19, "minzoom": 18,
"shownByDefault": false "shownByDefault": false
} }
}, },
@ -71,7 +71,7 @@
{ {
"builtin": "entrance", "builtin": "entrance",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"mapRendering": [ "mapRendering": [
{ {
"icon": "circle:white;./assets/themes/onwheels/entrance.svg" "icon": "circle:white;./assets/themes/onwheels/entrance.svg"
@ -131,7 +131,7 @@
{ {
"builtin": "kerbs", "builtin": "kerbs",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"syncSelection": "theme-only", "syncSelection": "theme-only",
"mapRendering": [ "mapRendering": [
{ {
@ -289,7 +289,7 @@
{ {
"builtin": "toilet", "builtin": "toilet",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"syncSelection": "theme-only", "syncSelection": "theme-only",
"mapRendering": [ "mapRendering": [
{ {
@ -349,7 +349,7 @@
{ {
"builtin": "reception_desk", "builtin": "reception_desk",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"syncSelection": "theme-only" "syncSelection": "theme-only"
} }
}, },
@ -357,7 +357,7 @@
{ {
"builtin": "elevator", "builtin": "elevator",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"syncSelection": "theme-only", "syncSelection": "theme-only",
"mapRendering": [ "mapRendering": [
{ {

View file

@ -165,7 +165,7 @@
{ {
"builtin": "food", "builtin": "food",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"filter": null, "filter": null,
"name": null "name": null
} }
@ -181,7 +181,7 @@
{ {
"builtin": "shops", "builtin": "shops",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"filter": null, "filter": null,
"presets": [ "presets": [
{ {

View file

@ -32,7 +32,7 @@
{ {
"builtin": "indoors", "builtin": "indoors",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"passAllFeatures": true, "passAllFeatures": true,
"mapRendering": [ "mapRendering": [
{}, {},
@ -50,7 +50,7 @@
{ {
"builtin": "stairs", "builtin": "stairs",
"override": { "override": {
"minzoom": 19 "minzoom": 18
} }
}, },
{ {
@ -130,7 +130,7 @@
] ]
}, },
"presets": null, "presets": null,
"minzoom": 19 "minzoom": 18
} }
}, },
{ {
@ -143,7 +143,7 @@
] ]
}, },
"presets": null, "presets": null,
"minzoom": 19, "minzoom": 18,
"mapRendering": [ "mapRendering": [
{ {
"icon": "circle:white;./assets/themes/stations/bicycle_parking.svg" "icon": "circle:white;./assets/themes/stations/bicycle_parking.svg"
@ -161,7 +161,7 @@
] ]
}, },
"presets": null, "presets": null,
"minzoom": 19, "minzoom": 18,
"mapRendering": [ "mapRendering": [
{ {
"icon": "circle:white;./assets/themes/stations/rental_bicycle.svg" "icon": "circle:white;./assets/themes/stations/rental_bicycle.svg"
@ -179,7 +179,7 @@
] ]
}, },
"presets": null, "presets": null,
"minzoom": 19 "minzoom": 18
} }
}, },
{ {
@ -195,7 +195,7 @@
] ]
}, },
"presets": null, "presets": null,
"minzoom": 19, "minzoom": 18,
"mapRendering+": [ "mapRendering+": [
{ {
"color": "#00f", "color": "#00f",
@ -214,7 +214,7 @@
] ]
}, },
"presets": null, "presets": null,
"minzoom": 19, "minzoom": 18,
"mapRendering+": [ "mapRendering+": [
{ {
"color": "yellow", "color": "yellow",
@ -235,13 +235,13 @@
"clock" "clock"
], ],
"override": { "override": {
"minzoom": 19 "minzoom": 18
} }
}, },
{ {
"builtin": "bench", "builtin": "bench",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"mapRendering": [ "mapRendering": [
{ {
"icon": "./assets/themes/stations/bench.svg" "icon": "./assets/themes/stations/bench.svg"
@ -252,7 +252,7 @@
{ {
"builtin": "drinking_water", "builtin": "drinking_water",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"mapRendering": [ "mapRendering": [
{ {
"icon": "circle:white;./assets/themes/stations/drinking_water.svg" "icon": "circle:white;./assets/themes/stations/drinking_water.svg"
@ -293,7 +293,7 @@
"zh_Hant": "時刻表" "zh_Hant": "時刻表"
} }
}, },
"minzoom": 19, "minzoom": 18,
"source": { "source": {
"osmTags": { "osmTags": {
"and": [ "and": [

View file

@ -221,7 +221,7 @@
] ]
} }
}, },
"minzoom": 19, "minzoom": 18,
"title": { "title": {
"render": { "render": {
"en": "Street", "en": "Street",

View file

@ -36,22 +36,19 @@
{ {
"builtin": "bike_parking", "builtin": "bike_parking",
"override": { "override": {
"minzoom": 19, "minzoom": 18
"minzoomVisible": 19
} }
}, },
{ {
"builtin": "parking", "builtin": "parking",
"override": { "override": {
"minzoom": 19, "minzoom": 18
"minzoomVisible": 19
} }
}, },
{ {
"builtin": "shelter", "builtin": "shelter",
"override": { "override": {
"minzoom": 19, "minzoom": 18,
"minzoomVisible": 19,
"source": { "source": {
"osmTags": { "osmTags": {
"and": [ "and": [