Class MapMarkerCluster.Grouping

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

public static final class MapMarkerCluster.Grouping extends 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 Details

    • markers

      @NonNull public List<MapMarker> markers

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

    • parent

      @NonNull public MapMarkerCluster parent

      Map marker cluster that entries in markers belong to.

  • Constructor Details

    • Grouping

      public Grouping(@NonNull 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.