105 lines
No EOL
2.6 KiB
JSON
105 lines
No EOL
2.6 KiB
JSON
{
|
|
"id": "rainbow_crossings",
|
|
"name": {
|
|
"en": "Crossings with rainbow paintings",
|
|
"de": "Fußgängerüberwege in Regenbogenfarben"
|
|
},
|
|
"description": {
|
|
"en": "A layer showing pedestrian crossings with rainbow paintings",
|
|
"de": "Eine Ebene mit Fußgängerüberwegen in Regenbogenfarben"
|
|
},
|
|
"source": {
|
|
"osmTags": "highway=crossing"
|
|
},
|
|
"minzoom": 17,
|
|
"title": {
|
|
"render": {
|
|
"en": "Crossing",
|
|
"de": "Überweg",
|
|
"nl": "Oversteekplaats"
|
|
}
|
|
},
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "a crossing",
|
|
"de": "einen Überweg",
|
|
"nl": "een oversteekplaats"
|
|
},
|
|
"tags": [
|
|
"highway=crossing"
|
|
],
|
|
"description": {
|
|
"en": "Pedestrian crossing",
|
|
"de": "Fußgängerüberweg",
|
|
"nl": "Voetgangersoversteekplaats"
|
|
},
|
|
"preciseInput": {
|
|
"preferredBackground": [
|
|
"photo"
|
|
],
|
|
"snapToLayer": "cycleways_and_roads",
|
|
"maxSnapDistance": 25
|
|
}
|
|
}
|
|
],
|
|
"tagRenderings": [
|
|
"images",
|
|
{
|
|
"id": "crossing-with-rainbow",
|
|
"question": {
|
|
"en": "Does this crossing has rainbow paintings?",
|
|
"de": "Hat der Überweg eine Markierung in Regenbogenfarben?"
|
|
},
|
|
"condition": "highway=crossing",
|
|
"mappings": [
|
|
{
|
|
"if": "crossing:marking=rainbow",
|
|
"then": {
|
|
"en": "This crossing has rainbow paintings",
|
|
"de": "Der Überweg hat eine Markierung in Regenbogenfarben"
|
|
},
|
|
"icon": {
|
|
"path": "./assets/themes/rainbow_crossings/logo.svg",
|
|
"class": "medium"
|
|
}
|
|
},
|
|
{
|
|
"if": "not:crossing:marking=rainbow",
|
|
"then": {
|
|
"en": "No rainbow paintings here",
|
|
"de": "Hier gibt es kein Markierung in Regenbogenfarben"
|
|
},
|
|
"icon": "./assets/themes/rainbow_crossings/crossing.svg"
|
|
},
|
|
{
|
|
"if": "crossing:marking!=rainbow",
|
|
"then": {
|
|
"en": "No rainbow paintings here",
|
|
"de": "Hier gibt es kein Markierung in Regenbogenfarben"
|
|
},
|
|
"icon": "./assets/themes/rainbow_crossings/crossing.svg",
|
|
"hideInAnswer": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mapRendering": [
|
|
{
|
|
"icon": {
|
|
"render": "./assets/themes/rainbow_crossings/crossing.svg",
|
|
"mappings": [
|
|
{
|
|
"if": "crossing:marking=rainbow",
|
|
"then": "./assets/themes/rainbow_crossings/logo.svg"
|
|
}
|
|
]
|
|
},
|
|
"iconSize": "40,40,center",
|
|
"location": [
|
|
"point",
|
|
"centroid"
|
|
]
|
|
}
|
|
]
|
|
} |