# featureSelectionChange

CustomEvent.detail 타입: GeoMapFeatureSelectionChangeEventDetail. 이벤트 이름은 대소문자를 구분합니다.

Canonical: https://chart.syidax.com/ko/docs/events/featureSelectionChange/

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

## 정의

이벤트 이름: `featureSelectionChange`. 대소문자를 구분합니다. payload는 `CustomEvent<GeoMapFeatureSelectionChangeEventDetail>`의 `detail`에서 읽습니다.

```javascript
chart.addEventListener('featureSelectionChange', event => {
  console.log(event.detail); // GeoMapFeatureSelectionChangeEventDetail
});
```

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

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

## 관련 차트

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