Add minzoom for charging stations

This commit is contained in:
Pieter Vander Vennet 2021-10-11 12:51:54 +02:00
parent 03e81b602b
commit 4f4203f670
2 changed files with 7 additions and 2 deletions

View file

@ -92,7 +92,7 @@ export default class LayoutConfig {
throw "Widenfactor too small"
}else{
// Unofficial themes get away with this
console.warn("Detected a very small widenfactor, bumping this above 1.")
console.warn("Detected a very small widenfactor for theme ", this.id ,", bumping this above 1.")
json.widenFactor = json.widenFactor + 1
}
}

View file

@ -31,7 +31,12 @@
"minzoom": 16
}
},
"charging_station",
{
"builtin": "charging_station",
"override": {
"minzoom": 16
}
},
"toilet",
"bench",
"waste_basket",