Returns the distance, in meters, between two geographic coordinates.
Syntax
'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.
See Also