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

    Interface IGeoLeafAPIConstructors

    Shape of the manager class constructors registered under GeoLeaf.API.

    interface IGeoLeafAPIConstructors {
        APIModuleManager?: new () => {
            init(): boolean;
            getModule(name: string): unknown;
        };
        APIInitializationManager?: new () => | {
            init(
                options: Record<string, unknown>,
                getModule: IModuleAccessFn,
            ): unknown;
            loadConfig(
                input: string | Record<string, unknown>,
                getModule: IModuleAccessFn,
            ): Promise<unknown>;
            setTheme(theme: string, getModule: IModuleAccessFn): unknown;
        }
        | undefined;
        APIFactoryManager?: new () => | {
            createMap(
                targetId: string,
                options: unknown,
                getModule: IModuleAccessFn,
            ): unknown;
        }
        | undefined;
    }
    Index

    Properties

    APIModuleManager?: new () => {
        init(): boolean;
        getModule(name: string): unknown;
    }
    APIInitializationManager?: new () => | {
        init(
            options: Record<string, unknown>,
            getModule: IModuleAccessFn,
        ): unknown;
        loadConfig(
            input: string | Record<string, unknown>,
            getModule: IModuleAccessFn,
        ): Promise<unknown>;
        setTheme(theme: string, getModule: IModuleAccessFn): unknown;
    }
    | undefined
    APIFactoryManager?: new () => | {
        createMap(
            targetId: string,
            options: unknown,
            getModule: IModuleAccessFn,
        ): unknown;
    }
    | undefined