# getMapView

Owned geographic camera, effective region and viewport state.

Canonical: https://chart.syidax.com/docs/methods/getMapView/

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

## Definition

```typescript
getMapView(): Promise<GeoMapViewDetail|null>
```

Return type: `Promise<GeoMapViewDetail|null>`. Call the method after element registration and await its Promise result.

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

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

## Related charts

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