Geovisualization Developer's Guide

H.datalens. Provider

Class Summary


Defines the source of the data for layers from a JSON object.

[ For full details, see the Class Details ]

Class Description

Providers define interfaces for layers to access data. The input data can be stored locally or loaded from the network. Data can be loaded by tiles or in one chunk. This provider allows you to supply data stored locally or fetched using external tools.
var provider = new H.datalens.Provider(json);
val layer = new H.datalens.ObjectLayer(provider, {...});

Constructor Details

H.datalens.Provider (data, options)

data :
{ H.datalens.Service.Data }
JSON object
options :
{ }
Configures data accessibility parameters

Method Details

setData (data)

Updates the provider data. When data is updated, the update event is triggered so that the consuming layers are redrawn.

data :
{ H.datalens.Service.Data }
JSON object

getData () : { H.datalens.Service.Data }

Retrieves the provider data.

{ H.datalens.Service.Data }
JSON object

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