GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Adds cluster circle + count label sub-layers for a GeoJSON source that has cluster: true. Also patches the existing "circle" sub-layer with a filter to exclude clustered points.

      Parameters

      • map: Map$1
      • id: string
      • sourceId: string
      • layoutBase: Record<string, string>
      • beforeId: string | undefined
      • Optionaloptions: { minZoom?: number; maxZoom?: number }

      Returns string[]

      The sub-layer type keys added ("clusters" and "cluster-count").