From 3f1806a944f892fee8872f030fb6ae78715ceae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Lo=CC=81pez=20Man=CC=83as?= Date: Fri, 6 Dec 2024 18:00:40 +0100 Subject: [PATCH] chore: reset cluster --- .../compose/markerexamples/MarkerClusteringActivity.kt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/com/google/maps/android/compose/markerexamples/MarkerClusteringActivity.kt b/app/src/main/java/com/google/maps/android/compose/markerexamples/MarkerClusteringActivity.kt index 0ae0037d9..c9f7f3031 100644 --- a/app/src/main/java/com/google/maps/android/compose/markerexamples/MarkerClusteringActivity.kt +++ b/app/src/main/java/com/google/maps/android/compose/markerexamples/MarkerClusteringActivity.kt @@ -80,9 +80,7 @@ fun GoogleMapClustering() { } } Box( - modifier = Modifier - .fillMaxSize() - .systemBarsPadding() + modifier = Modifier.fillMaxSize() ) { GoogleMapClustering(items = items) } @@ -160,7 +158,6 @@ private fun DefaultClustering(items: List) { @OptIn(MapsComposeExperimentalApi::class) @Composable private fun CustomUiClustering(items: List) { - Log.i("","Clusteringggg") Clustering( items = items, // Optional: Handle clicks on clusters, cluster items, and cluster item info windows @@ -184,8 +181,7 @@ private fun CustomUiClustering(items: List) { ) }, // Optional: Custom rendering for non-clustered items - clusterItemContent = null, - // Optional: Customization hook for clusterManager and renderer when they're ready + clusterItemContent = null ) }