Interface: GeoVisLegendProps
Defined in: ui/GeoVisLegend.tsx:31
Properties
breaks?
optionalbreaks?:number[]
Defined in: ui/GeoVisLegend.tsx:35
Explicit break points; overrides the legend's own thresholds.
className?
optionalclassName?:string
Defined in: ui/GeoVisLegend.tsx:43
Optional class applied to the legend container.
formatValue?
optionalformatValue?: (value) =>string
Defined in: ui/GeoVisLegend.tsx:41
Formats numeric bin/circle values for display. When omitted, the default
is the locale formatter for choropleth/categorical legends and the compact
formatter (e.g. 500k) for proportional-circle legends.
Parameters
| Parameter | Type |
|---|---|
value | number |
Returns
string
legendId
legendId:
string
Defined in: ui/GeoVisLegend.tsx:33
Id of the legend to resolve from the spec's legend registry.
noPositionWrap?
optionalnoPositionWrap?:boolean
Defined in: ui/GeoVisLegend.tsx:51
When true, renders without the absolute-positioning wrapper even if the
legend declares a position. Used by GeoVisProvider to stack every
legend sharing a position inside one grouped overlay container.
sourceNode?
optionalsourceNode?:ReactNode
Defined in: ui/GeoVisLegend.tsx:45
Optional node rendered as the legend's reference/attribution footer.