title: How to overcome CoreAnimation warning while Implementing the Wikitude API in iPhone application?
body: <p>I am using the Wikitude API in my iPhone app.
  But while running the application i am getting the following warning and on coming of this warning i am not able to touch any POIs on the screen.
  The warning is "CoreAnimation: ignoring exception: CALayer position contains NaN: [nan nan]"
  Please suggest me something to overcome this warning.</p>
  
  <p>I am using the following code</p>
  
  <pre><code>wikitudeAR = [[WikitudeARViewController alloc] initWithDelegate:self applicationPackage:nil applicationKey:nil; applicationName:nil developerName:nil];     
  
  - (void) verificationDidSucceed {
      id appDelegate=[[UIApplication sharedApplication]delegate];
      UIWindow *window = [appDelegate window];    
      [window addSubview:[wikitudeAR start];
  }
  
  - (void) verificationDidFail {
  
  }
  
  - (void) didUpdateToLocation: (CLLocation*) newLocation
                  fromLocation: (CLLocation*) oldLocation {
  
  }
  
  -(void) APIFinishedLoading {   
      //arr is  current location data
      NSMutableArray *addPOIData=[[NSMutableArray alloc]init];
      for(int i=0;i&lt;[arr  count];i++)
      {
          NSDictionary *dict= [arr objectAtIndex:i];
          WTPoi* poi = [[WTPoi alloc] initWithName:currentMapLocation.locationTitle AndLatitude:[[dict objectforKey:@"lat"]doubleValue]AndLongitude:[[dict        objectforKey:@"long"]doubleValue]];
          poi.icon = @"http://img560.imageshack.us/img560/9931/parking.png";
          poi.shortDescription = @"Open Monday to Friday 6:30 to 7pm. Tariff plan range from £5";
          poi.thumbnail = @"http://img560.imageshack.us/img560/9931/parking.png";
          [addPOIData addObject: poi];
          [poi release];
      }
  
      [[WikitudeARViewController sharedInstance] addPOIs: addPOIData];
      [addPOIData release];
  }
  </code></pre>
  
  <p>Thanks in advance</p>