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 clusteringMarkers near each other clustered into one badge counting them, split apart as you zoom in.
HeatmapsA month of earthquakes as a heatmap by magnitude, dots when zoomed in, volcanoes as pins, a checkbox for each.
Map images: © OpenStreetMap contributors, © OpenMapTiles, OpenFreeMap.
Reference
Heatmaps, from the Store reference
| 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 |