rememberClusterRenderer
fun <T : ClusterItem> rememberClusterRenderer(clusterManager: ClusterManager<T>?): ClusterRenderer<T>?
fun <T : ClusterItem> rememberClusterRenderer(clusterContent: @Composable (Cluster<T>) -> Unit?, clusterItemContent: @Composable (T) -> Unit?, clusterContentAnchor: Offset = Offset(0.5f, 1.0f), clusterItemContentAnchor: Offset = Offset(0.5f, 1.0f), clusterContentZIndex: Float = 0.0f, clusterItemContentZIndex: Float = 0.0f, clusterManager: ClusterManager<T>?): ClusterRenderer<T>?
Default Renderer for drawing Composable.
Parameters
clusterContent
an optional Composable that is rendered for each Cluster.
clusterItemContent
an optional Composable that is rendered for each non-clustered item.
clusterContentAnchor
the anchor for the cluster image
clusterItemContentAnchor
the anchor for the non-clustered item image
clusterContentZIndex
the z-index of the cluster
clusterItemContentZIndex
the z-index of the non-clustered item