public interface ClusterRenderer<T extends ClusterItem>
Modifier and Type | Method and Description |
---|---|
void |
onAdd()
Called when the view is added.
|
void |
onClustersChanged(java.util.Set<? extends Cluster<T>> clusters)
Called when the view needs to be updated because new clusters need to be displayed.
|
void |
onRemove()
Called when the view is removed.
|
void |
setAnimation(boolean animate)
Called to set animation on or off
|
void |
setOnClusterClickListener(ClusterManager.OnClusterClickListener<T> listener) |
void |
setOnClusterInfoWindowClickListener(ClusterManager.OnClusterInfoWindowClickListener<T> listener) |
void |
setOnClusterItemClickListener(ClusterManager.OnClusterItemClickListener<T> listener) |
void |
setOnClusterItemInfoWindowClickListener(ClusterManager.OnClusterItemInfoWindowClickListener<T> listener) |
void onClustersChanged(java.util.Set<? extends Cluster<T>> clusters)
clusters
- the clusters to be displayed.void setOnClusterClickListener(ClusterManager.OnClusterClickListener<T> listener)
void setOnClusterInfoWindowClickListener(ClusterManager.OnClusterInfoWindowClickListener<T> listener)
void setOnClusterItemClickListener(ClusterManager.OnClusterItemClickListener<T> listener)
void setOnClusterItemInfoWindowClickListener(ClusterManager.OnClusterItemInfoWindowClickListener<T> listener)
void setAnimation(boolean animate)
void onAdd()
void onRemove()