Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Interface LinesDataLoader

    Data loader interface for Lines nodes.

    Mirrors the DataLoader interface from points but specialized for lines.

    interface LinesDataLoader {
        loadLines(
            viewState: ViewState,
            session?: UpdateSession,
        ): Promise<LoadedLinesData>;
        updateView(
            viewState: ViewState,
            session?: UpdateSession,
            signal?: AbortSignal,
            residencyAllowanceBytes?: number,
        ): Promise<LoadedLinesData>;
        dispose(): void;
        addEventListener?(listener: MonitorEventListener): void;
        removeEventListener?(listener: MonitorEventListener): void;
        getMetrics?(): LoaderMetrics;
        getActiveQueries?(): QueryInfo[];
    }

    Implemented by

    Index
    • LoaderMonitor surface (optional, for the data-loading-monitor UI). Mirrors the surface that points-spatial-index-loader.ts exposes — implementations that don't track metrics may omit these methods.

      Parameters

      Returns void