# setFeatures

Geo Map: atomically validate and replace the polygon layer.

Canonical: https://chart.syidax.com/ko/docs/methods/setFeatures/

<a id="definition"></a>

## 정의

```typescript
setFeatures(features?: GeoMapFeatureCollection): Promise<void>
```

| 인수 | 타입 | 필수 여부 |
| --- | --- | --- |
| `features` | `GeoMapFeatureCollection` | 선택 |

반환 타입: `Promise<void>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

- [GeoMapFeatureCollection](https://chart.syidax.com/ko/docs/types/GeoMapFeatureCollection.md) — 타입 정의

<a id="related"></a>

## 관련 차트

- [sy-geo-map](https://chart.syidax.com/ko/docs/components/geo-map.md#method-setFeatures)
