Interface: VisualizationLayer
Defined in: spec/types.ts:219
Properties
activeLegendId?
optionalactiveLegendId?:string
Defined in: spec/types.ts:232
Id of the currently active legend from legends[].
clickAnchor?
optionalclickAnchor?:object
Defined in: spec/types.ts:256
Spec-driven click marker. When present, geovis automatically places a
visual indicator on the clicked feature without requiring a <GeoVisMarker>
component. Three rendering modes — see field descriptions.
color?
optionalcolor?:string
Accent colour for the built-in SVG pin. Applied when iconImage is not
set. Default: '#3FB1CE'. For a custom HTML/React element, use
<GeoVisMarker> instead.
iconImage?
optionaliconImage?:string
MapLibre sprite icon name. Renders a feature-state-driven companion
symbol layer at the polygon label point.
iconSize?
optionaliconSize?:number
Scale factor for the sprite icon. Default: 1.
offset?
optionaloffset?: [number,number]
Pixel offset [x, y] applied to the DOM marker.
geometry
geometry:
GeoVisGeometryType
Defined in: spec/types.ts:222
hoverPaint?
optionalhoverPaint?:object
Defined in: spec/types.ts:244
Paint applied via MapLibre setFeatureState({ hover: true }) when the
pointer enters a feature. When present, the adapter adds a companion
line layer (<id>-hover-outline) driven by feature-state expressions.
lineColor?
optionallineColor?:string
lineWidth?
optionallineWidth?:number
id
id:
string
Defined in: spec/types.ts:220
legends?
optionallegends?:LegendSpec[]
Defined in: spec/types.ts:230
Optional alternative legend definitions presented as runtime toggles.
mapDataId?
optionalmapDataId?:string
Defined in: spec/types.ts:238
Optional reference to an entry in spec.mapData.
When present, the layer can be styled/queried by per-feature values
coming from the dataset (joined via feature.id or mapData.joinKey).
maxzoom?
optionalmaxzoom?:number
Defined in: spec/types.ts:227
minzoom?
optionalminzoom?:number
Defined in: spec/types.ts:226
paint?
optionalpaint?:LayerPaint
Defined in: spec/types.ts:228
selectedPaint?
optionalselectedPaint?:object
Defined in: spec/types.ts:250
Paint applied via MapLibre setFeatureState({ selected: true }) when a
feature is clicked. When present, the adapter adds a companion line layer
(<id>-selected-outline) driven by feature-state expressions.
lineColor?
optionallineColor?:string
lineWidth?
optionallineWidth?:number
sourceId
sourceId:
string
Defined in: spec/types.ts:221
sourceLayer?
optionalsourceLayer?:string
Defined in: spec/types.ts:223
title?
optionaltitle?:string
Defined in: spec/types.ts:224
visible?
optionalvisible?:boolean
Defined in: spec/types.ts:225