FlowingCode / GoogleMapsAddon

Vaadin Addon based on Google Maps Web Component
https://www.flowingcode.com/en/open-source/
Apache License 2.0
19 stars 7 forks source link

removeMarker when clustering enabled not working #109

Closed JonasMelchior closed 9 months ago

JonasMelchior commented 9 months ago

GoogleMapMarker doesen't seem to be removed from the map, when clustering is enabled.

The markers which are not gathered in any cluster are removed correctly but the rest are left on the map. You can't call the remove method again after the initial attempt with the exception:

java.lang.IllegalArgumentException: Child should have this element as a parent