LatLngBounds

data class LatLngBounds(val north: Double, val east: Double, val south: Double, val west: Double)(source)

Constructors

Link copied to clipboard
constructor(north: Double, east: Double, south: Double, west: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Get the center point of this bounds.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Get the northeast corner of this bounds.

Link copied to clipboard

Get the northwest corner of this bounds.

Link copied to clipboard
Link copied to clipboard

Get the southeast corner of this bounds.

Link copied to clipboard

Get the southwest corner of this bounds.

Link copied to clipboard

Functions

Link copied to clipboard
fun contains(latLng: LatLng): Boolean

Returns true if this bounds contains the given point.

Returns true if this bounds contains the given bounds.

Link copied to clipboard

Returns true if the bounds span the antimeridian.

Link copied to clipboard
fun extend(latLng: LatLng): LatLngBounds

Returns a new bounds extended to include the given point.

Returns a new bounds extended to include the given bounds.

Link copied to clipboard

Returns true if this bounds intersects with the given bounds.

Link copied to clipboard

Returns true if these bounds are empty (have zero area).

Link copied to clipboard

Returns true if these bounds are valid.