102 lines
No EOL
2.5 KiB
JSON
102 lines
No EOL
2.5 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"
|
|
}
|
|
},
|
|
"presets": [
|
|
{
|
|
"title": {
|
|
"en": "a crossing",
|
|
"de": "einen Überweg"
|
|
},
|
|
"tags": [
|
|
"highway=crossing"
|
|
],
|
|
"description": {
|
|
"en": "Pedestrian crossing",
|
|
"de": "Fußgängerüberweg"
|
|
},
|
|
"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"
|
|
]
|
|
}
|
|
]
|
|
} |