---
title: "SetClusterOptions | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Type Alias SetClusterOptions

The cluster options to set

type SetClusterOptions \= {  
    [cluster](#cluster)?: boolean;  
    [clusterMaxZoom](#clustermaxzoom)?: number;  
    [clusterRadius](#clusterradius)?: number;  
}

##### Index

### Properties[](#properties)

[cluster?](#cluster) [clusterMaxZoom?](#clustermaxzoom) [clusterRadius?](#clusterradius)

## Properties[](#properties-1)

### `Optional`cluster[](#cluster)

cluster?: boolean

Whether or not to cluster

### `Optional`clusterMaxZoom[](#clustermaxzoom)

clusterMaxZoom?: number

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

### `Optional`clusterRadius[](#clusterradius)

clusterRadius?: number

The cluster's radius
