This repository was archived by the owner on Sep 20, 2019. It is now read-only.
This repository was archived by the owner on Sep 20, 2019. It is now read-only.
Clustered via grouping markers disappear after destroy/create #61
Open
Description
From @ivan-antonyuck on May 22, 2015 13:20
I found one more issue with clustering.
If i create a map with clustering via 'group' attribute on marker, and then destroy it with ng-if and then recreate again markers will not appear.
plunker is here:
http://plnkr.co/edit/VmBaz8Qm4GgjCbJR6vAB?p=preview
To replicate uncheck the checkbox and then check it again.
I'm not exactly sure that it is not a leaflet.markercluster.js issue, though.
Upd.:
Replicated in Chrome 41 and firefox 38 and 40 on OS X
Copied from original issue: tombatossals/angular-leaflet-directive#769