Returns distance in meters between two lat/long coordinates using Haversine formula. More accurate but slower.
Namespace:
EGIS.ShapeFileLib
Assembly:
EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)
Syntax
Visual Basic |
---|
Public Shared Function DistanceBetweenLatLongPointsHaversine ( _
referenceEllipsoid As Integer, _
origin As LatLongCoordinate, _
destination As LatLongCoordinate _
) As Double |
JavaScript |
---|
EGIS.ShapeFileLib.ConversionFunctions.distanceBetweenLatLongPointsHaversine = function(referenceEllipsoid, origin, destination); |
Return Value
See Also