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

    One entity in the features store — keyed by [layerId, localId], with indexes on serverId, syncState and updatedAt.

    This replaces a single blob per layer sharing one store with tiles, glyphs and sprites, keyed by URL and evictable as a whole. That shape could hold a write but not the read that goes with it, and had no way to tell whether the server had moved on.

    interface FeatureRecord {
        layerId: string;
        localId: string;
        serverId: string | null;
        syncState: SyncState;
        updatedAt: number;
        version: VersionMarker | null;
        feature: unknown;
        quarantine?: QuarantineReason;
    }
    Index

    Properties

    layerId: string
    localId: string
    serverId: string | null

    Null until the entity has been created server-side.

    syncState: SyncState
    updatedAt: number

    Local modification time, milliseconds since epoch.

    version: VersionMarker | null

    Marker observed at the last pull. Null for an entity created offline.

    feature: unknown

    The GeoJSON feature itself.

    quarantine?: QuarantineReason

    Present only when syncState is quarantined.