Skip to main content

Function: getInitialSelection()

getInitialSelection(__namedParameters): GeovisWorkspaceSelection

Defined in: GeovisWorkspaceProvider.tsx:32

Builds the initial selection by reading the defaultValue of every menu group in the config. Use it to seed the parent's selection state when controlling the workspace.

Parameters

ParameterType
__namedParameters{ config: GeovisWorkspaceConfig; }
__namedParameters.configGeovisWorkspaceConfig

Returns

GeovisWorkspaceSelection