Start a new topic

How to use injected location ?

How to use injected location ?


Hi,

I'm trying to use the injectLocationWith... method but doesn't change results obtained whith the distanceToUser() method of AR.GeoLocation.

I've put : 


NSLog(@" : %d", ); //return 1
;

Just before the 

;

In the ARViewController's viewWillAppear method.

 

Am I doing something wrong ? 

Regards.

Hi,

I just made a quick test where I created 2 circles at different locations and then printed out the distances to the user. Then I injected a new location (about 20 km away) and printed again the distances of both circles. The result was as expected for me.

 

If you have still some troubles, don't hesitate to post your code or send it to ios-sdk@wikitude.com (Subject: InjectLocations).

 

Best regards

Andreas
Login or Signup to post a comment