Skip to main content

Interface: GeoVisSplitInput

Defined in: react/mapMode.split.ts:33

A split map whose sides the app builds: each side renders the spec the app gives it — its own data, legends, paint and camera angles — rather than the provider's spec. The pills still choose which control item each side shows, now on that side's own spec. Passed to <GeoVisProvider split>; the reader still enters and leaves the split with the "Modo do mapa" button, which spec.mapModeControl switches on.

Example​

<GeoVisProvider
spec={specA}
split={{ sides: { a: { spec: specA }, b: { spec: specB } } }}
/>

Properties​

sides​

sides: Record<GeoVisSplitSide, GeoVisSplitSideInput>

Defined in: react/mapMode.split.ts:34