-
- All Implemented Interfaces:
-
com.google.maps.android.clustering.algo.Algorithm
public interface ScreenBasedAlgorithm<T extends ClusterItem> implements Algorithm<T>
This abstract interface provides two methods: one to determine if the map should recluster when the map moves (shouldReclusterOnMapMovement), and another method to determine the behavior when the camera moves (onCameraChange ()})
-
-
Method Summary
Modifier and Type Method Description abstract boolean
shouldReclusterOnMapMovement()
abstract void
onCameraChange(CameraPosition position)
-
Methods inherited from class com.google.maps.android.clustering.algo.Algorithm
addItem, addItems, clearItems, getClusters, getItems, getMaxDistanceBetweenClusteredItems, lock, removeItem, removeItems, setMaxDistanceBetweenClusteredItems, unlock, updateItem
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
shouldReclusterOnMapMovement
abstract boolean shouldReclusterOnMapMovement()
-
onCameraChange
abstract void onCameraChange(CameraPosition position)
-
-
-
-