Maps API for JavaScript Developer's Guide

H.clustering.IResult

Interface Summary

This interface represents an item in the results of a clustering operation.

[ For full details, see the Interface Details ]

Method Summary

Table 1. Methods
Methods

getPosition () : {H.geo.Point}

This method retrieves the geographical position of the cluster result.

getWeight () : {number}

This method retrieves the weight of the cluster result.

isCluster () : {boolean}

This method retrieves a value indicating whether the cluster result is a cluster or a noise point.

getMinZoom () : {number}

This method retrieves the minimum zoom level at which the given item is not part of another cluster.

Interface Description

This interface represents an item in the results of a clustering operation.

Method Details

getPosition () : {H.geo.Point}

This method retrieves the geographical position of the cluster result.

Returns:
 
{H.geo.Point}
An object containing the geographical coordinates of the location.

getWeight () : {number}

This method retrieves the weight of the cluster result.

Returns:
 
{number}
A value indicating the weight of the cluster result.

isCluster () : {boolean}

This method retrieves a value indicating whether the cluster result is a cluster or a noise point.

Returns:
 
{boolean}
true if the result is a cluster, otherwise false

getMinZoom () : {number}

This method retrieves the minimum zoom level at which the given item is not part of another cluster.

Returns:
 
{number}
A value indicating the minimum zoom level