Skip to main content

Interface: VisualizationSpec

Defined in: spec/types.ts:339

Properties

adapterHints?

optional adapterHints?: unknown

Defined in: spec/types.ts:362

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:345


description?

optional description?: string

Defined in: spec/types.ts:342


engine

engine: "maplibre"

Defined in: spec/types.ts:343


id

id: string

Defined in: spec/types.ts:340


layers

layers: VisualizationLayer[]

Defined in: spec/types.ts:347


legends?

optional legends?: LegendSpec[]

Defined in: spec/types.ts:349

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


mapData?

optional mapData?: MapData[]

Defined in: spec/types.ts:355

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:356


sources

sources: DataSource[]

Defined in: spec/types.ts:346


title?

optional title?: string

Defined in: spec/types.ts:341


view?

optional view?: ViewState

Defined in: spec/types.ts:344