Skip to content

Commit

Permalink
fix: fixed item updated (#1461)
Browse files Browse the repository at this point in the history
* fix: fixed item updated

* fix: fixed item updated callback

* Update ClusterRendererMultipleItems.java
  • Loading branch information
kikoso authored Feb 10, 2025
1 parent 8a431e8 commit bacdc9b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,9 @@ private void perform(MarkerModifier markerModifier) {
} else {
markerWithPosition = new MarkerWithPosition<>(marker, item);
markerModifier.animate(markerWithPosition, marker.getPosition(), item.getPosition());
if (!markerWithPosition.position.equals(item.getPosition())) {
onClusterItemUpdated(item, marker);
}
}
onClusterItemRendered(item, marker);
newMarkers.add(markerWithPosition);
Expand Down

0 comments on commit bacdc9b

Please sign in to comment.