At the moment there is no global management for layer filter and every component reset them in their own way. This is creating confusion.
Expected Behavior
We need a global management
Each component keep its own filter in is state (e.g. range in time slider or items[index].visible in layers state)
We have a filter array in map state orderedLayerInfo were we keep all layer states grouped. This array contains filter to apply...
When a component push a filter to its state, there is a redirect to sync layer state filter
When a filter is applied to a layer, this one check the store map layer state and apply filter.
For datatable this would be complicated to sync the filter with the one from other component. Plus UI synching may be hard and confuding for users. Because data table is closed when user switch tabs we should create the table with only the already filtered record instead of the whole table. So fiest getAllFEature info grabs everything and on each creation this is filtered from layer filter.
Is there an existing issue for this?
Current Behavior
At the moment there is no global management for layer filter and every component reset them in their own way. This is creating confusion.
Expected Behavior
We need a global management
For datatable this would be complicated to sync the filter with the one from other component. Plus UI synching may be hard and confuding for users. Because data table is closed when user switch tabs we should create the table with only the already filtered record instead of the whole table. So fiest getAllFEature info grabs everything and on each creation this is filtered from layer filter.
Steps To Reproduce
Layers panel filter vs Time slider panel filter
Default layer filter vs data table filter
Anything else?
Related to: #2179 #2108 No response