forked from MapComplete/MapComplete
Basics for sport theme with fitness stations
This commit is contained in:
parent
3aeeb3ad87
commit
9d4140e49d
35 changed files with 758 additions and 0 deletions
81
assets/layers/fitness_centre/fitness_centre.json
Normal file
81
assets/layers/fitness_centre/fitness_centre.json
Normal file
|
@ -0,0 +1,81 @@
|
|||
{
|
||||
"id": "fitness_centre",
|
||||
"name": {
|
||||
"en": "Fitness Centres"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing fitness centres"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "leisure=fitness_centre"
|
||||
},
|
||||
"minzoom": 13,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Fitness Centre"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "name~*",
|
||||
"then": {
|
||||
"en": "Fitness Centre {name}"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "name",
|
||||
"question": {
|
||||
"en": "What is the name of this fitness centre?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "name",
|
||||
"placeholder": {
|
||||
"en": "Name of fitness centre"
|
||||
},
|
||||
"type": "string"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "noname=yes",
|
||||
"then": {
|
||||
"en": "This fitness centre has no name"
|
||||
}
|
||||
}
|
||||
],
|
||||
"render": {
|
||||
"en": "This fitness centre is called {name}"
|
||||
}
|
||||
},
|
||||
"images",
|
||||
"phone",
|
||||
"email",
|
||||
"website",
|
||||
"opening_hours",
|
||||
"wheelchair-access",
|
||||
"level",
|
||||
"reviews"
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"leisure=fitness_centre"
|
||||
],
|
||||
"title": {
|
||||
"en": "a fitness centre"
|
||||
},
|
||||
"icon": "./assets/layers/fitness_centre/gym.svg"
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"icon": "circle:white;./assets/layers/fitness_centre/gym.svg",
|
||||
"iconSize": "40,40,center"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue