Interface: IResult

H.clustering.IResult

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

Methods

getMinZoom ()number

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

Returns:
Type Description
number A value indicating the minimum zoom level

getPosition ()H.geo.Point

This method retrieves the geographical position of the cluster result.

Returns:
Type Description
H.geo.Point An object containing the geographical coordinates of the location.

getWeight ()number

This method retrieves the weight of the cluster result.

Returns:
Type Description
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:
Type Description
boolean true if the result is a cluster, otherwise false