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

# IGeoLayer

- Package: [@gooddata/sdk-ui-geo](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-geo/index.md)
- Kind: type-alias
- 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)

Union type for all layer configurations.

**Signature:**

```typescript
export type IGeoLayer = IGeoLayerPushpin | IGeoLayerArea;
```
**References:** [IGeoLayerPushpin](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-geo/sdk-ui-geo.igeolayerpushpin/index.md), [IGeoLayerArea](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-geo/sdk-ui-geo.igeolayerarea/index.md)

## Remarks

Use this type when working with layers that could be either pushpin or area type. Use the [isGeoLayerPushpin()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-geo/sdk-ui-geo.isgeolayerpushpin/index.md) and [isGeoLayerArea()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-geo/sdk-ui-geo.isgeolayerarea/index.md) type guards to narrow the type in conditional logic.
