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

    Layer reference entry in the profile layers array. Points to a per-layer JSON config file loaded at runtime.

    interface LayerConfig {
        id?: string;
        url?: string;
        name?: string;
        label?: string;
        configFile?: string;
        layerManagerId?: string;
        visible?: boolean;
        style?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    id?: string

    Unique layer ID used throughout the app.

    url?: string

    Direct GeoJSON / tile URL (alternative to configFile).

    name?: string

    Internal name (legacy). Prefer label.

    label?: string

    Display label shown in the layer manager.

    configFile?: string

    Relative path to the layer's JSON config file.

    layerManagerId?: string

    Layer manager group/panel ID this layer belongs to.

    visible?: boolean

    Whether the layer is visible on startup. Default true.

    style?: string

    Active style ID applied to this layer.