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

    The modules.legend config block (S10 F2 — migrated from ui.showLegend + legendConfig). Read via getLegendConfig(); mirrors the capability configSchema in legend-capability.ts. enabled is opt-out. collapsible is not exposed here — it is a fixed control constant, not a profile setting.

    interface LegendModuleConfig {
        enabled: boolean;
        title?: string;
        position?: string;
        collapsedByDefault?: boolean;
    }
    Index

    Properties

    enabled: boolean

    Enable the legend (opt-out — active unless a profile sets false).

    title?: string

    Legend panel title.

    position?: string

    Legend control position on the map.

    collapsedByDefault?: boolean

    Whether the legend starts collapsed.