Maps API for JavaScript Developer's Guide

H.clustering.ITheme

Interface Summary

This interface specifies the methods a clustering theme must implement.

[ For full details, see the Interface Details ]

Method Summary

Table 1. Methods
Methods

getClusterPresentation (cluster) : {H.map.Object}

This method retrieves a map object representing a cluster.

getNoisePresentation (noisePoint) : {H.map.Object}

This method retrieves a map object representing a noise point.

Interface Description

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.

Method Details

getClusterPresentation (cluster) : {H.map.Object}

This method retrieves a map object representing a cluster.

Parameters:
 
cluster:
{H.clustering.ICluster}
 
An object implementing the interface ICluster
Returns:
 
{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.

Parameters:
 
noisePoint:
{H.clustering.INoisePoint}
 
An object implementing the interface INoisePoint
Returns:
 
{H.map.Object}
A map object representation of the received noise point.