title: Giving the different distance between two points using wifi and 3G
body: <p>I am calculating the distance between two locations like below</p>
  
  <pre><code>             CLLocation *locA = [[CLLocation alloc] initWithLatitude:lat longitude:lon];
  
              CLLocationCoordinate2D coordinate = [self getLocation];
  
              CLLocation *locB = [[CLLocation alloc] initWithLatitude:coordinate.latitude   longitude:coordinate.longitude];
  
              CLLocationDistance distance = [locA distanceFromLocation:locB];
  
  
              CLLocationDistance kilometers = distance / 1000.0;
  </code></pre>
  
  <p>But it giving the different result when i connect to wifi and 3G network.how to get the same result for both.</p>