Cluster

interface Cluster<T : ClusterItem>(source)

A group of nearby ClusterItems, drawn as one marker with their count.

Type Parameters

T

The type of the items

Properties

Link copied to clipboard
abstract val items: Collection<T>

The items in the cluster.

Link copied to clipboard
abstract val position: LatLng

Where the cluster marker is drawn: the position of its first item.

Link copied to clipboard
abstract val size: Int

The number of items in the cluster.