CLLocationCoordinate2D
public extension CLLocationCoordinate2D
Coordinate+Measurer provides measure between two geo location.
Version
1.5.0Date
07/09/2019-
Calculate the distance between two geo coordinate.
Declaration
Swift
func distance(to coordinate: CLLocationCoordinate2D) -> DoubleParameters
coordinateThe second coordinate.
Return Value
The distance in meter.
CLLocationCoordinate2D Extension Reference