VisibleRegion

data class VisibleRegion(val farLeft: Position, val farRight: Position, val nearLeft: Position, val nearRight: Position)(source)

Four-sided polygon representing the visible area of the map composable. If the camera has tilt (pitch), this polygon is a trapezoid instead of a rectangle.

Constructors

Link copied to clipboard
constructor(farLeft: Position, farRight: Position, nearLeft: Position, nearRight: Position)

Properties

Link copied to clipboard

Position corresponding to the top-left corner of the map composable

Link copied to clipboard

Position corresponding to the top-right corner of the map composable

Link copied to clipboard

Position corresponding to the bottom-left corner of the map composable

Link copied to clipboard

Position corresponding to the bottom-right corner of the map composable