Re: CLLocationDistance contents?

2008-12-18 Thread Michael Ash
On Thu, Dec 18, 2008 at 10:06 PM, Roland King wrote: > try searching for 'Full-Text'. > > But the documentation is correct either way. A CLLocationDistance itself > isn't necessarily in meters, it's just a double. The functions which return > it, like getDistanceFrom: and the altitude property tel

Re: CLLocationDistance contents?

2008-12-18 Thread Roland King
try searching for 'Full-Text'. But the documentation is correct either way. A CLLocationDistance itself isn't necessarily in meters, it's just a double. The functions which return it, like getDistanceFrom: and the altitude property tell you what it means and tells you that it's in meters.

Re: CLLocationDistance contents?

2008-12-18 Thread Jacob Rhoden
CLLocation* venueLocation = [[CLLocation alloc] initWithLatitude: venue.latitude longitude:venue.longditude]; CLLocationDistance distance = [venueLocation getDistanceFrom:currentLocation]; Is distance in metres/miles/km? How do I display it on screen in a platform independent way? On 19/12/

Re: CLLocationDistance contents?

2008-12-18 Thread David Duncan
On Dec 18, 2008, at 4:14 PM, Jacob Rhoden wrote: Hi Guys, I am doing the following to find a distance between two locations: CLLocation* venueLocation = [[CLLocation alloc] initWithLatitude: venue.latitude longitude:venue.longditude]; CLLocationDistance distance = [venueLocation getDistan

CLLocationDistance contents?

2008-12-18 Thread Jacob Rhoden
Hi Guys, I am doing the following to find a distance between two locations: CLLocation* venueLocation = [[CLLocation alloc] initWithLatitude: venue.latitude longitude:venue.longditude]; CLLocationDistance distance = [venueLocation getDistanceFrom:currentLocation]; Is distance in metres/miles/