Bug Report
Describe the bug
Currently there are two monolithic stores that spread across all maps a user has interacted with. selectedfeatures and legenditems.
When legend store is updated, currently it must loop through all selectedfeatures across all maps to apply the update
this can create poor website performance an unexpected issues in low resource environements
To Reproduce
see legendStore.subscribed subscription on initMapAndLayers
Proposed Solution
Probably derived stores to branch off the 'active' stores for the 'active' maps and can run subscriptions on both, with the lighter derived stores being used most of the time
Screenshots
Environment (please complete the following information):
Additional context
Bug Report
Describe the bug
Currently there are two monolithic stores that spread across all maps a user has interacted with. selectedfeatures and legenditems.
When legend store is updated, currently it must loop through all selectedfeatures across all maps to apply the update
this can create poor website performance an unexpected issues in low resource environements
To Reproduce
see legendStore.subscribed subscription on initMapAndLayers
Proposed Solution
Probably derived stores to branch off the 'active' stores for the 'active' maps and can run subscriptions on both, with the lighter derived stores being used most of the time
Screenshots
Environment (please complete the following information):
Additional context