mapcomplete/Models/FilteredLayer.ts

9 lines
324 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";
2021-07-27 19:39:57 +02:00
export default interface FilteredLayer {
readonly isDisplayed: UIEventSource<boolean>;
readonly appliedFilters: UIEventSource<And>;
2021-07-27 19:39:57 +02:00
readonly layerDef: LayerConfig;
}