@aibee/crc-bmap 0.8.14 → 0.8.15
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 +1 -1
- package/lib/bmap.esm.js +2 -1
- package/lib/bmap.esm.min.js +1 -1
- package/lib/bmap.min.js +1 -1
- package/package.json +1 -1
package/lib/bmap.esm.js
CHANGED
|
@@ -10805,7 +10805,8 @@ var PositionNavigation = class extends EventDispatcher13 {
|
|
|
10805
10805
|
let index = pointIndex;
|
|
10806
10806
|
let dir = "front" /* FRONT */;
|
|
10807
10807
|
let distance = 0;
|
|
10808
|
-
|
|
10808
|
+
let t = Date.now();
|
|
10809
|
+
while (dir === "front" /* FRONT */ && distance < this.options.directionEmitThreshold && Date.now() - t < 5) {
|
|
10809
10810
|
const p1 = curRoutePathPoints[index];
|
|
10810
10811
|
const p2 = curRoutePathPoints[index + 1];
|
|
10811
10812
|
const p3 = curRoutePathPoints[index + 2];
|