diff --git a/src/Logic/FeatureSource/Sources/FilteringFeatureSource.ts b/src/Logic/FeatureSource/Sources/FilteringFeatureSource.ts index 9a55a51d1..e38c811d4 100644 --- a/src/Logic/FeatureSource/Sources/FilteringFeatureSource.ts +++ b/src/Logic/FeatureSource/Sources/FilteringFeatureSource.ts @@ -30,6 +30,9 @@ export default class FilteringFeatureSource implements FeatureSource { upstream.features.addCallback(() => { self.update() }) + layer.isDisplayed.addCallback(() => { + self.update() + }) layer.appliedFilters.forEach((value) => value.addCallback((_) => {