Android.Locations.Location.DistanceTo Method
Returns the approximate distance in meters between this location and the given location.

Syntax

[Android.Runtime.Register("distanceTo", "(Landroid/location/Location;)F", "GetDistanceTo_Landroid_location_Location_Handler")]
public virtual float DistanceTo (Location dest)

Parameters

dest
the destination location

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the approximate distance in meters between this location and the given location. Distance is defined using the WGS84 ellipsoid.

[Android Documentation]

Requirements

Namespace: Android.Locations
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1