Closed tekinc closed 5 years ago
Thanks, do you know of a sample where tracking is implemented in xamarin forms? I'm trying to implement inside XF but can't get an accurate user trail. It seems that the geo location of the user constantly moves(100 feet or more) even when the user is standing still.
Also what's your opinion of this implementation? https://github.com/dannykhreet/LBA1/blob/f404dfccf58ca57290a97868a180f859b233436a/GeolocatorSample/GeolocatorSample/HomePage.xaml.cs#L197-L211
I have a running app on both ios and android that uses this plugin , works perfectly.
How are you using it? My use case is I want to track a users path.
I have a running app on both ios and android that uses this plugin , works perfectly.
I have a running app on both ios and android that uses this plugin , works perfectly.
Can you send me a itunes link to your running app?
Thanks
I have a running app on both ios and android that uses this plugin , works perfectly.
I just tested with your app and it reproduces the same bug.
Congratulations on finding my app, I am not sure what app you are showing above as that is not mine. Anyway in the above screenshot it is showing extremely low confidence (hence large blue circle) and the movement is caused by GPS jitter as there is no filtering algorithm
Sorry, thought I found your app. I'm seeing the same issue using this plugin.
It is NOT the plugin. The screenshot clearly shows GPS jitter with low accuracy, the plugin provides raw data it is upto you to filter and smooth it all out.
Ah I see. so what would you recommend the strategy be? Do you have any sample code? I appreciate the feedback.
I did something like this: https://github.com/Azure-Samples/MyDriving/blob/master/src/MobileApps/MyDriving/MyDriving/ViewModel/CurrentTripViewModel.cs#L486 basically calculate the distance from a previous point and if it is too big or too small don't use it.
Got it, that makes sense.
Thanks
I did something like this: https://github.com/Azure-Samples/MyDriving/blob/master/src/MobileApps/MyDriving/MyDriving/ViewModel/CurrentTripViewModel.cs#L486 basically calculate the distance from a previous point and if it is too big or too small don't use it.
One under question, why not just filter out the positions by accuracy? Would that work?
Thanks again.
For common questions and issues see the FAQ
If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.
Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.
Bug Information
Version Number of Plugin: Device Tested On: Simulator Tested On: Version of VS: Version of Xamarin: Versions of other things you are using:
Steps to reproduce the Behavior
Expected Behavior
Actual Behavior
Code snippet
Screenshotst