You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I'm using Google Maps Compose along with Custom Cluster to render items on map, also I've the below property set to false override fun shouldRenderAsCluster(cluster: Cluster<T>) = false
On updating item from clustered/rendered items on the map, the desired updated marker disappears sometimes.
Environment details
'com.google.maps.android:maps-compose:4.4.2' and 'com.google.maps.android:maps-compose-utils:4.4.2'
Android 12 (API 31) Physical Device for testing and Windows 10 Desktop
// CustomClusterRenderoverridefunonClusterItemUpdated(item:T, marker:Marker) {
super.onClusterItemUpdated(item, marker)
Timber.d("onClusterItemUpdated: ${item.title}")
marker.setIcon(
// Some internal logic to set marker color, also used in "onBeforeClusterItemRendered"// FYI: setIcon internal logic doesn't have any issue.
)
}
Video Example:
NOTE: The marker disappears at 00:11 and I'm using the Filter Icon on the top right to trigger the update manually.
Cluster.Item.Update.Issue.mp4
Thanks!
The text was updated successfully, but these errors were encountered:
Hey,
I'm using Google Maps Compose along with Custom Cluster to render items on map, also I've the below property set to false
override fun shouldRenderAsCluster(cluster: Cluster<T>) = false
On updating item from clustered/rendered items on the map, the desired updated marker disappears sometimes.
Environment details
'com.google.maps.android:maps-compose:4.4.2'
and'com.google.maps.android:maps-compose-utils:4.4.2'
Steps to reproduce
Code example
Video Example:
NOTE: The marker disappears at
00:11
and I'm using the Filter Icon on the top right to trigger the update manually.Cluster.Item.Update.Issue.mp4
Thanks!
The text was updated successfully, but these errors were encountered: