CLLocationCoordinate2D

public extension CLLocationCoordinate2D

Coordinate+Measurer provides measure between two geo location.

Author

Adamas

Version

1.5.0

Date

07/09/2019
  • Calculate the distance between two geo coordinate.

    Declaration

    Swift

    func distance(to coordinate: CLLocationCoordinate2D) -> Double

    Parameters

    coordinate

    The second coordinate.

    Return Value

    The distance in meter.