mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
Partially fix the animation when a marker is added to an existing cluster.
This commit is contained in:
@@ -490,7 +490,7 @@ L.MarkerClusterGroup.include(!L.DomUtil.TRANSITION ? {
|
||||
this._forceLayout();
|
||||
this._animationStart();
|
||||
|
||||
layer._setPos(this._map.latLngToLayerPoint(layer.getLatLng()));
|
||||
layer._setPos(this._map.latLngToLayerPoint(newCluster.getLatLng()));
|
||||
layer.setOpacity(0);
|
||||
|
||||
setTimeout(function () {
|
||||
|
||||
Reference in New Issue
Block a user