MapPoint.Distance (gb.map)

Static Function Distance ( PointA As MapPoint, PointB As MapPoint ) As Float

Compute the geodesic distance (in meters) between two points specified by latitude & longitude (in numeric degrees).