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

    Main orchestrator for GeoLeaf API operations. Manages the lifecycle of the module, initialisation, and factory managers.

    Index

    Constructors

    Properties

    isInitialized: boolean
    moduleAccessFn: IModuleAccessFn | null

    Methods

    • Delegates GeoLeaf.init() to the initialisation manager.

      Parameters

      • options: Record<string, unknown>

        Raw init options

      Returns unknown

    • Delegates GeoLeaf.loadConfig() to the initialisation manager.

      Parameters

      • input: string | Record<string, unknown>

        URL string or config object

      Returns Promise<unknown>

    • Delegates GeoLeaf.setTheme() to the initialisation manager.

      Parameters

      • theme: string

        Theme identifier

      Returns boolean

    • Delegates GeoLeaf.createMap() to the factory manager.

      Parameters

      • targetId: string

        DOM element id for the new map

      • Optionaloptions: Record<string, unknown>

        Map creation options

      Returns unknown