Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 17th, 2012  |  syntax: None  |  size: 0.78 KB  |  hits: 19  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Error in assigning latitude and logitude
  2. double      latitude1;
  3.     double      longitude1;
  4. @property (assign) double latitude1;
  5. @property (assign) double longitude1;
  6.        
  7. CLLocationCoordinate2D theCoordinate;
  8.         theCoordinate.latitude  = [ classObj.latitude1 doubleValue];
  9.         theCoordinate.longitude = [ classObj.longitude1 doubleValue];
  10.        
  11. theCoordinate.latitude  = classObj.latitude1;
  12.        
  13. LLocationCoordinate2D theCoordinate = CLLocationCoordinate2DMake(classObj.latitude1, classObj.longitude1);
  14.        
  15. CLLocationCoordinate2D theCoordinate;
  16. theCoordinate.latitude  = classObj.latitude1;
  17. theCoordinate.longitude = classObj.longitude1;
  18.        
  19. CLLocationCoordinate2D theCoordinate;
  20.         theCoordinate.latitude  = classObj.latitude1;
  21.         theCoordinate.longitude = classObj.longitude1;