Welcome to Developer Portal Q&A, where you can ask questions and receive answers from other members of the community.

LocationTrackerRenderingExample there is not any callback called after we are in currernt location

0 votes
we are implementing location based Ar view and we are added multiple location coordinates in location objects but there is not any callback called after we are on that location..

 

please reply
asked Jun 21 by gaganS (200 points)

1 Answer

0 votes

Hi,

to achieve what you are after, you could use the following things:

 

1) receive notifications by means of the  locationUpdatedWithData method (of the location delegate/listener) and see which location among those tracked are within a range that you must specify depending on your app logic

 

2) you can retrieve the list of closest locations using the closestLocations member of the location tracker view controller/activity (this list contains the tracked locations ordered by increasing distance from the user.

 

Alex

answered Aug 2 by Alex (6,230 points)
...