Skip to content

@sqlrooms/deck / DeckMapSurfaceProps

Type Alias: DeckMapSurfaceProps ​

DeckMapSurfaceProps = object

Properties ​

mapId ​

mapId: string


map ​

map: DeckMapResource


readOnly? ​

optional readOnly?: boolean


selected? ​

optional selected?: boolean


caption? ​

optional caption?: string


headerActions? ​

optional headerActions?: ReactNode


fitRequestVersion? ​

optional fitRequestVersion?: number


onUpdateMap ​

onUpdateMap: (patch) => void

Parameters ​

ParameterType
patchPartial<DeckMapResource>

Returns ​

void


onReportIssue ​

onReportIssue: (issue) => void

Parameters ​

ParameterType
issueOmit<DeckMapRuntimeIssue, "mapId">

Returns ​

void


onClearIssue ​

onClearIssue: (kind?) => void

Clears the current issue when its kind matches, or all issues when omitted.

Parameters ​

ParameterType
kind?DeckMapRuntimeIssue["kind"]

Returns ​

void


dataAdapter? ​

optional dataAdapter?: DeckMapDataAdapter