# Marker clustering and heatmaps

Marker clustering that groups thousands of points into badges counting them, and a heatmap of a month of earthquakes by magnitude that turns into dots as you zoom in.

## Examples

- [Marker clustering](/examples/clusters-heatmaps/big/): Markers near each other clustered into one badge counting them, split apart as you zoom in.
- [Heatmaps](/examples/clusters-heatmaps/earthquakes/): A month of earthquakes as a heatmap by magnitude, dots when zoomed in, volcanoes as pins, a checkbox for each.

## Reference

### Heatmaps, from the [Store reference](/store/#heatmaps)

| Option | Type | What |
|---|---|---|
| `groups` | `string[]` | The groups drawn as heat, one or more; every marker when left out |
| `maxZoom` | `number` | The zoom the heat gives way to its dots at, 3 to 25; default 9 |
