ComponentOne Maps for UWP
C1.UWP.Maps Assembly / C1.Xaml.Maps Namespace / C1Maps Class / Distance Method
The first geographic coordinate.
The second geographic coordinate.

In This Topic
    Distance Method
    In This Topic
    Returns the distance, in meters, between two geographic coordinates.
    Syntax
    'Declaration
     
    
    Public Shared Function Distance( _
       ByVal longLat1 As Point, _
       ByVal longLat2 As Point _
    ) As Double
    public static double Distance( 
       Point longLat1,
       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