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

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.