C# Class InTheHand.Devices.Geolocation.GeocoordinateExtensions

Provides extension methods for Geocoordinate.
PlatformVersion supported iOSiOS 9.0 and later macOSOS X 10.7 and later tvOStvOS 9.0 and later TizenTizen 3.0 Windows UWPWindows 10 Windows StoreWindows 8.1 or later Windows Phone StoreWindows Phone 8.1 or later Windows Phone SilverlightWindows Phone 8.0 or later Windows (Desktop Apps)Windows Vista or later
Datei anzeigen Open project: inthehand/Charming

Public Methods

Method Description
GetDistanceTo ( this g, Geocoordinate other ) : double

Returns the distance between the latitude and longitude coordinates that are specified by this Geocoordinate and another specified Geocoordinate.

Method Details

GetDistanceTo() public static method

Returns the distance between the latitude and longitude coordinates that are specified by this Geocoordinate and another specified Geocoordinate.
public static GetDistanceTo ( this g, Geocoordinate other ) : double
g this
other Geocoordinate The for the location to calculate the distance to.
return double