Data Lens Developer's Guide

Clustering

Type Definition Summary

Defines client-side clustering in the ObjectLayer .

Type Definition Description

When the clustering option is provided, rows returned from dataToRows go to the clustering.rowToDataPoint callback to be transformed to data points. Then, the data points are clustered according to clustering.options . Clustering produces clusters and noise points (data points that are not clustered). Clusters and noise points must be presented as map objects with the rowToMapObject callback and can be styled with the rowToStyle callback.

Property Details

rowToDataPoint : { function( H.datalens.ObjectLayer.Row ) : H.clustering.DataPoint }

Defines data points from rows

options : { function( H.datalens.QueryTileProvider.Zoom ) : H.clustering.Provider.ClusteringOptions }

Defines clustering options as a function of the zoom level

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.