mapcomplete/Models/FilteredLayer.ts

10 lines
418 B
TypeScript
Raw Normal View History

2021-07-27 19:39:57 +02:00
import {UIEventSource} from "../Logic/UIEventSource";
import LayerConfig from "./ThemeConfig/LayerConfig";
import {And} from "../Logic/Tags/And";
import FilterConfig from "./ThemeConfig/FilterConfig";
2021-07-27 19:39:57 +02:00
export default interface FilteredLayer {
readonly isDisplayed: UIEventSource<boolean>;
readonly appliedFilters: UIEventSource<{filter: FilterConfig, selected: number}[]>;
2021-07-27 19:39:57 +02:00
readonly layerDef: LayerConfig;
}