mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Fix clusters not appearing on fast zoom out then zoom in one. Fixes #12
This commit is contained in:
@@ -308,6 +308,8 @@ L.MarkerClusterGroup.include(!L.DomUtil.TRANSITION ? {
|
||||
//Immediately fire an event to update the opacity and locations (If we immediately set it they won't animate)
|
||||
setTimeout(function () {
|
||||
//Update opacities
|
||||
me._topClusterLevel._recursivelyBecomeVisible(bounds, depthToStartAt + depthToDescend);
|
||||
//TODO Maybe? Update markers in _recursivelyBecomeVisible
|
||||
for (i in me._layers) {
|
||||
var n = me._layers[i];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user