Interface ColumnarDeckGlProjectionRequestExperimental

Request to bind a columnar batch to a deck.gl projection.

interface ColumnarDeckGlProjectionRequest {
    attributes: readonly ColumnarDeckGlAttributeBinding[];
    batch: ColumnarBatchV1;
    identity: ColumnarDeckGlIdentity;
    layer?: DeckGlLayerKind;
    layerId: string;
    props?: Readonly<Record<string, unknown>>;
    startIndices?: ColumnarDeckGlStartIndicesBinding;
    vertexCount?: number;
}

Properties

attributes: readonly ColumnarDeckGlAttributeBinding[]

Only scatterplot, feature-path, and feature-polygon are supported by adapter contract v1.0. Defaults to scatterplot.

layerId: string
props?: Readonly<Record<string, unknown>>

Forwarded to the deck.gl constructor. id, data, and pickable are reserved.

Required for "feature-path"/"feature-polygon"; forbidden otherwise.

vertexCount?: number

Total addressed vertex count backing the geometry attribute (getPosition/getPath/getPolygon). Defaults to batch.rowCount (correct for one-vertex-per-row layers like scatterplot). Required to differ from batch.rowCount for "feature-path"/"feature-polygon", where batch.rowCount counts geometries, not vertices.