ComponentOne Maps for WPF and Silverlight
Distance Method (C1Maps)

C1.WPF.Maps Namespace > C1Maps Class : Distance Method
The first geographic coordinate.
The second geographic coordinate.
Returns the distance, in meters, between two geographic coordinates.
Syntax
'Declaration
 
Public Shared Function Distance( _
   ByVal longLat1 As System.Windows.Point, _
   ByVal longLat2 As System.Windows.Point _
) As System.Double
public static System.double Distance( 
   System.Windows.Point longLat1,
   System.Windows.Point longLat2
)

Parameters

longLat1
The first geographic coordinate.
longLat2
The second geographic coordinate.

Return Value

The distance, in meters, between the two geographic coordinates.
See Also

Reference

C1Maps Class
C1Maps Members