lpongetti / flutter_map_marker_cluster

Provides beautiful animated marker clustering functionality for flutter_map. Inspired by Leaflet.markercluster
BSD 3-Clause "New" or "Revised" License
243 stars 215 forks source link

the clusters does not updated when adding new marker in running #210

Closed mstafamajid closed 2 months ago

mstafamajid commented 3 months ago

Description:

The MarkerClusterLayerWidget is not updating when _markers changes. This issue is likely due to Flutter not being aware that it needs to rebuild the widget when _markers changes.

Current Behavior: When _markers changes, the MarkerClusterLayerWidget does not reflect these changes and remains in its initial state.

Expected Behavior: When _markers changes, the MarkerClusterLayerWidget should update to reflect these changes.

Steps to Reproduce:

Initialize _markers and add some markers. Display the markers using MarkerClusterLayerWidget. Update _markers by adding or removing markers. Observe that the MarkerClusterLayerWidget does not update to reflect the changes in _markers.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 2 months ago

This issue was closed because it has been stalled for 5 days with no activity.