On this page

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.

Was this helpful?
SDK JS
Reference
DataDrivenStyle