The cluster layer is on by default, along with the Heatmap layer.
It shows aggregate values within a certain cluster radius, so changing the radius changes the aggregation grouping. Note that this radius is relative to the magnification on the map, so the number of aggregations change as you zoom in and out. The cluster color specifies the color of the circle that reports the number of items in each aggregate. At sufficiently high magnifications, when individual data points are visible as marks, the cluster layer supports click behavior.
To get to the options in the Cluster Layer menu, follow these steps:
On the right side of Visual Designer, click the Settings menu.
In the Settings menu, click Cluster Layer.
Make the appropriate changes to the Cluster Layer options.
These options are:
To show or hide the Cluster Layer, select or unselect Enable Cluster Layer option. This option is on by default.
After you disable the Cluster layer option, Google map renders only with the Heatmap layer option, the other default.
Similarly, the Mapbox map renders without the Cluster layer option.
To change the color of the Cluster Layer, change the value of the Cluster Color option, either by changing the hexadecimal value, or by selecting the new color from the color palette.
Note the cluster color change from the default of #ff9900
to custom
#42a9b9
on the Google map rendering. We turned off the Heatmap layer
option.
Similarly, note the color change for cluster layer on the Mapbox map.
To change the clustering granularity for the map, you must adjust the Cluster Radius option. The default value is 80, and the minimum value is 30.
The default cluster radius value is 80. Compare the results of setting cluster radius on Google Map to 30, 60, 90, and 120.
Similarly, note the change for the same cluster sizes on the Mapbox map.