I am trying to build a user defined POI using wikitude javascript SDK for android. I managed to save the new location when the button on the screen is pressed. However, the distance to the POI not exact.
I even tried the sample SDKs and the distance was not exactd.
Is there any way to update the distance on the go?
Thank you
A
Andreas Fötschl
said
about 7 years ago
Note that the discance calculation highly depends on the accuracy of your LocationProvider implementation. I recommend using GooglePlay Location Service to not rely on a manual GPS fetching approach.
Once you have best available user location in place, the distanceToUser function will return more accurate values by design.
Charbel Helayel