Skip to content

@sqlrooms/deck / asDeckJsonMapConfig

Function: asDeckJsonMapConfig()

asDeckJsonMapConfig(config): DeckMapConfig | null

Returns a record as a Deck map config when it has the required top-level spec and dataset registry, otherwise returns null.

Parameters

ParameterType
configRecord<string, unknown>

Returns

DeckMapConfig | null