CLLocation.DistanceFrom(CLLocation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Calculates the distance, in meters, between the CLLocation and location
.
[Foundation.Export("distanceFromLocation:")]
public virtual double DistanceFrom (CoreLocation.CLLocation location);
abstract member DistanceFrom : CoreLocation.CLLocation -> double
override this.DistanceFrom : CoreLocation.CLLocation -> double
Parameters
- location
- CLLocation
Returns
The great-arc distance, in meters, along the surface of the Earth. Altitudes are not taken into consideration.
- Attributes