Maps API for JavaScript Developer's Guide

H.clustering.DataPoint

Class Summary

Implements: H.geo.IPoint

This class represents the input data structure for data points to be clustered.

[ For full details, see the Class Details ]

Property Summary

Table 1. Properties
Properties

lat : {H.geo.Latitude}

This property holds the latitude of the data point.

lng : {H.geo.Longitude}

This property holds the longitude of the data point.

wt : {number}

This property holds the (clustering) weight of the data point.

data : {*}

This property holds the data associated with the given data point.

Class Description

This class represents the input data structure for data points to be clustered.

Constructor Details

H.clustering.DataPoint(lat, lng, opt_weight, opt_data)

Parameters:
 
lat:
{H.geo.Latitude}
 
The latitude coordinate of the position of the data point
lng:
{H.geo.Longitude}
 
The longitude coordinate of the position of the data point
opt_weight:
{number=} [optional]
 
The weight of the data point as a positive number, the default is 1
opt_data:
{*=} [optional]
 
Optional data, which will be associated with the given DataPoint

Property Details

lat: {H.geo.Latitude}

This property holds the latitude of the data point.

lng: {H.geo.Longitude}

This property holds the longitude of the data point.

wt: {number}

This property holds the (clustering) weight of the data point.

data: {*}

This property holds the data associated with the given data point.

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.