Skip to main content

Clustering

Controls & Overlays
View Docs

Cluster large datasets for better performance and visualization

clusteraggregationperformancelarge-data

Demo

Clustering Demo - 500 Points. Interactive map centered at 0.00 degrees N, 0.00 degrees E at zoom level 2. Use keyboard to navigate.
Total Points
500
Cluster Radius
50px
Max Cluster Zoom
14
Categories
4

Clustering Features:

  • 500 random points clustered by proximity
  • Cluster size and color based on point count
  • Hover over clusters to see visual feedback (cursor + size change)
  • Click clusters to zoom in and expand them
  • Zoom in to see individual points (max zoom 14)

Usage

import { Clustering } from '@classic-homes/maps-svelte';
// or for React:
import { Clustering } from '@classic-homes/maps-react';

Related Components