GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Applies clustering options (radius, max-zoom) to the GeoJSON adapter options in place. The radius/max-zoom resolve per-layer def → modules.cluster config → the shared defaults; the max-zoom is then clamped to sourceMaxZoom - 1 so cluster expansion always has a zoom to fly to.

      Parameters

      • adapterOptions: Record<string, unknown>

        The adapter option bag, mutated in place.

      • def: ClusterLayerDef

        The GeoJSON layer definition (clusterRadius / disableClusteringAtZoom).

      • layerId: string

        The layer id (log context).

      • Log: GeoJSONLoaderLog

        The GeoJSON loader logger.

      Returns void