Class MapMarkerCluster.Grouping

  • java.lang.Object
    • com.here.sdk.mapview.MapMarkerCluster.Grouping
  • Enclosing class:
    MapMarkerCluster

    public static final class MapMarkerCluster.Grouping
    extends java.lang.Object

    Represents a group of map markers belonging to a cluster.

    It contains a list of map markers grouped on map view under single icon of marker cluster or single map marker entry for markers being part of cluster but spread enough not to be grouped.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<MapMarker> markers
      List of map markers grouped on map view under map marker cluster icon.
      MapMarkerCluster parent
      Map marker cluster that entries in markers belong to.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • markers

        @NonNull
        public java.util.List<MapMarker> markers

        List of map markers grouped on map view under map marker cluster icon.

    • Constructor Detail

      • Grouping

        public Grouping​(@NonNull
                        java.util.List<MapMarker> markers,
                        @NonNull
                        MapMarkerCluster parent)

        Creates a new instance.

        Parameters:
        markers -

        List of map markers grouped on map view under map marker cluster icon.

        parent -

        Map marker cluster that entries in markers belong to.