VisibleRegion

data class VisibleRegion(val nearLeft: LatLng, val nearRight: LatLng, val farLeft: LatLng, val farRight: LatLng, val latLngBounds: LatLngBounds)(source)

Contains the four points defining the four-sided polygon visible in the map camera.

This polygon can be a trapezoid instead of a rectangle when the camera has tilt. For a flat map view (no tilt), it represents a rectangle.

Constructors

Link copied to clipboard
constructor(nearLeft: LatLng, nearRight: LatLng, farLeft: LatLng, farRight: LatLng, latLngBounds: LatLngBounds)

Properties

Link copied to clipboard

The top-left corner of the camera (northwest)

Link copied to clipboard

The top-right corner of the camera (northeast)

Link copied to clipboard

The smallest bounding box that includes the visible region

Link copied to clipboard

The bottom-left corner of the camera (southwest)

Link copied to clipboard

The bottom-right corner of the camera (southeast)