Skip to content

@sqlrooms/deck / applyDeckMapPointBinding

Function: applyDeckMapPointBinding()

applyDeckMapPointBinding<T>(options): T

Applies a structured longitude/latitude point binding to a native Deck map config. The generated geometry SQL intentionally comes from the same canonical helper used by first-party map builders.

Type Parameters

Type Parameter
T extends DeckMapConfig

Parameters

ParameterType
options{ config: T; pointBinding: DeckMapPointBinding; sourceColumns: readonly DeckMapConfigColumn[]; }
options.configT
options.pointBindingDeckMapPointBinding
options.sourceColumnsreadonly DeckMapConfigColumn[]

Returns

T