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