Returns the distance, in meters, between two geographic coordinates.
'Declaration
Public Shared Function Distance( _
ByVal As System.Windows.Point, _
ByVal As System.Windows.Point _
) As System.Double
public static System.double Distance(
System.Windows.Point ,
System.Windows.Point
)
Parameters
- longLat1
- The first geographic coordinate.
- longLat2
- The second geographic coordinate.
Return Value
The distance, in meters, between the two geographic coordinates.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2