Skip to main content

Interface: GeovisWorkspaceProps

Defined in: GeovisWorkspace.tsx:39

Properties

config

config: GeovisWorkspaceConfig

Defined in: GeovisWorkspace.tsx:40


onLayerVisibilityChange?

optional onLayerVisibilityChange?: (layerId, visible) => void

Defined in: GeovisWorkspace.tsx:55

Called with a layer's id and its next visible value when the LayerListControls controls slot variant toggles it. Rebuild visualizationSpec with that layer's visible field updated.

Parameters

ParameterType
layerIdstring
visibleboolean

Returns

void


onRepair?

optional onRepair?: (repair) => void

Defined in: GeovisWorkspace.tsx:49

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

Defined in: GeovisWorkspace.tsx:43

Parameters

ParameterType
variablesGeovisWorkspaceSelection

Returns

void


variables?

optional variables?: GeovisWorkspaceSelection

Defined in: GeovisWorkspace.tsx:42


visualizationSpec

visualizationSpec: VisualizationSpec

Defined in: GeovisWorkspace.tsx:41