ClusterRenderer

Functions

Link copied to clipboard
abstract fun getClusterTextAppearance(clusterSize: Int): Int
Called to determine the text appearance of a cluster.
Link copied to clipboard
abstract fun getColor(clusterSize: Int): Int
Called to determine the color of a Cluster.
Link copied to clipboard
abstract fun onAdd()
Called when the view is added.
Link copied to clipboard
abstract fun onClustersChanged(clusters: Set<out Cluster<T>>)
Called when the view needs to be updated because new clusters need to be displayed.
Link copied to clipboard
abstract fun onRemove()
Called when the view is removed.
Link copied to clipboard
abstract fun setAnimation(animate: Boolean)
Called to set animation on or off
Link copied to clipboard
abstract fun setAnimationDuration(animationDurationMs: Long)
Sets the length of the animation in milliseconds.