B
B
BonBon Slick2020-08-07 14:02:37
satellite navigation
BonBon Slick, 2020-08-07 14:02:37

Does the GPS navigator always give out that the user is on the move even when he is in place?

Package Docks

Options

gpsOptions:       {
                     timeout:            999999999,
                    enableHighAccuracy: true,
                },


call

setInterval(() => {
                    navigator.geolocation.getCurrentPosition(
                        this.gpsWatchSuccess,
                        () => {
                            // ignore error, lost connection, run out of traffic etc
                        },
                        this.gpsOptions
                    )
                }, this.pedometer.gps.callGpsEveryMS);

Even if you use watchPosition all the same, even worse, it shows every second that the user has moved somewhere. As a result, incorrect data.
The movement is insignificant from 1 to 3 meters, and yet, sitting still, the user continues to count and add all these meters to the cob in motion.

Is it like that for everyone?
Or what am I missing?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question