GeoLeaf Core API - v3.0.0
    Preparing search index...

    The object mounted on GeoLeaf.Cluster.

    ⚠️ Named on purpose, and it was the LAST capability without a name. global.d.ts declared Cluster?: typeof import("./public-api.js").Cluster — a member this module has never exported. The declaration compiled everywhere skipLibCheck is on (the common case) and rendered TS2694 the moment an integrator turned it off. Trouvé par la tâche 10.8 du passage public, l'épreuve hors monorepo, avant la publication : npm grave un .d.ts par version, et le corriger après aurait coûté un 3.0.1.

    📌 Les 20 autres capacités suivent déjà ce patron (BrandingPublicApi, CoordinatesPublicApi…). Celle-ci était la 21ᵉ, et la seule dont le commentaire admettait l'écart — « Pas de type public nommé » — tout en référençant un nom.

    type ClusterPublicApi = {
        isEnabled: () => boolean;
        getConfig: () => ClusterConfig;
    }
    Index

    Properties

    Properties

    isEnabled: () => boolean

    Returns true when clustering is enabled (modules.cluster.enabled !== false).

    getConfig: () => ClusterConfig

    Returns the resolved modules.cluster config (merged over the built-in defaults).