97 lines
No EOL
2 KiB
JSON
97 lines
No EOL
2 KiB
JSON
{
|
|
"id": "fitness_centre",
|
|
"name": {
|
|
"en": "Fitness Centres",
|
|
"de": "Fitnessstudios"
|
|
},
|
|
"description": {
|
|
"en": "Layer showing fitness centres",
|
|
"de": "Ebene mit Fitnessstudios"
|
|
},
|
|
"source": {
|
|
"osmTags": "leisure=fitness_centre"
|
|
},
|
|
"minzoom": 12,
|
|
"title": {
|
|
"render": {
|
|
"en": "Fitness Centre",
|
|
"de": "Fitnessstudio"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "name~*",
|
|
"then": "{name}"
|
|
}
|
|
]
|
|
},
|
|
"tagRenderings": [
|
|
{
|
|
"id": "name",
|
|
"question": {
|
|
"en": "What is the name of this fitness centre?",
|
|
"de": "Wie lautet der Name des Fitnessstudios?"
|
|
},
|
|
"freeform": {
|
|
"key": "name",
|
|
"placeholder": {
|
|
"en": "Name of fitness centre",
|
|
"de": "Name des Fitnessstudios"
|
|
},
|
|
"type": "string"
|
|
},
|
|
"mappings": [
|
|
{
|
|
"if": "noname=yes",
|
|
"then": {
|
|
"en": "This fitness centre has no name",
|
|
"de": "Das Fitnessstudio hat keinen Namen"
|
|
}
|
|
}
|
|
],
|
|
"render": {
|
|
"en": "This fitness centre is called {name}",
|
|
"de": "Das Fitnessstudio heißt {name}"
|
|
}
|
|
},
|
|
"images",
|
|
"phone",
|
|
"email",
|
|
"website",
|
|
"opening_hours",
|
|
"wheelchair-access",
|
|
"level",
|
|
"reviews"
|
|
],
|
|
"presets": [
|
|
{
|
|
"tags": [
|
|
"leisure=fitness_centre"
|
|
],
|
|
"title": {
|
|
"en": "a fitness centre",
|
|
"de": "ein Fitnessstudio"
|
|
},
|
|
"icon": "./assets/layers/fitness_centre/gym.svg"
|
|
}
|
|
],
|
|
"mapRendering": [
|
|
{
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
],
|
|
"icon": "circle:white;./assets/layers/fitness_centre/gym.svg",
|
|
"iconSize": "40,40,center",
|
|
"label": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>",
|
|
"iconBadges": [
|
|
{
|
|
"if": "opening_hours~*",
|
|
"then": "isOpen"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"filter": [
|
|
"open_now"
|
|
]
|
|
} |