Interface: GeovisWorkspaceSidebarVariationsBody
Defined in: context/GeovisWorkspaceContext.ts:157
Body of the "Variações" tab: a flat list of every group's variations. Drives the same shared selection the menus do, keyed by menuId — switching a variation recolors the map.
Properties
closeOnSelect?
optionalcloseOnSelect?:boolean
Defined in: context/GeovisWorkspaceContext.ts:187
Closes the left sidebar right after a variation is picked, so the map it
just recolored is visible without a second tap. Defaults to false.
Declared here rather than on GeovisWorkspaceLeftSidebarState because the sidebar's sections have different terminal actions: choosing a variation ends the interaction, while a timeline writes to the selection on every auto-advance tick and must not close anything.
defaultGroupId?
optionaldefaultGroupId?:string
Defined in: context/GeovisWorkspaceContext.ts:175
Id of the group expanded on first render. Unused by the flat list; kept for back-compat with the earlier accordion layout.
defaultValue?
optionaldefaultValue?:string
Defined in: context/GeovisWorkspaceContext.ts:177
Variation selected on first render.
groups
groups:
GeovisWorkspaceSidebarVariationGroup[]
Defined in: context/GeovisWorkspaceContext.ts:170
The variation groups; flattened into one list in the given order.
icon?
optionalicon?:string
Defined in: context/GeovisWorkspaceContext.ts:166
Iconify token rendered before title.
kind
kind:
"variations"
Defined in: context/GeovisWorkspaceContext.ts:158
menuId
menuId:
string
Defined in: context/GeovisWorkspaceContext.ts:168
Keys the shared selection this zone drives (selection[menuId]).
resetViewOnChange?
optionalresetViewOnChange?:boolean
Defined in: context/GeovisWorkspaceContext.ts:196
Flies the map back to the spec's own view (centre, zoom, pitch and
bearing) whenever a different variation is picked, so each variation is
read from the same starting frame rather than wherever the reader had
panned to. Defaults to true; set false for a menu whose picks are meant
to keep the reader's place. A spec without view.center and view.zoom
has no fixed starting frame, and the camera stays put.
title?
optionaltitle?:string
Defined in: context/GeovisWorkspaceContext.ts:164
Heads the list with the same label a filter block draws — worth setting
when the sections carry no header.title, since the tab bar then names
nothing and the rows would open straight against it.