BoundingBox class
A BoundingBox class for calculating bounding boxes and checking if a point is within a bounding box.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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.
inherited
Static Methods
-
calculateBoundingBox(
LatLng centerPoint, num distanceInKm) → List< LatLng> - Calculates the bounding box (rectangle) around a center point with a specified distance in kilometers.
-
isGeoPointInBoundingBox(
LatLng l, LatLng topLeft, LatLng bottomRight) → bool - Checks if a given geo point is inside the bounding box defined by the top-left and bottom-right corners.