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

    Interface IAPIManagerRecord

    Opaque manager shapes: typed at the class level, stored as a union here.

    interface IAPIManagerRecord {
        module?: { init(): boolean; getModule(name: string): unknown };
        initialization?: {
            init(
                options: Record<string, unknown>,
                getModule: IModuleAccessFn,
            ): unknown;
            loadConfig(
                input: string | Record<string, unknown>,
                getModule: IModuleAccessFn,
            ): Promise<unknown>;
            setTheme(theme: string, getModule: IModuleAccessFn): unknown;
        };
        factory?: {
            init(getModule: IModuleAccessFn): boolean;
            createMap(
                targetId: string,
                options: unknown,
                getModule: IModuleAccessFn,
            ): unknown;
        };
    }
    Index
    module?: { init(): boolean; getModule(name: string): unknown }
    initialization?: {
        init(
            options: Record<string, unknown>,
            getModule: IModuleAccessFn,
        ): unknown;
        loadConfig(
            input: string | Record<string, unknown>,
            getModule: IModuleAccessFn,
        ): Promise<unknown>;
        setTheme(theme: string, getModule: IModuleAccessFn): unknown;
    }
    factory?: {
        init(getModule: IModuleAccessFn): boolean;
        createMap(
            targetId: string,
            options: unknown,
            getModule: IModuleAccessFn,
        ): unknown;
    }

    Type Declaration

    • init: function
      • Wires module access into the factory.

        ⚠️ Declared here because the controller now CALLS it. It existed on APIFactoryManager from the start and nobody ever invoked it, so the factory ran with getModule === null for its whole life — invisible while its only job was to fill a map of its own, fatal the moment its accessors had to reach Core.

        Parameters

        Returns boolean

    • createMap: function