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

    UI configuration section All flags come from profile.json → ui (or the root geoleaf.config.json → ui).

    interface UIConfig {
        theme?: string;
        language?: string;
        showBaseLayerControls?: boolean;
        showLayerManager?: boolean;
        showCredentialButton?: boolean;
        showPrint?: boolean;
        showMeasure?: boolean;
        showEditor?: boolean;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    theme?: string

    Active colour theme.

    • "light" / "dark": explicit, persisted in localStorage.
    • "auto": follows prefers-color-scheme; user toggle overrides until localStorage is cleared. Default "auto".
    language?: string

    UI language code (e.g. "fr", "en").

    showBaseLayerControls?: boolean

    Show the basemap switcher control. Default true.

    showLayerManager?: boolean

    Show the layer manager panel. Default true.

    showCredentialButton?: boolean

    Show the credential/login button (injected by @geoleaf-plugins/connector plugin). Default false.

    showPrint?: boolean

    Show the print/export button (requires @geoleaf-plugins/print). Default true.

    showMeasure?: boolean

    Show the measure & annotation button (requires @geoleaf-plugins/measure). Default true.

    showEditor?: boolean

    Show the geometry editor button (requires @geoleaf-plugins/editor). Default false.