mapcomplete/assets/layers/sports_centre/sports_centre.json

89 lines
1.7 KiB
JSON

{
"id": "sports_centre",
"name": {
"en": "Sports centres",
"de": "Sportzentren",
"ca": "Centres esportius",
"cs": "Sportovní centra"
},
"description": {
"en": "Indoor and outdoor sports centres can be found on this layer",
"de": "Hallen- und Freiluftsportzentren sind auf dieser Ebene zu finden",
"ca": "En aquesta capa es poden trobar centres esportius interiors i exteriors",
"cs": "Na této vrstvě najdete krytá a venkovní sportovní centra"
},
"minzoom": 12,
"source": {
"osmTags": "leisure=sports_centre"
},
"title": {
"render": {
"en": "Sports centre",
"de": "Sportzentrum",
"ca": "Centre esportiu",
"cs": "Sportovní centrum"
},
"mappings": [
{
"if": "name~*",
"then": "{name}"
}
]
},
"tagRenderings": [
"images",
"opening_hours",
"phone",
"website",
"email",
"wheelchair-access"
],
"presets": [
{
"title": {
"en": "a sports centre",
"de": "ein Sportzentrum",
"ca": "un centre esportiu",
"cs": "sportovní centra"
},
"tags": [
"leisure=sports_centre"
]
}
],
"allowMove": {
"enableImproveAccuracy": true
},
"filter": [
"open_now"
],
"pointRendering": [
{
"iconBadges": [
{
"if": "opening_hours~*",
"then": "icons.isOpen"
}
],
"location": [
"point",
"centroid"
],
"marker": [
{
"icon": "circle",
"color": "white"
},
{
"icon": "./assets/layers/sports_centre/sports_centre.svg"
}
]
}
],
"lineRendering": [
{
"color": "darkgreen",
"fill": "no"
}
]
}