Skip to content

@sqlrooms/deck / mergeDeckMapResourceConfigPatch

Function: mergeDeckMapResourceConfigPatch()

mergeDeckMapResourceConfigPatch(existingConfig, incomingConfig, options?): DeckMapConfig

Merges a sparse map-tool patch with durable state. Empty dataset registries and layer arrays mean "preserve" only when an existing resource is present.

Parameters

ParameterType
existingConfigDeckMapConfig | undefined
incomingConfigDeckMapConfig
optionsDeckMapResourceConfigMergeOptions

Returns

DeckMapConfig