mapcomplete/assets/layers/sports_centre/sports_centre.json

71 lines
No EOL
1.3 KiB
JSON

{
"id": "sports_centre",
"name": {
"en": "Sports centres",
"de": "Sportzentren"
},
"description": {
"en": "Indoor and outdoor sports centres can be found on this layer",
"de": "Hallen- und Freiluftsportzentren sind auf dieser Ebene zu finden"
},
"minzoom": 12,
"source": {
"osmTags": "leisure=sports_centre"
},
"title": {
"render": {
"en": "Sports centre",
"de": "Sportzentrum"
},
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
"tagRenderings": [
"images",
"opening_hours",
"phone",
"website",
"email",
"wheelchair-access"
],
"presets": [
{
"title": {
"en": "a sports centre",
"de": "ein Sportzentrum"
},
"tags": [
"leisure=sports_centre"
]
}
],
"mapRendering": [
{
"icon": "circle:white;./assets/layers/sports_centre/sports_centre.svg",
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
}
],
"location": [
"point",
"centroid"
]
},
{
"color": "darkgreen",
"fill": "no"
}
],
"allowMove": {
"enableImproveAccuracy": true
},
"filter": [
"open_now"
]
}