> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IGeoLayerConfig

- Package: [@gooddata/sdk-ui-geo](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-geo/index.md)
- Kind: interface
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-geo/src/next/types/layers/index.ts
- Guides: [Geo chart](https://www.gooddata.ai/docs/gooddata-ui/latest/visualisations/geo-chart/index.md)

Per-layer configuration for GeoChart layers.

**Signature:**

```typescript
export interface IGeoLayerConfig 
```

## Remarks

This config is intentionally limited to options that are meaningful on a per-layer basis. It is \*\*not\*\* the same as [IGeoChartConfig](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-geo/sdk-ui-geo.igeochartconfig/index.md) (which contains global/map-level settings).

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [colorMapping?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-geo/sdk-ui-geo.igeolayerconfig/index.md#igeolayerconfigcolormapping) |  | [IColorMapping](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-vis-commons/sdk-ui-vis-commons.icolormapping/index.md)[] | _(Optional)_ Optional custom color mappings override for this layer. |
| [colorPalette?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-geo/sdk-ui-geo.igeolayerconfig/index.md#igeolayerconfigcolorpalette) |  | [IColorPalette](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icolorpalette/index.md) | _(Optional)_ Optional color palette override for this layer. |
| [customTooltip?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-geo/sdk-ui-geo.igeolayerconfig/index.md#igeolayerconfigcustomtooltip) |  | [ICustomTooltipConfig](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-vis-commons/sdk-ui-vis-commons.icustomtooltipconfig/index.md) | **_(ALPHA)_** _(Optional)_ Optional custom tooltip configuration for this layer. |

## Property details

### IGeoLayerConfig.colorMapping

Optional custom color mappings override for this layer.

**Signature:**

```typescript
colorMapping?: IColorMapping[];
```

### IGeoLayerConfig.colorPalette

Optional color palette override for this layer.

**Signature:**

```typescript
colorPalette?: IColorPalette;
```

### IGeoLayerConfig.customTooltip

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Optional custom tooltip configuration for this layer.

**Signature:**

```typescript
customTooltip?: ICustomTooltipConfig;
```

#### Remarks

Each layer renders its own custom tooltip. When omitted, the layer has no custom tooltip section (it does not inherit another layer's configuration).
