i have two coordinations. the first is 32.910009, 35.423763
and the second is 32.076829, 34.775333
. how i get distance in miles/kms between the coordinations?
i need it for search near me hostels.
i have two coordinations. the first is 32.910009, 35.423763
and the second is 32.076829, 34.775333
. how i get distance in miles/kms between the coordinations?
i need it for search near me hostels.
CLLocationDistance meters = [aPlaceLocation distanceFromLocation:bPlaceLocation];
both aPlaceLocation
and bPlaceLocation
are CLLocation
object
It isn't that simple, but this should get you started... http://www.movable-type.co.uk/scripts/latlong.html