mapcomplete/Models/FilteredLayer.ts

9 lines
345 B
TypeScript
Raw Normal View History

2021-07-27 19:39:57 +02:00
import {UIEventSource} from "../Logic/UIEventSource";
import {TagsFilter} from "../Logic/Tags/TagsFilter";
import LayerConfig from "./ThemeConfig/LayerConfig";
2021-07-27 19:39:57 +02:00
export default interface FilteredLayer {
readonly isDisplayed: UIEventSource<boolean>;
readonly appliedFilters: UIEventSource<TagsFilter>;
readonly layerDef: LayerConfig;
}