forked from MapComplete/MapComplete
12 lines
450 B
TypeScript
12 lines
450 B
TypeScript
|
import { AndOrTagConfigJson } from "./TagConfigJson";
|
||
|
|
||
|
export default interface FilterConfigJson {
|
||
|
/**
|
||
|
* The options for a filter
|
||
|
* If there are multiple options these will be a list of radio buttons
|
||
|
* If there is only one option this will be a checkbox
|
||
|
* Filtering is done based on the given osmTags that are compared to the objects in that layer.
|
||
|
*/
|
||
|
options: { question: string | any; osmTags: AndOrTagConfigJson | string }[];
|
||
|
}
|