Skip to content

@sqlrooms/deck / ensureDeckMapBlockState

Function: ensureDeckMapBlockState()

ensureDeckMapBlockState(state, mapId, title): void

Ensures persisted map block state exists for an embeddable map surface. If a geospatial table is available, the block is seeded with a starter map.

Parameters

ParameterType
stateMosaicDashboardStoreState
mapIdstring
titlestring

Returns

void