# ViewportState

***

The current state of the viewport, including the derived bounds.

## Properties

### center

> **center**: [`LatLng`](https://developers.felt.com/js-sdk-api-reference/shared/latlng)

The center of the viewport in latitude and longitude.

[LatLng](https://developers.felt.com/js-sdk-api-reference/shared/latlng)

***

### zoom

> **zoom**: `number`

The zoom level of the viewport.

[FeltZoom](https://developers.felt.com/js-sdk-api-reference/shared/feltzoom)

***

### bounds

> **bounds**: \[`number`, `number`, `number`, `number`]

The bounding box of the viewport in \[west, south, east, north] order.

This is derived, and depends on the center and zoom of the viewport, as\
well as its size.

[FeltBoundary](https://developers.felt.com/js-sdk-api-reference/shared/feltboundary)
