forked from MapComplete/MapComplete
Fix 'addExtraTags' in mappings
This commit is contained in:
parent
bd3395af22
commit
78dbe0baa2
5 changed files with 2219 additions and 2339 deletions
|
@ -83,6 +83,7 @@ export interface TagRenderingConfigJson {
|
|||
* Allows fixed-tag inputs, shown either as radiobuttons or as checkboxes
|
||||
*/
|
||||
mappings?: {
|
||||
|
||||
/**
|
||||
* If this condition is met, then the text under `then` will be shown.
|
||||
* If no value matches, and the user selects this mapping as an option, then these tags will be uploaded to OSM.
|
||||
|
@ -168,6 +169,13 @@ export interface TagRenderingConfigJson {
|
|||
*/
|
||||
ifnot?: AndOrTagConfigJson | string
|
||||
|
||||
|
||||
/**
|
||||
* If chosen as answer, these tags will be applied as well onto the object.
|
||||
* Not compatible with multiAnswer
|
||||
*/
|
||||
addExtraTags: string[]
|
||||
|
||||
}[]
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue