sdk-common / com.tomtom.online.sdk.common.util / DistanceCalculator / greatCircleDistance

greatCircleDistance

open static fun greatCircleDistance(latLng: LatLng!, refLatLng: LatLng!): Double

Calculate the great-circle distance between two points. See: http://www.movable-type.co.uk/scripts/latlong.html

Return
Double: distance in meters.