Skip to content

Commit

Permalink
Remove log noise
Browse files Browse the repository at this point in the history
  • Loading branch information
gino-m committed Dec 15, 2023
1 parent d7c0275 commit 9405bcf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import com.google.android.ground.ui.map.gms.renderer.PointFeatureManager
import com.google.android.ground.ui.map.gms.renderer.PolygonFeatureManager
import com.google.maps.android.clustering.Cluster
import com.google.maps.android.clustering.view.DefaultClusterRenderer
import timber.log.Timber

/**
* A cluster renderer for [FeatureClusterItem]s.
Expand Down Expand Up @@ -114,8 +113,9 @@ class FeatureClusterRenderer(
.map { it.feature }
.filter { it.geometry !is Point }
.forEach { feature -> polygonFeatureManager.removeFeature(feature) }

super.onBeforeClusterRendered(cluster, markerOptions)
Timber.d("MARKER_RENDER: onBeforeClusterRendered")

with(markerOptions) {
icon(createClusterIcon(cluster))
zIndex(CLUSTER_Z)
Expand Down

0 comments on commit 9405bcf

Please sign in to comment.