Maps API for JavaScript Developer's Guide

H.clustering.Provider.ClusteringOptions

Type Definition Summary

This type encapsulates configuration (initialization) options which are used in cluster calculations.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

eps

The epsilon parameter for cluster calculations. For the FASTGRID strategy, it must not exceed 256 and must take values that are a power of 2. For the GRID and DYNAMICGRID strategies, it can take values from 10 to 127. The Default is 32.

minWeight

The minimum point weight sum to form a cluster, the default is 2

projection

The projection to use for clustering, the default is H.geo.mercator

strategy

The identifier of the clustering strategy, defaults to H.clustering.Provider.Strategy.FASTGRID

Type Definition Description

This type encapsulates configuration (initialization) options which are used in cluster calculations.

Property Details

eps: {number=} [optional]

The epsilon parameter for cluster calculations. For the FASTGRID strategy, it must not exceed 256 and must take values that are a power of 2. For the GRID and DYNAMICGRID strategies, it can take values from 10 to 127. The Default is 32.

minWeight: {number=} [optional]

The minimum point weight sum to form a cluster, the default is 2

projection: {H.geo.IProjection=} [optional]

The projection to use for clustering, the default is H.geo.mercator

strategy: {H.clustering.Provider.Strategy=} [optional]

The identifier of the clustering strategy, defaults to H.clustering.Provider.Strategy.FASTGRID