FlowingCode / GoogleMapsAddon

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

removeMarker when clustering enabled not working #109

Closed JonasMelchior closed 1 year ago

JonasMelchior commented 1 year 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