@wemap/providers 6.1.4 → 6.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -40,6 +40,6 @@
40
40
  "url": "git+https://github.com/wemap/wemap-modules-js.git"
41
41
  },
42
42
  "type": "module",
43
- "version": "6.1.4",
44
- "gitHead": "f968e0aa5a1aad007e588e83dc0990c7c38916e0"
43
+ "version": "6.1.5",
44
+ "gitHead": "ced426a15d74dddbe89fead70c632bb85286c246"
45
45
  }
@@ -127,7 +127,7 @@ class AbsolutePosition extends Provider {
127
127
  if (lastPosition) {
128
128
 
129
129
  // Is the new position accuracy is better enough than the last position accuracy
130
- const isBetterEnough = newPosition.accuracy * AbsolutePosition.ACCURACY_RELOC_RATIO < lastPosition.accuracy;
130
+ const isBetterEnough = newPosition.accuracy * AbsolutePosition.ACCURACY_RELOC_RATIO <= lastPosition.accuracy;
131
131
 
132
132
  // Is the new position is far from the new one (regarding accuracy)
133
133
  // This is important if the person put the current page in the background during a while