WebMapLocation.DistanceTo

From Xojo Documentation

Method

WebMapLocation.DistanceTo(location As WebMapLocation) As Double

New in 2011r2

Supported for all project types and targets.

Returns the distance (in kilometers) of a straight line across the surface of the Earth between the current WebMapLocation and the one passed.