GeoPoints class

Constructors

GeoPoints()

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

distanceBetweenTwoGeoPoints(LatLng l1, LatLng l2, [num? radius]) num
Calculate the Distance in meters between two geo points
greatCircleDistanceBetweenTwoGeoPoints(num lat1, num lon1, num lat2, num lon2) num
Great-circle distance between two points using the Haversine formula
intersectionOfTwoGeoPointsByPaths(LatLng l1, LatLng l2, num b1, num b2) LatLng?
Calculate the geo point of intersection of two given paths
isGeoPointInPolygon(LatLng l, List<LatLng> polygon) bool
Check if a given geo point is in the a polygon using even-odd rule algorithm
midPointBetweenTwoGeoPoints(LatLng l1, LatLng l2) LatLng
Calculate the midpoint between teo geo points