# mapViewChange

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

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

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

## 정의

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

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

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

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

## 관련 차트

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