getDistance

external fun getDistance(point: Coordinates): Double

Calculates the distance in meters between two WGS84 coordinates.

Return

Distance in meters between current coordinates and the 'point' parameter.

Parameters

point
  • the coordinates to which the distance should be calculated.