Add reception desk layers

This commit is contained in:
pietervdvn 2022-07-19 11:55:46 +02:00
parent 1f5c594f34
commit 034e3cf282
4 changed files with 52 additions and 1 deletions

View file

@ -1,7 +1,9 @@
export default interface UnitConfigJson { export default interface UnitConfigJson {
/** /**
* Every key from this list will be normalized * Every key from this list will be normalized.
*
* To render a united value properly, use
*/ */
appliesToKey: string[], appliesToKey: string[],
/** /**

View file

@ -1,4 +1,24 @@
[ [
{
"path": "audio_induction_loop.svg",
"license": "CC-BY 4.0",
"authors": [
"Carl Holderness"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Noun_telecoil_audio_induction_hearing_loop_symbol_2011213.svg"
]
},
{
"path": "audio_induction_loop_missing.svg",
"license": "CC-BY 4.0",
"authors": [
"Carl Holderness"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Noun_telecoil_audio_induction_hearing_loop_symbol_2011213.svg"
]
},
{ {
"path": "cash.svg", "path": "cash.svg",
"license": "CC-BY 3.0", "license": "CC-BY 3.0",

View file

@ -1086,5 +1086,33 @@
} }
} }
] ]
},
"induction-loop": {
"description": "An accessibility feature: induction loops are for hard-hearing persons which have an FM-receiver.",
"question": {
"en": "Does this place have an audio induction loop for people with reduced hearing?"
},
"mappings": [
{
"if": "hearing_loop=yes",
"then": {
"en": "This place has an audio induction loop"
},
"icon": {
"path": "./assets/tagRenderings/audio_induction_loop.svg",
"class": "medium"
}
},
{
"if": "hearing_loop=no",
"then": {
"en": "This place <b>does not</b> has an audio induction loop"
},
"icon": {
"path": "./assets/tagRenderings/audio_induction_loop_missing.svg",
"class": "medium"
}
}
]
} }
} }

View file

@ -29,6 +29,7 @@
"toilet", "toilet",
"viewpoint", "viewpoint",
"doctors", "doctors",
"reception_desk",
"walls_and_buildings" "walls_and_buildings"
], ],
"overrideAll": { "overrideAll": {