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}

The latitude coordinate of the data point's position

lng : {H.geo.Longitude}

The longitude coordinate of the data point's position

wt : {number}

The weight of the data point

data : {*}

Data associated with this 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 data point's position
lng:
{H.geo.Longitude}
 
The longitude coordinate of the data point's position
opt_weight:
{number=} [optional]
 
The weight of the data point as a positive number > 0. If not specified it , default is 1.
opt_data:
{*=} [optional]
 
Optional data, which will be associated with this DataPoint

Property Details

lat: {H.geo.Latitude}

The latitude coordinate of the data point's position

lng: {H.geo.Longitude}

The longitude coordinate of the data point's position

wt: {number}

The weight of the data point

data: {*}

Data associated with this 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.