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

    Data configuration section (profiles, mapping, etc.)

    interface DataConfig {
        activeProfile?: string;
        profilesBasePath?: string;
        enableProfilePoiMapping?: boolean;
        availableProfiles?: AvailableProfileEntry[];
    }
    Index

    Properties

    activeProfile?: string

    Name of the active profile to load.

    profilesBasePath?: string

    Base path to the profiles directory. Default "profiles".

    enableProfilePoiMapping?: boolean

    Enable POI mapping from active profile.

    availableProfiles?: AvailableProfileEntry[]

    Profiles offered by the profile-switcher capability.

    Generated at deploy time by scripts/build-deploy.cjs, which harvests {id, displayLabel, icon} from every profiles/<id>/profile.json — never written by hand. A browser cannot enumerate a server directory, so the list has to be baked in; harvesting it from the same loop that copies the profiles is what keeps it from drifting.

    Absent when the app runs straight from sources (no deploy step): the switcher then renders nothing, which is the intended degradation.