Interface ScreenBasedAlgorithm<T extends ClusterItem>
-
- Type Parameters:
T
-
- All Superinterfaces:
Algorithm<T>
- All Known Implementing Classes:
NonHierarchicalViewBasedAlgorithm
,ScreenBasedAlgorithmAdapter
public interface ScreenBasedAlgorithm<T extends ClusterItem> extends Algorithm<T>
This algorithm uses map position for clustering, and should be reclustered on map movement
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCameraChange(com.google.android.gms.maps.model.CameraPosition position)
boolean
shouldReclusterOnMapMovement()
-
Methods inherited from interface com.google.maps.android.clustering.algo.Algorithm
addItem, addItems, clearItems, getClusters, getItems, getMaxDistanceBetweenClusteredItems, lock, removeItem, removeItems, setMaxDistanceBetweenClusteredItems, unlock, updateItem
-
-