Skip to content

Commit

Permalink
chore: reset cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
kikoso committed Dec 6, 2024
1 parent 6994060 commit 3f1806a
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ fun GoogleMapClustering() {
}
}
Box(
modifier = Modifier
.fillMaxSize()
.systemBarsPadding()
modifier = Modifier.fillMaxSize()
) {
GoogleMapClustering(items = items)
}
Expand Down Expand Up @@ -160,7 +158,6 @@ private fun DefaultClustering(items: List<MyItem>) {
@OptIn(MapsComposeExperimentalApi::class)
@Composable
private fun CustomUiClustering(items: List<MyItem>) {
Log.i("","Clusteringggg")
Clustering(
items = items,
// Optional: Handle clicks on clusters, cluster items, and cluster item info windows
Expand All @@ -184,8 +181,7 @@ private fun CustomUiClustering(items: List<MyItem>) {
)
},
// Optional: Custom rendering for non-clustered items
clusterItemContent = null,
// Optional: Customization hook for clusterManager and renderer when they're ready
clusterItemContent = null

)
}
Expand Down

0 comments on commit 3f1806a

Please sign in to comment.