GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Creates a clustered GeoJSON source with cluster circle/symbol layers and wires the default click-to-expand interaction.

      Parameters

      • map: Map$1

        The underlying maplibregl.Map.

      • registry: MaplibreLayerRegistry

        The adapter's layer registry.

      • clusterIds: Map<string, ClusterLayerIds>

        The adapter's cluster-id map (mutated: id → layer ids).

      • id: string

        GeoLeaf cluster group id.

      • Optionaloptions: Record<string, unknown>

        Cluster options (clusterRadius, clusterMaxZoom).

      Returns Promise<void>