iphone Programming Glossary: oldd
Corelocation incorrect distances http://stackoverflow.com/questions/3093919/corelocation-incorrect-distances self computeDistanceFrom oldLocat tO newLocat void computeDistanceFrom CLLocation oldL tO CLLocation newL NSLog @ oldd @ oldL NSLog @ new @ newL distance distance oldL getDistanceFrom newL NSLog @ distance f distance The console is displaying.. oldL getDistanceFrom newL NSLog @ distance f distance The console is displaying the following data....... accuracy 0 oldd null new 28.62114850 77.37001021 80.00m speed 1.00 mps course 1.00 @ 2010 06 22 19 21 59 0530 distance 0.000000 accuracy.. new 28.62114850 77.37001021 80.00m speed 1.00 mps course 1.00 @ 2010 06 22 19 21 59 0530 distance 0.000000 accuracy 0 oldd 28.62114850 77.37001021 80.00m speed 1.00 mps course 1.00 @ 2010 06 22 19 21 59 0530 new 28.61670485 77.37068155 80.00m..
Corelocation framework does not produce accurate distances http://stackoverflow.com/questions/3118773/corelocation-framework-does-not-produce-accurate-distances CLLocation oldLocation if newLocation.horizontalAccuracy 60.0 return data is too long ago don't use it NSLog @ oldd @ oldLocation self.oldLocat oldLocation self.newLocat newLocation if oldLocat nil self computeDistanceFrom oldLocat tO newLocat.. nil self computeDistanceFrom oldLocat tO newLocat void computeDistanceFrom CLLocation oldL tO CLLocation newL NSLog @ oldd @ oldL NSLog @ new @ newL CLLocationDistance currentDistance oldL distanceFromLocation newL NSLog @ you have travel f currentDistance..
|