forked from MapComplete/MapComplete
More work on A11y
This commit is contained in:
parent
87aee9e2b7
commit
6da72b80ef
28 changed files with 398 additions and 209 deletions
|
@ -105,6 +105,12 @@ export interface MappingConfigJson {
|
|||
*/
|
||||
hideInAnswer?: boolean | TagConfigJson
|
||||
|
||||
/**
|
||||
* Also show this 'then'-option if the feature matches these tags.
|
||||
* Ideal for outdated tags.
|
||||
*/
|
||||
alsoShowIf?: TagConfigJson
|
||||
|
||||
/**
|
||||
* question: What tags should be applied if this mapping is _not_ chosen?
|
||||
*
|
||||
|
|
|
@ -168,6 +168,7 @@ export interface TagRenderingConfigJson {
|
|||
* This can be an substituting-tag as well, e.g. {'if': 'addr:street:={_calculated_nearby_streetname}', 'then': '{_calculated_nearby_streetname}'}
|
||||
*/
|
||||
if: TagConfigJson
|
||||
|
||||
/**
|
||||
* question: What text should be shown?
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue