Skip to content

Commit 3f1806a

Browse files
committed
chore: reset cluster
1 parent 6994060 commit 3f1806a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

app/src/main/java/com/google/maps/android/compose/markerexamples/MarkerClusteringActivity.kt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ fun GoogleMapClustering() {
8080
}
8181
}
8282
Box(
83-
modifier = Modifier
84-
.fillMaxSize()
85-
.systemBarsPadding()
83+
modifier = Modifier.fillMaxSize()
8684
) {
8785
GoogleMapClustering(items = items)
8886
}
@@ -160,7 +158,6 @@ private fun DefaultClustering(items: List<MyItem>) {
160158
@OptIn(MapsComposeExperimentalApi::class)
161159
@Composable
162160
private fun CustomUiClustering(items: List<MyItem>) {
163-
Log.i("","Clusteringggg")
164161
Clustering(
165162
items = items,
166163
// Optional: Handle clicks on clusters, cluster items, and cluster item info windows
@@ -184,8 +181,7 @@ private fun CustomUiClustering(items: List<MyItem>) {
184181
)
185182
},
186183
// Optional: Custom rendering for non-clustered items
187-
clusterItemContent = null,
188-
// Optional: Customization hook for clusterManager and renderer when they're ready
184+
clusterItemContent = null
189185

190186
)
191187
}

0 commit comments

Comments
 (0)