ol-ext icon indicating copy to clipboard operation
ol-ext copied to clipboard

PopupFeature.js: Popup won't reopen after closing with closeBox enabled

Open YXYCZXY opened this issue 1 year ago • 1 comments

When I use PopupFeature.js and enable closeBox, the popup appears when I click the icon, and it can be closed by clicking the close button. However, when I click the icon again, the popup does not appear. start:

image

again:does not appear

image

The issue is in the hide() method in the Popup.js file, where it should clear the features.

image

YXYCZXY avatar Jan 14 '25 09:01 YXYCZXY

Yes closing the popup only remove the popup but the feature is still selected and no more selectable (until an other one is selected). It depends on the behavior you want in your app.

Viglino avatar Jan 14 '25 10:01 Viglino