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

    Ephemeral GPU-side feature-state (sync badge, hover, selection). Applied via map.setFeatureState() and therefore requiring promoteId on the source; it is cleared by any source data rebuild (setData/updateLayerData), so a durable flag must also be baked on the feature property (see patchFeature).

    interface LayerFeatureState {
        syncStatus?: string;
        hover?: boolean;
        selected?: boolean;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    syncStatus?: string

    "pending" → sync badge stroke; "synced"/absent → cleared.

    hover?: boolean

    Hover halo.

    selected?: boolean

    Selection halo.