Geo-visualization Developer's Guide

Options

Type Definition Summary

Defines data processing and data-driven styling for ObjectLayer

Type Definition Description

The initial step of rendering is to split the tile data by rows, where each row represents a bucket. By default this step is processed with H.datalens.ObjectLayer.defaultDataToRows . This behavior can be changed by defining the dataToRows callback. In the next step each row must be presented as a map object with the rowToMapObject callback. Data-driven styling can be provided with the rowToStyle callback.

Property Details

dataToRows : { function( H.datalens.Service.Data ) : Array.< H.datalens.ObjectLayer.Row > } [optional]

Defines how the input data is split by rows. You can specify this callback to define client-side aggregation and filtering.

rowToMapObject : { function( H.datalens.ObjectLayer.Row , H.datalens.QueryTileProvider.Zoom ) : H.map.Object }

Defines how each row is presented on the map (eg marker, polygon)

rowToStyle : { function( H.datalens.ObjectLayer.Row , H.datalens.QueryTileProvider.Zoom , H.datalens.ObjectLayer.StyleState ) : H.datalens.ObjectLayer.ObjectStyleOptions } [optional]

Defines map object style and icon according to data row and zoom level. Also it can define different styles depending on the StyleState (eg hovered, selected).

dataDomains : { H.datalens.ObjectLayer.DataDomains } [optional]

Defines quantization of data for improving data-driven styling performance

clustering : { H.datalens.ObjectLayer.Clustering } [optional]

When present, client-side clustering is applied

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.