Firstattempt to reduce te number of points when recording a track (#13): the minimal distance is now 10m and a filter with a minimal time of 15s has been added.

This should now be tested on the road !
This commit is contained in:
vdv committed 2022-10-02 21:52:02 +02:00
1 parent 924dd47395
commit 11c2a1713f
2 files changed
+37 -19

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ const backgroundGeolocationConfig = {
// The minimum number of metres between subsequent locations. Defaults
// to 0.
distanceFilter: 5,
distanceFilter: 10,
};
export const startBackgroundGeolocation = async (newLocationHandler: any) => {