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

    The control object returned by GeoLeaf._LayerManagerControl.create().

    Declared here rather than in control.ts so that layer-manager-api.ts can name it without importing the control module — control.ts sits on a chain that loops back through theme-applier, and that import would close a cycle.

    interface LMControlInstance {
        _map: unknown;
        _bodyEl: HTMLElement | null;
        _container: HTMLElement | null;
        _glOptions: LMControlOptions & { sections?: LMSection[] };
        _controlHandle: { remove(): void } | null;
        _cleanups: (() => void)[];
        addTo(map: unknown): LMControlInstance;
        remove(): void;
        _buildStructure(): void;
        _renderSections(sections: LMSection[]): void;
        _toggleCollapsed(): void;
        updateSections(sections: LMSection[]): void;
        refresh(): void;
    }
    Index

    Properties

    _map: unknown
    _bodyEl: HTMLElement | null

    Null until _buildLMBody() runs (i.e. before addTo()).

    _container: HTMLElement | null
    _glOptions: LMControlOptions & { sections?: LMSection[] }
    _controlHandle: { remove(): void } | null
    _cleanups: (() => void)[]

    Methods