mapcomplete/Models/FilteredLayer.ts
2021-11-07 16:34:51 +01:00

9 lines
No EOL
381 B
TypeScript

import {UIEventSource} from "../Logic/UIEventSource";
import LayerConfig from "./ThemeConfig/LayerConfig";
import FilterConfig from "./ThemeConfig/FilterConfig";
export default interface FilteredLayer {
readonly isDisplayed: UIEventSource<boolean>;
readonly appliedFilters: UIEventSource<{ filter: FilterConfig, selected: number }[]>;
readonly layerDef: LayerConfig;
}