Interface: ITheme

H.clustering.ITheme

This interface specifies the methods a clustering theme must implement.

Themes can be used to style the output of a clustering process when overlaying clustered data on the map.

Methods

getClusterPresentation (cluster)H.map.Object

This method retrieves a map object representing a cluster.

Name Type Description
cluster H.clustering.ICluster

An object implementing the interface ICluster

Returns:
Type Description
H.map.Object A map object representing the received cluster

getNoisePresentation (noisePoint)H.map.Object

This method retrieves a map object representing a noise point.

Name Type Description
noisePoint H.clustering.INoisePoint

An object implementing the interface INoisePoint

Returns:
Type Description
H.map.Object A map object representation of the received noise point.