Skip to main content

Interface: GeovisWorkspaceProps

Defined in: GeovisWorkspace.tsx:45

Properties​

config​

config: GeovisWorkspaceConfig

Defined in: GeovisWorkspace.tsx:46


onRepair?​

optional onRepair?: (repair) => void

Defined in: GeovisWorkspace.tsx:66

Called with the chosen RepairOption when a repair button is pressed in the warnings slot's default panel. Omit to render repair buttons disabled rather than absent.

Parameters​

ParameterType
repairRepairOption

Returns​

void


onVariableChange?​

optional onVariableChange?: (variables) => void | Promise<unknown>

Defined in: GeovisWorkspace.tsx:58

Called with the full next selection whenever a variation is chosen or the timeline advances.

Return a promise when a variation costs a request: every menu goes inert until it settles (resolve or reject), so the user cannot stack picks while one is being served. Returning nothing keeps the menus live, which is what a synchronous consumer wants and what timeline ticks always get.

Parameters​

ParameterType
variablesGeovisWorkspaceSelection

Returns​

void | Promise<unknown>


variables?​

optional variables?: GeovisWorkspaceSelection

Defined in: GeovisWorkspace.tsx:48


visualizationSpec​

visualizationSpec: VisualizationSpec

Defined in: GeovisWorkspace.tsx:47