mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 08:03:51 +02:00
Fix animated multi zoom out
This commit is contained in:
@@ -417,8 +417,7 @@ L.MarkerClusterGroup.include(!L.DomUtil.TRANSITION ? {
|
||||
_animationZoomOut: function (previousZoomLevel, newZoomLevel) {
|
||||
var map = this._map,
|
||||
bounds = this._getExpandedVisibleBounds(),
|
||||
i,
|
||||
depthToStartAt = previousZoomLevel - this._topClusterLevel._zoom,
|
||||
depthToStartAt = 1 + newZoomLevel - this._topClusterLevel._zoom,
|
||||
depthToAnimateIn = previousZoomLevel - newZoomLevel;
|
||||
|
||||
console.log('animationZoomOut ' + depthToStartAt + ' ' + depthToAnimateIn);
|
||||
|
||||
Reference in New Issue
Block a user