# SetClusterOptions

> **SetClusterOptions** = `object`

Defined in: [source/geojson\_source.ts:59](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/source/geojson_source.ts#L59>)

The cluster options to set

## Properties

### cluster?

> `optional` **cluster?**: `boolean`

Defined in: [source/geojson\_source.ts:63](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/source/geojson_source.ts#L63>)

Whether or not to cluster

---

### clusterMaxZoom?

> `optional` **clusterMaxZoom?**: `number`

Defined in: [source/geojson\_source.ts:68](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/source/geojson_source.ts#L68>)

The cluster's max zoom. Non-integer values are rounded to the closest integer due to supercluster integer value requirements.

---

### clusterRadius?

> `optional` **clusterRadius?**: `number`

Defined in: [source/geojson\_source.ts:72](<https://github.com/maplibre/maplibre-gl-js/blob/538a7680ab16d5cf5a6564ee0ce72a11be14d142/src/source/geojson_source.ts#L72>)

The cluster's radius
