CLLocationCoordinate2D

struct CLLocationCoordinate2D
  • Calculate distance in meters between two coordinates

    Declaration

    Swift

    public func distance(from coordinate: CLLocationCoordinate2D) -> Double