@aibee/crc-bmap 0.8.21 → 0.8.23

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/lib/bmap.esm.js CHANGED
@@ -12220,6 +12220,9 @@ var Sensor = class extends EventDispatcher16 {
12220
12220
  timestamp: Date.now(),
12221
12221
  res: [position.coords.longitude, position.coords.latitude, position.coords.accuracy]
12222
12222
  });
12223
+ }, () => {
12224
+ }, {
12225
+ enableHighAccuracy: true
12223
12226
  });
12224
12227
  }
12225
12228
  async checkSensor() {
@@ -24048,9 +24051,6 @@ var PositioningSystem = class {
24048
24051
  * @returns
24049
24052
  */
24050
24053
  getGpsPosition(data) {
24051
- if (data[2] > this.gps_max_horizontalAccuracy) {
24052
- return null;
24053
- }
24054
24054
  return wgs84ToWebMercator(data[0], data[1]);
24055
24055
  }
24056
24056
  resetParticleFilterDist(pos) {