You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to encounter a case where cluster.hashCode !== data._leafletOldHashCode , causing the icon to be reset, however, there is no discernible difference between the cached clusters except for the hash code.
Lines 397 - 404 of LeafletAdapter.js
// Update the icon if the population of his content has changed or if we need to reset the icon
if (resetIcons || cluster.population != data._leafletOldPopulation ||
cluster.hashCode !== data._leafletOldHashCode) {
var boundsCopy = {};
L.Util.extend(boundsCopy, cluster.bounds);
(<any>oldMarker)._leafletClusterBounds = boundsCopy;
oldMarker.setIcon(this.BuildLeafletClusterIcon(cluster));
}
I am using bower package version 2.1.0.
The text was updated successfully, but these errors were encountered:
I am able to encounter a case where
cluster.hashCode !== data._leafletOldHashCode
, causing the icon to be reset, however, there is no discernible difference between the cached clusters except for the hash code.Lines 397 - 404 of LeafletAdapter.js
I am using bower package version 2.1.0.
The text was updated successfully, but these errors were encountered: