Package-level declarations
Types
Link copied to clipboard
Properties for a marker in Clustering.
Properties
Link copied to clipboard
CompositionLocal used to provide ClusteringMarkerProperties to the content of a cluster or cluster item.
Functions
Link copied to clipboard
fun <T : ClusterItem> Clustering(items: Collection<T>, clusterManager: ClusterManager<T>, clusterItemDecoration: @Composable (T) -> Unit = {})
Groups many items on a map based on clusterManager.
fun <T : ClusterItem> Clustering(items: Collection<T>, onClusterClick: (Cluster<T>) -> Boolean = { false }, onClusterItemClick: (T) -> Boolean = { false }, onClusterItemInfoWindowClick: (T) -> Unit = { }, onClusterItemInfoWindowLongClick: (T) -> Unit = { }, clusterContent: @Composable (Cluster<T>) -> Unit? = null, clusterItemContent: @Composable (T) -> Unit? = null, clusterContentAnchor: Offset = Offset(0.5f, 1.0f), clusterItemContentAnchor: Offset = Offset(0.5f, 1.0f), clusterContentZIndex: Float = 0.0f, clusterItemContentZIndex: Float = 0.0f, clusterItemDecoration: @Composable (T) -> Unit = {})
fun <T : ClusterItem> Clustering(items: Collection<T>, onClusterClick: (Cluster<T>) -> Boolean = { false }, onClusterItemClick: (T) -> Boolean = { false }, onClusterItemInfoWindowClick: (T) -> Unit = { }, onClusterItemInfoWindowLongClick: (T) -> Unit = { }, clusterContent: @Composable (Cluster<T>) -> Unit? = null, clusterItemContent: @Composable (T) -> Unit? = null, clusterContentAnchor: Offset = Offset(0.5f, 1.0f), clusterItemContentAnchor: Offset = Offset(0.5f, 1.0f), clusterContentZIndex: Float = 0.0f, clusterItemContentZIndex: Float = 0.0f, clusterRenderer: ClusterRenderer<T>? = null, clusterItemDecoration: @Composable (T) -> Unit = {})
fun <T : ClusterItem> Clustering(items: Collection<T>, onClusterClick: (Cluster<T>) -> Boolean = { false }, onClusterItemClick: (T) -> Boolean = { false }, onClusterItemInfoWindowClick: (T) -> Unit = { }, onClusterItemInfoWindowLongClick: (T) -> Unit = { }, clusterContent: @Composable (Cluster<T>) -> Unit? = null, clusterItemContent: @Composable (T) -> Unit? = null, clusterContentAnchor: Offset = Offset(0.5f, 1.0f), clusterItemContentAnchor: Offset = Offset(0.5f, 1.0f), clusterContentZIndex: Float = 0.0f, clusterItemContentZIndex: Float = 0.0f, clusterItemDecoration: @Composable (T) -> Unit = {}, onClusterManager: (ClusterManager<T>) -> Unit? = null)
Groups many items on a map based on zoom level.
Link copied to clipboard
Helper function to specify properties for the marker representing a cluster or cluster item.
Link copied to clipboard
Link copied to clipboard
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.