diff --git a/packages/geo/src/lib/feature/shared/strategies/selection.ts b/packages/geo/src/lib/feature/shared/strategies/selection.ts index 07bca2bd4f..3230df6c8c 100644 --- a/packages/geo/src/lib/feature/shared/strategies/selection.ts +++ b/packages/geo/src/lib/feature/shared/strategies/selection.ts @@ -90,6 +90,11 @@ export class FeatureStoreSelectionStrategy extends FeatureStoreStrategy { }); } + clear() { + this.overlayStore.source.ol.clear(); + this.overlayStore.clear(); + } + /** * Add the overlay layer, setup the map click lsitener and * start watching for stores selection