---
title: "DataDrivenStyle | 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 DataDrivenStyle

DataDrivenStyle: { color: string; pointRadius: number; value: number }\[\]

Describes how to render a cluster of points

#### Type Declaration

-   ##### color: string
    
    Color of the cluster
    
-   ##### pointRadius: number
    
    Radius of the cluster circle
    
-   ##### value: number
    
    Numerical value to observe and apply the style upon. In case of clusters, the value to observe is automatically the number of elements in a cluster. In other cases, it can be a provided value.
