color
Home > @gooddata/sdk-ui-geo > IGeoLayerBase > color
IGeoLayerBase.color property
Color measure or attribute for this layer.
Signature:
color?: IAttributeOrMeasure;
Remarks
When a measure is provided, colors are determined by the measure values using a color scale (gradient). When an attribute is provided, colors are assigned categorically based on attribute values.
For pushpin layers, this affects the fill color of the markers. For area layers, this affects the fill color of the regions.