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

+1 vote
asked Jun 21, 2017 by gaganS (240 points)
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

1 Answer

0 votes
answered Aug 2, 2017 by Alex (6,680 points)


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.



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