File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
app/src/main/java/com/google/maps/android/compose/markerexamples Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff 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
162160private 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}
You can’t perform that action at this time.
0 commit comments