Interface: QuantitativeColorBy
Defined in: spec/types.legend.ts:32
Quantitative color mapping from a numeric feature property to a palette
via a scale. Currently only the explicit 'threshold' scale is supported;
thresholds defines the break points used to bucket feature values.
Properties
colors?
optionalcolors?:string[]
Defined in: spec/types.legend.ts:48
Explicit ordered list of colors; overrides palette when provided.
defaultColor?
optionaldefaultColor?:string
Defined in: spec/types.legend.ts:50
Fallback color for missing or non-numeric values.
palette?
optionalpalette?:string
Defined in: spec/types.legend.ts:46
Named palette key (resolved by the adapter/consumer).
property
property:
string
Defined in: spec/types.legend.ts:40
Key identifying the column in the mapData dataset whose numeric value
drives the color assignment. The adapter reads this value from
feature-state.value (written by setFeatureState during data join),
not directly from a GeoJSON feature property.
scale
scale:
"threshold"
Defined in: spec/types.legend.ts:42
Scale used to map numeric values into discrete color buckets.
thresholds?
optionalthresholds?:number[]
Defined in: spec/types.legend.ts:44
Explicit break points for the threshold scale.
type
type:
"quantitative"
Defined in: spec/types.legend.ts:33