LatLngBounds class

Rectangle in geographic coordinates.

Constructors

LatLngBounds({required LatLng northEast, required LatLng southWest})
Create a rectangle spanned by northEast and southWest.

Properties

hashCode int
The hash code for this object.
no setteroverride
latDelta double
Amount of north-to-south distance
no setter
lngDelta double
Amount of east-to-west distance
no setter
northEast LatLng
North-east corner of this bounds
final
northWest LatLng
North-west corner of this bounds
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
southEast LatLng
South-east corner of this bounds
no setter
southWest LatLng
South-west corner of this bounds
final

Methods

contains(LatLng latLng) bool
Whether the bounding box contains LatLng.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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