Skip to content

Commit

Permalink
fix: fixed issue when multiple marker managers have been added, for i…
Browse files Browse the repository at this point in the history
…nstance in multiple clustering
  • Loading branch information
kikoso committed Sep 12, 2023
1 parent 11c1cc3 commit 8d8a68d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public fun <T : ClusterItem> Clustering(
val clusterManager = rememberClusterManager(clusterContent, clusterItemContent) ?: return
ResetMapListeners(clusterManager)
SideEffect {
// clusterManager.clearItems()
clusterManager.clearItems()
clusterManager.setOnClusterClickListener(onClusterClick)
clusterManager.setOnClusterItemClickListener(onClusterItemClick)
clusterManager.setOnClusterItemInfoWindowClickListener(onClusterItemInfoWindowClick)
Expand Down

0 comments on commit 8d8a68d

Please sign in to comment.