Interface: GeovisWorkspaceConfig
Defined in: context/GeovisWorkspaceContext.ts:956
Properties
appearance?
optionalappearance?:"card"|"bare"
Defined in: context/GeovisWorkspaceContext.ts:964
Visual framing of the workspace container. 'card' (default) draws a
border, rounded corners, and background — the framed look used when the
workspace stands alone (e.g. Storybook). 'bare' drops the border and
radius so the workspace fills its container edge-to-edge when embedded in
an app that owns the framing.
leftSidebar?
optionalleftSidebar?:GeovisWorkspaceLeftSidebarState
Defined in: context/GeovisWorkspaceContext.ts:970
Left sidebar (controls slot): its sections and open/closed state.
legend?
optionallegend?:GeovisWorkspaceLegendConfig
Defined in: context/GeovisWorkspaceContext.ts:968
Content for the legend slot's default panel.
renderLoading?
optionalrenderLoading?: () =>ReactNode
Defined in: context/GeovisWorkspaceContext.ts:993
What to draw over the map while a variation change is in flight, centered on the map area.
The workspace owns when and where; the app owns what, because a loading indicator is the app's voice and the package has no business picking it. Omitted, nothing is drawn and the wait reads only in the sidebar, as it did before.
It covers the map for as long as it shows: a reader who pans towards something while the answer is still coming would be panning over a map about to be repainted under them.
Only variation changes arm it. Other blocking picks still make the menus inert, but they do not put anything over the map — a setting that repaints in place is not worth hiding the map for.
Returns
ReactNode
Example
renderLoading: () => <Spinner />
rightSidebar?
optionalrightSidebar?:GeovisWorkspaceRightSidebarState
Defined in: context/GeovisWorkspaceContext.ts:972
Right sidebar (hosts legend/warnings/inspector/metadata) title, open/closed state, and detail API.
slots?
optionalslots?:Partial<Record<GeovisWorkspaceSlotName,GeovisWorkspaceSlotConfig>>
Defined in: context/GeovisWorkspaceContext.ts:966
Per-slot overrides or hides. Omit an entry to use the slot's default.