Maps API for JavaScript Developer's Guide

H.clustering.Provider.Strategy

Enumeration Summary

This enumeration represents identifiers for possible clustering strategies. FASTGRID clustering is an efficient way to cluster large sets of data points. GRID clustering is slower, but has greater precision due to a bigger range of epsilon values. This strategy is suitable for clustering smaller data sets (up to 1000 data points) on desktop devices. DYNAMICGRID clustering uses the same algorithm of clustering as the GRID, but clusters on the viewport basis. It is best suited for data sets that are subject to frequent updates.

[ For full details, see the Enumeration Details ]

Enumeration Constants Summary

Table 1. Constants
Constants

static FASTGRID

static GRID

static DYNAMICGRID

Enumeration Details

This enumeration represents identifiers for possible clustering strategies. FASTGRID clustering is an efficient way to cluster large sets of data points. GRID clustering is slower, but has greater precision due to a bigger range of epsilon values. This strategy is suitable for clustering smaller data sets (up to 1000 data points) on desktop devices. DYNAMICGRID clustering uses the same algorithm of clustering as the GRID, but clusters on the viewport basis. It is best suited for data sets that are subject to frequent updates.

Enumeration Constants Details

static FASTGRID

static GRID

static DYNAMICGRID