ViewportState


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

Properties

center

center: LatLng

The center of the viewport in latitude and longitude.

LatLng


zoom

zoom: number

The zoom level of the viewport.

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

Last updated

Was this helpful?