# featureClick

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

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

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

## Definition

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

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

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

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

## Related charts

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