@aibee/crc-bmap 0.2.17 → 0.2.19
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.cjs.min.js +2 -2
- package/lib/bmap.cjs.min.js.map +2 -2
- package/lib/bmap.esm.js +1 -4
- package/lib/bmap.esm.js.map +2 -2
- package/lib/bmap.esm.min.js +2 -2
- package/lib/bmap.esm.min.js.map +2 -2
- package/lib/bmap.min.js +2 -2
- package/lib/bmap.min.js.map +2 -2
- package/package.json +1 -1
package/lib/bmap.esm.js
CHANGED
|
@@ -10901,7 +10901,7 @@ var Navigation = class extends Plugin {
|
|
|
10901
10901
|
if (!distance) {
|
|
10902
10902
|
return;
|
|
10903
10903
|
}
|
|
10904
|
-
const time = Math.min(distance / speed,
|
|
10904
|
+
const time = Math.min(distance / speed, 1);
|
|
10905
10905
|
if (this.pathTween) {
|
|
10906
10906
|
this.tweenUtil.clear();
|
|
10907
10907
|
}
|
|
@@ -21620,9 +21620,6 @@ var ParticleFilter = class {
|
|
|
21620
21620
|
} else {
|
|
21621
21621
|
this.compass_consecutive_offset_count = 0;
|
|
21622
21622
|
}
|
|
21623
|
-
if (this.compass_consecutive_offset_count >= 5) {
|
|
21624
|
-
this.initParticlesByCompass(compass_yaw);
|
|
21625
|
-
}
|
|
21626
21623
|
for (let index = 0; index < this.NumParticle; index++) {
|
|
21627
21624
|
let err_yaw = Math.abs(this.particleX[2][index] - compass);
|
|
21628
21625
|
if (err_yaw > 180) err_yaw = 360 - err_yaw;
|