Skip to main content

Interface: VisualizationSpec

Defined in: spec/types.ts:282

Properties

adapterHints?

optional adapterHints?: unknown

Defined in: spec/types.ts:305

Deprecated

No longer used by the adapter. Kept for backward compatibility so existing specs continue to pass validateSpec(). Will be removed in a future breaking-change release.


basemap?

optional basemap?: BaseMapSpec

Defined in: spec/types.ts:288


description?

optional description?: string

Defined in: spec/types.ts:285


engine

engine: "maplibre"

Defined in: spec/types.ts:286


id

id: string

Defined in: spec/types.ts:283


layers

layers: VisualizationLayer[]

Defined in: spec/types.ts:290


legends?

optional legends?: LegendSpec[]

Defined in: spec/types.ts:292

Optional top-level legend registry used by legend UI components.


mapData?

optional mapData?: MapData[]

Defined in: spec/types.ts:298

Optional attribute datasets joined to geojson sources. Each entry references a source via mapId and provides per-feature values for use in styling, tooltips, charts.


metadata?

optional metadata?: Record<string, unknown>

Defined in: spec/types.ts:299


sources

sources: DataSource[]

Defined in: spec/types.ts:289


title?

optional title?: string

Defined in: spec/types.ts:284


view?

optional view?: ViewState

Defined in: spec/types.ts:287