Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 630 Bytes

cluster-control.md

File metadata and controls

33 lines (24 loc) · 630 Bytes

Cluster control

Use

Add simple button-driven clustering.

Example

@controls {
  bottom {
    cluster {
      option {
        value: person by "Projects" as "Project";
        label: "Project";
      }

      option {
        value: person by "Geographic region" as "Location";
        label: "Location";
      }
    }
  }
}

Supported properties

Use nested option blocks to define how the map can be clustered. Each option accepts the following properties: