Edytuj

Udostępnij za pośrednictwem


CLLocation.DistanceFrom(CLLocation) Method

Definition

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

Applies to