mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-04 00:11:51 +02:00
Update build
This commit is contained in:
Vendored
+6
@@ -448,6 +448,8 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
|||||||
this._featureGroup.onRemove(map);
|
this._featureGroup.onRemove(map);
|
||||||
this._nonPointGroup.onRemove(map);
|
this._nonPointGroup.onRemove(map);
|
||||||
|
|
||||||
|
this._featureGroup.clearLayers();
|
||||||
|
|
||||||
this._map = null;
|
this._map = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -843,6 +845,10 @@ L.MarkerClusterGroup.include(!L.DomUtil.TRANSITION ? {
|
|||||||
markers = c._markers,
|
markers = c._markers,
|
||||||
m;
|
m;
|
||||||
|
|
||||||
|
if (!bounds.contains(startPos)) {
|
||||||
|
startPos = null;
|
||||||
|
}
|
||||||
|
|
||||||
if (c._isSingleParent() && previousZoomLevel + 1 === newZoomLevel) { //Immediately add the new child and remove us
|
if (c._isSingleParent() && previousZoomLevel + 1 === newZoomLevel) { //Immediately add the new child and remove us
|
||||||
fg.removeLayer(c);
|
fg.removeLayer(c);
|
||||||
c._recursivelyAddChildrenToMap(null, newZoomLevel, bounds);
|
c._recursivelyAddChildrenToMap(null, newZoomLevel, bounds);
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user