# featureSelectionChange

CustomEvent.detail type: GeoMapFeatureSelectionChangeEventDetail. Event names are case-sensitive.

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

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

## Definition

Event name: `featureSelectionChange`. Names are case-sensitive. Read the payload from `detail` on `CustomEvent<GeoMapFeatureSelectionChangeEventDetail>`.

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

- [GeoMapFeatureSelectionChangeEventDetail](https://chart.syidax.com/docs/types/GeoMapFeatureSelectionChangeEventDetail.md) — Type definition

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

## Related charts

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