Interface ClusterManager.OnClusterItemClickListener<T extends ClusterItem>

  • Enclosing class:
    ClusterManager<T extends ClusterItem>

    public static interface ClusterManager.OnClusterItemClickListener<T extends ClusterItem>
    Called when an individual ClusterItem is clicked.
    • Method Detail

      • onClusterItemClick

        boolean onClusterItemClick​(T item)
        Called when item is clicked.
        Parameters:
        item - the item clicked
        Returns:
        true if the listener consumed the event (i.e. the default behavior should not occur), false otherwise (i.e. the default behavior should occur). The default behavior is for the camera to move to the marker and an info window to appear.