LatLngBounds class

A latitude/longitude aligned rectangle.

The rectangle conceptually includes all points (lat, lng) where

  • lat ∈ `southwest.latitude`, `northeast.latitude`
  • lng ∈ `southwest.longitude`, `northeast.longitude`, if southwest.longitudenortheast.longitude,
  • lng ∈ -180, `northeast.longitude` ∪ [southwest.longitude, 180[, if northeast.longitude < southwest.longitude

Constructors

LatLngBounds({required LatLng northeast, required LatLng southwest})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
northeast LatLng
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
southwest LatLng
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override