origo-map / multiselect-plugin

Multiselect plugin for Origo
MIT License
2 stars 10 forks source link

Problems occur when the infowindow is closed #43

Open asemoller opened 1 month ago

asemoller commented 1 month ago

There seems to be a problem with some options and the infowindow.

When you close the infowindow, the multiselect tool stops working as expected. For example, the click tool switches to a "normal" feature info click and creates a new selection instead of adding objects to the selection. The polygon tool or any other tool also creates a new selection and a pin is also displayed (if pin is true). This is regardless of whether "disableOnClick" or "addToSelection" is true or false. When you close and reopen the tool by clicking on the icon, it will start working properly again. Another problem is that the buffer symbol remains if you close the infowindow, it should be removed if "disableOnClose" is true.

Would be great if anyone could confirm these "bugs" or if it's expected behavior...

Tested on the latest version of origo and multiselect.

multiselect_infowindow_problems