forked from MapComplete/MapComplete
Add theme for 'notes'
This commit is contained in:
parent
677a07e3d2
commit
a58ce564c2
20 changed files with 678 additions and 314 deletions
|
|
@ -1,9 +1,13 @@
|
|||
import {UIEventSource} from "../Logic/UIEventSource";
|
||||
import LayerConfig from "./ThemeConfig/LayerConfig";
|
||||
import FilterConfig from "./ThemeConfig/FilterConfig";
|
||||
import {TagsFilter} from "../Logic/Tags/TagsFilter";
|
||||
|
||||
export interface FilterState {
|
||||
currentFilter: TagsFilter, state: string | number
|
||||
}
|
||||
|
||||
export default interface FilteredLayer {
|
||||
readonly isDisplayed: UIEventSource<boolean>;
|
||||
readonly appliedFilters: UIEventSource<{ filter: FilterConfig, selected: number }[]>;
|
||||
readonly appliedFilters: UIEventSource<Map<string, FilterState>>;
|
||||
readonly layerDef: LayerConfig;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue