Interface ScreenBasedAlgorithm

  • 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 ({@link #shouldReclusterOnMapMovement()}), and another method to determine the behavior when the camera moves ({@link #onCameraChange(CameraPosition)} ()})

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Boolean shouldReclusterOnMapMovement()
      abstract Unit 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