mapcomplete/Models/FilteredLayer.ts

9 lines
381 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 FilterConfig from "./ThemeConfig/FilterConfig";
2021-07-27 19:39:57 +02:00
export default interface FilteredLayer {
readonly isDisplayed: UIEventSource<boolean>;
2021-11-07 16:34:51 +01:00
readonly appliedFilters: UIEventSource<{ filter: FilterConfig, selected: number }[]>;
2021-07-27 19:39:57 +02:00
readonly layerDef: LayerConfig;
}