HERE Android SDK Developer's Guide

ClusterViewObject

The class ClusterViewObject is a member of com.here.android.mpa.cluster .

Class Summary

public final class ClusterViewObject

extends com.here.android.mpa.mapping.MapProxyObject, com.here.android.mpa.common.ViewObject, java.lang.Object

Represents a visual manifestation of a marker cluster.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in ClusterViewObject
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public Type getBaseType ()

Returns the real implementation type of the ViewObject .

This method overrides common.ViewObject.getBaseType(void)

public GeoBoundingBox getBoundingBox ()

Returns a bounding box containing all markers in this cluster.

public java.util.Collection <MapMarker> getMarkers ()

Returns all the markers represented by this cluster.

public Type getType ()

Returns the type of object that the MapProxyObject represents.

This method overrides mapping.MapProxyObject.getType(void)

public int hashCode ()

For documentation, see java.lang.Object

public String toString ()

For documentation, see java.lang.Object

Class Details

Represents a visual manifestation of a marker cluster.

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public Type getBaseType ()

Returns the real implementation type of the ViewObject .

This method overrides common.ViewObject.getBaseType(void)

public GeoBoundingBox getBoundingBox ()

Returns a bounding box containing all markers in this cluster.

Returns:

A minimal box containing all the markers from this cluster represented by a GeoBoundingBox.

public java.util.Collection <MapMarker> getMarkers ()

Returns all the markers represented by this cluster.

Returns:

A shallow copy of markers clustered in this cluster

public Type getType ()

Returns the type of object that the MapProxyObject represents.

This method overrides mapping.MapProxyObject.getType(void)

public int hashCode ()

For documentation, see java.lang.Object

public String toString ()

For documentation, see java.lang.Object