Leaflet / Leaflet.markercluster

Marker Clustering plugin for Leaflet
MIT License
3.94k stars 996 forks source link

Feature Request: support real time data #959

Open baoqger opened 5 years ago

baoqger commented 5 years ago

Please take a look up my description in this post: https://stackoverflow.com/questions/57752432/leaflet-markcluster-clean-and-add-markers-dynamically-with-real-time-data

Simply speaking, use clearLayers() and add markers again will have issue about the spiderfied cluster

BenTalagan commented 5 years ago

Hi, the real time updates affecting the spiderfy behavior issue has been referenced multiple times but IIRC it's not been fixed yet. There's a PR about it that was not merged and has been closed for inactivity #435, maybe if you feel skilled enough, you could try to make it work again and complete it?