Wire in level selector

This commit is contained in:
Pieter Vander Vennet 2022-07-21 15:54:24 +02:00
parent 0d3e7f8168
commit 13e949a1cd
4 changed files with 126 additions and 26 deletions

View file

@ -78,6 +78,12 @@ export default class MapState extends UserRelatedState {
* Which layers are enabled in the current theme and what filters are applied onto them
*/
public filteredLayers: UIEventSource<FilteredLayer[]> = new UIEventSource<FilteredLayer[]>([], "filteredLayers");
/**
* Filters which apply onto all layers
*/
public globalFilters: UIEventSource<{ filter: FilterState, id: string }[]> = new UIEventSource([], "globalFilters")
/**
* Which overlays are shown
*/