IGeoLayerArea
Area layer configuration.
export interface IGeoLayerArea extends IGeoLayerBase
Extends: IGeoLayerBase
Remarks
An area layer renders geographic regions (countries, states, provinces, etc.) as filled polygons, creating a choropleth map visualization.
The area attribute should reference a geographic attribute whose values map to known geographic regions. The component uses geocoding to match attribute values to geographic boundaries.
Supported region types include: - Countries (by name or ISO code) - States/Provinces - Administrative regions - Custom geographic boundaries
Features: - **Color-coded regions**: Use the color property for data-driven fill colors - **Segmentation**: Use segmentBy to categorize regions - **Opacity control**: Configure fill opacity via chart config
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
Geographic area attribute. | |||
“area” |
Property details
IGeoLayerArea.areaproperty
Geographic area attribute.
area: IAttribute;
Remarks
An attribute whose values represent geographic regions (countries, states, provinces, etc.). The attribute values are geocoded to match geographic boundaries for polygon rendering.
For best results, use standardized region names or ISO codes that can be reliably matched to geographic boundaries.
IGeoLayerArea.typeproperty
type: "area";