Package com.google.maps.android.clustering.algo
See: Description
-
Interface Summary Interface Description Algorithm Logic for computing clusters ScreenBasedAlgorithm 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 ()}) -
Class Summary Class Description AbstractAlgorithm Base Algorithm class that implements lock/unlock functionality. StaticCluster A cluster whose center is determined upon creation. NonHierarchicalViewBasedAlgorithm Algorithm that can be used for managing large numbers of items (>1000 markers). ContinuousZoomEuclideanCentroidAlgorithm A variant of CentroidNonHierarchicalDistanceBasedAlgorithm that uses continuous zoom scaling and Euclidean distance for clustering. NonHierarchicalDistanceBasedAlgorithm A simple clustering algorithm with O(nlog n) performance. ScreenBasedAlgorithmAdapter GridBasedAlgorithm Groups markers into a grid for clustering. PreCachingAlgorithmDecorator Optimistically fetch clusters for adjacent zoom levels, caching them as necessary. CentroidNonHierarchicalDistanceBasedAlgorithm A variant of NonHierarchicalDistanceBasedAlgorithm that clusters items based on distance but assigns cluster positions at the centroid of their items, instead of using the position of a single item as the cluster position.