# mapViewChange

Geographic camera after a completed globe drag or map-view reset.

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

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

## Definition

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

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

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

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

## Related charts

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