Display HTML clusters with custom properties
This advanced example uses MapLibre GL JS clustering with HTML markers and custom property expressions. To use HTML or SVG for clusters in place of a MapLibre GL layer, you have to manually synchronize the clustered source with a pool of marker objects that updates continuously while the map view changes.
An extension of MapLibre GL JS