Returns the distance, in meters, between two geographic coordinates.
Namespace:
C1.Phone.MapsAssembly: C1.Phone.Maps (in C1.Phone.Maps.dll)
Syntax
| C# |
|---|
public static double Distance( Point latLong1, Point latLong2 ) |
| Visual Basic |
|---|
Public Shared Function Distance ( _ latLong1 As Point, _ latLong2 As Point _ ) As Double |
Parameters
- latLong1
- Type: System.Windows..::..Point
The first geographic coordinate.
- latLong2
- Type: System.Windows..::..Point
The second geographic coordinate.