Am not able to get click on the android cluster group, I tried different solutions.
The first solution was to split the cluster using the below solution
override fun shouldRenderAsCluster(cluster: Cluster): Boolean { return cluster.size > 1 }
It didn't work some of the clusters are not splitting
The second solution was to get click on the cluster group as shown below screenshot, but am getting click only in the marker, not the cluster
clusterManager.setOnClusterItemClickListener { item -> return@setOnClusterItemClickListener false }
I need to get click on the cluster group, to show data of each item in the cluster on a custom view is this possible ?
from How to get click on the android cluster group?
No comments:
Post a Comment