forked from MapComplete/MapComplete
feature(themeconfig): Make filters reusable from builtin layers
This commit is contained in:
parent
bdcf8a2601
commit
eb6093dd9f
3 changed files with 34 additions and 20 deletions
|
@ -317,7 +317,7 @@ export interface LayerConfigJson {
|
|||
|
||||
/**
|
||||
* All the extra questions for filtering.
|
||||
* If a string is given, mapComplete will search in 'filters.json' for the appropriate filter
|
||||
* If a string is given, mapComplete will search in 'filters.json' for the appropriate filter or will try to parse it as `layername.filterid` and us that one
|
||||
*/
|
||||
filter?: (FilterConfigJson | string)[] | { sameAs: string }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue