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

    The subset of a layer entry the style selector needs: its identity and the styles it offers.

    Deliberately narrower than the full layer config — the selector never reads geometry or data, so a caller can build one from any layer-shaped object.

    interface LayerItemForStyle {
        id: string;
        label?: string;
        styles?: LayerItemStyles;
    }
    Index

    Properties

    Properties

    id: string

    Layer id, the key under which the current style is tracked.

    label?: string

    Display name; falls back to the id when absent.

    styles?: LayerItemStyles

    The alternative styles this layer offers. Absent means no style choice is rendered.