GeoBounds class

A latitude/longitude aligned rectangle.

Constructors

GeoBounds({required GeoPoint northeast, required GeoPoint southwest})
const
GeoBounds.fromMap(Map<String, dynamic> map)
factory

Properties

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

Methods

contains(GeoPoint point) bool
Returns whether this rectangle contains the given LatLng.
copyWith({GeoPoint? northeast, GeoPoint? southwest}) GeoBounds
distance({double radius = GeoPoint.earthRadius}) double
Returns a distance
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toList() List<GeoPoint>
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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