mapcomplete/assets/layers/fitness_centre/fitness_centre.json

131 lines
3.2 KiB
JSON

{
"id": "fitness_centre",
"name": {
"en": "Fitness Centres",
"de": "Fitnessstudios",
"ca": "Centre de fitnes o gimnàs",
"nl": "Fitnesscentra",
"cs": "Fitness centra"
},
"description": {
"en": "Layer showing fitness centres",
"de": "Ebene mit Fitnessstudios",
"ca": "Capa que mostra centres de fitnes o gimnasos",
"nl": "Laag die fitnesscentra toon",
"cs": "Vrstva zobrazující fitness centra"
},
"source": {
"osmTags": "leisure=fitness_centre"
},
"minzoom": 12,
"title": {
"render": {
"en": "Fitness Centre",
"de": "Fitnessstudio",
"nl": "Fitness-centrum",
"ca": "Centre de fitness",
"cs": "Fitness centrum"
},
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
"pointRendering": [
{
"location": [
"point",
"centroid"
],
"iconSize": "40,40",
"label": "<div style='background: white; padding: 0.25em; border-radius:0.5em'>{name}</div>",
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
}
],
"anchor": "center",
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": "./assets/layers/fitness_centre/gym.svg"
}
]
}
],
"lineRendering": [],
"presets": [
{
"tags": [
"leisure=fitness_centre"
],
"title": {
"en": "a fitness centre",
"de": "ein Fitnessstudio",
"nl": "een fitness-centrum",
"ca": "un centre de fitness",
"cs": "fitness centra"
},
"icon": "./assets/layers/fitness_centre/gym.svg"
}
],
"tagRenderings": [
{
"id": "name",
"question": {
"en": "What is the name of this fitness centre?",
"de": "Wie lautet der Name des Fitnessstudios?",
"nl": "Wat is de naam van dit fitness-centrum?",
"ca": "Quin és el nom d'aquest centre de fitness?",
"cs": "Jak se jmenuje toto fitness centrum?"
},
"freeform": {
"key": "name",
"placeholder": {
"en": "Name of fitness centre",
"de": "Name des Fitnessstudios",
"nl": "Naam van dit fitness-centrum",
"ca": "Nom del centre de fitness",
"cs": "Název fitness centra"
},
"type": "string"
},
"mappings": [
{
"if": "noname=yes",
"then": {
"en": "This fitness centre has no name",
"de": "Das Fitnessstudio hat keinen Namen",
"nl": "Dit fitness-centrum heeft geen naam",
"ca": "Aquest centre de fitness no té nom",
"cs": "Tento fitness centrum nemá žádné jméno"
}
}
],
"render": {
"en": "This fitness centre is called {name}",
"de": "Das Fitnessstudio heißt {name}",
"nl": "Dit fitness-centrum heet {name}",
"ca": "Aquest gimnàs / centre de fitness s'anomena {name}",
"cs": "Toto fitness centrum se jmenuje {name}"
}
},
"images",
"phone",
"email",
"website",
"opening_hours",
"wheelchair-access",
"level",
"reviews"
],
"filter": [
"open_now"
]
}