Distance class
- Implemented types
-
- Implementers
Methods
-
bearing(dynamic position, dynamic destination)
→ double
-
Returns the great circle bearing (direction) in degrees to the next point (
p2
)
-
call(dynamic position, dynamic destination, {LengthUnit unit = LengthUnit.M})
→ num
-
Shortcut for distance
-
distance(dynamic position, dynamic destination, {LengthUnit unit = LengthUnit.M})
→ double
-
Computes the distance between two points.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
offset(dynamic from, double? distanceInMeter, double bearing)
→ LatLng
-
Returns a destination point based on the given distance and
bearing
override
-
toString()
→ String
-
A string representation of this object.
inherited