title: CLLocation distanceFromLocation
body: <p>I am using CLLocation to work out the distance from the current user location, and an annotation. However I just wanted to know if this would be correct. I am currently using iPhone Simulator for this and according to the MKMapView the iPhone Simulator is situated here: </p>
  
  <pre><code>Lat: 0 Long: -1067024384
  </code></pre>
  
  <p>The annotation's position is: </p>
  
  <pre><code>workingCoordinate.latitude = 40.763856;
  workingCoordinate.longitude = -73.973034;
  </code></pre>
  
  <p>However if you take a look in google maps you will find out how close these distances are, yet so far apart according to CLLocation. I am using the following code to determine the distance between them both.</p>
  
  <pre><code>CLLocation *loc = [[CLLocation alloc] initWithLatitude:annotation.coordinate.latitude longitude:annotation.coordinate.longitude];
  CLLocation *loc2 = [[CLLocation alloc] initWithLatitude:self.mapView.userLocation.coordinate.latitude longitude:self.mapView.userLocation.coordinate.longitude];
  CLLocationDistance dist = [loc distanceFromLocation:loc2];
  int distance = dist
  NSLog(@"%i", distance);
  </code></pre>
  
  <p>The distance being NSLogged is 12769908. I believe that this is incorrect, and therefore there must be a problem with my code.</p>
  
  <p>If there is please can you point it out!</p>