forked from MapComplete/MapComplete
Chore: lint themes
This commit is contained in:
parent
a552606c52
commit
d00ccc9282
2 changed files with 145 additions and 145 deletions
assets/layers
|
@ -1,6 +1,146 @@
|
|||
{
|
||||
"credits": "Osmwithspace",
|
||||
"id": "campsite",
|
||||
"name": {
|
||||
"en": "Campsites",
|
||||
"de": "Zeltplätze"
|
||||
},
|
||||
"description": {
|
||||
"en": "Campsites",
|
||||
"de": "Zeltplätze"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"tourism=camp_site"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 7,
|
||||
"shownByDefault": true,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "{name}"
|
||||
}
|
||||
},
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/layers/campsite/campsite.svg"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "campsite"
|
||||
},
|
||||
"tags": [
|
||||
"tourism=camp_site"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"en": "campsite for groups"
|
||||
},
|
||||
"tags": [
|
||||
"tourism=camp_site",
|
||||
"group_only=yes"
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"question": {
|
||||
"en": "What is the name of this campsite?",
|
||||
"de": "Wie heißt dieser Zeltplatz?"
|
||||
},
|
||||
"render": {
|
||||
"en": "The name of this campsite is {name}",
|
||||
"de": "Dieser Zeltplatz heißt {name}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "name"
|
||||
},
|
||||
"id": "name"
|
||||
},
|
||||
{
|
||||
"id": "fee",
|
||||
"question": {
|
||||
"en": "Is a fee charged here?",
|
||||
"de": "Wird hier eine Gebühr erhoben?"
|
||||
},
|
||||
"render": {
|
||||
"en": "A fee of {charge} should be paid for here",
|
||||
"de": "Hier wird eine Gebühr von {charge} erhoben"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "charge",
|
||||
"type": "currency",
|
||||
"addExtraTags": [
|
||||
"fee=yes"
|
||||
],
|
||||
"inline": true
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "fee=no",
|
||||
"addExtraTags": [
|
||||
"charge="
|
||||
],
|
||||
"then": {
|
||||
"en": "The campsite is free of charge",
|
||||
"de": "Der Zeltplatz ist kostenlos"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"fee=yes",
|
||||
"charge="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "A fee is charged here.",
|
||||
"de": "Hier wird eine Gebühr erhoben."
|
||||
},
|
||||
"hideInAnswer": "charge~*"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": {
|
||||
"de": "Wie viele Personen können hier übernachten?",
|
||||
"en": "How many people can stay here?"
|
||||
},
|
||||
"render": {
|
||||
"en": "{capacity:persons} people can stay here",
|
||||
"de": "Hier können {capacity:persons} Personen übernachten"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "capacity:persons",
|
||||
"type": "pnat"
|
||||
},
|
||||
"id": "capacity_persons"
|
||||
},
|
||||
"contact",
|
||||
"questions",
|
||||
"mastodon",
|
||||
"images"
|
||||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "capacity_persons_filter",
|
||||
|
@ -81,147 +221,7 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/layers/campsite/campsite.svg"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"question": {
|
||||
"de": "Wie heißt dieser Zeltplatz?",
|
||||
"en": "What is the name of this campsite?"
|
||||
},
|
||||
"render": {
|
||||
"en": "The name of this campsite is {name}",
|
||||
"de": "Dieser Zeltplatz heißt {name}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "name"
|
||||
},
|
||||
"id": "name"
|
||||
},
|
||||
{
|
||||
"id": "fee",
|
||||
"question": {
|
||||
"en": "Is a fee charged here?",
|
||||
"de": "Wird hier eine Gebühr erhoben?"
|
||||
},
|
||||
"render": {
|
||||
"en": "A fee of {charge} should be paid for here",
|
||||
"de": "Hier wird eine Gebühr von {charge} erhoben"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "charge",
|
||||
"type": "currency",
|
||||
"addExtraTags": [
|
||||
"fee=yes"
|
||||
],
|
||||
"inline": true
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "fee=no",
|
||||
"addExtraTags": [
|
||||
"charge="
|
||||
],
|
||||
"then": {
|
||||
"en": "The campsite is free of charge",
|
||||
"de": "Der Zeltplatz ist kostenlos"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"fee=yes",
|
||||
"charge="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "A fee is charged here.",
|
||||
"de": "Hier wird eine Gebühr erhoben."
|
||||
},
|
||||
"hideInAnswer": "charge~*"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"question": {
|
||||
"de": "Wie viele Personen können hier übernachten?",
|
||||
"en": "How many people can stay here?"
|
||||
},
|
||||
"render": {
|
||||
"en": "{capacity:persons} people can stay here",
|
||||
"de": "Hier können {capacity:persons} Personen übernachten"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "capacity:persons",
|
||||
"type": "pnat"
|
||||
},
|
||||
"id": "capacity_persons"
|
||||
},
|
||||
"contact",
|
||||
"questions",
|
||||
"mastodon",
|
||||
"images"
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"credits:uid": 8770388,
|
||||
"id": "campsite",
|
||||
"name": {
|
||||
"en": "Campsites",
|
||||
"de": "Zeltplätze"
|
||||
},
|
||||
"description": {
|
||||
"en": "Campsites",
|
||||
"de": "Zeltplätze"
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "{name}"
|
||||
}
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"tourism=camp_site"
|
||||
]
|
||||
}
|
||||
},
|
||||
"shownByDefault": true,
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "campsite"
|
||||
},
|
||||
"tags": [
|
||||
"tourism=camp_site"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"en": "campsite for groups"
|
||||
},
|
||||
"tags": [
|
||||
"tourism=camp_site",
|
||||
"group_only=yes"
|
||||
]
|
||||
}
|
||||
],
|
||||
"allowMove": false
|
||||
"allowMove": false,
|
||||
"credits": "Osmwithspace",
|
||||
"credits:uid": 8770388
|
||||
}
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
"es": "Universidades y colegios"
|
||||
},
|
||||
"description": "Layer with all tertiary education institutes (ISCED:2011 levels 6,7 and 8)",
|
||||
"minzoom": 14,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"or": [
|
||||
|
@ -31,6 +30,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 14,
|
||||
"title": {
|
||||
"mappings": [
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue