@aibee/crc-bmap 0.9.5 → 0.9.6
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/index.cjs +1 -1
- package/lib/index.esm.min.js +1 -1
- package/lib/index.min.js +1 -1
- package/lib/index.online.esm.min.js +1 -1
- package/lib/index.online.min.js +1 -1
- package/lib/platform/wrapper.cjs +1 -1
- package/lib/platform/wrapper.esm.min.js +1 -1
- package/lib/platform/wrapper.min.js +1 -1
- package/lib/platform/wrapper.online.esm.min.js +1 -1
- package/lib/platform/wrapper.online.min.js +1 -1
- package/lib/src/plugins/navigation/navigation.d.ts +1 -0
- package/lib/src/plugins/navigation/navigation.js +10 -0
- package/package.json +1 -1
|
@@ -89,6 +89,16 @@ export class Navigation extends Plugin {
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
+
resetStatus() {
|
|
93
|
+
// 暂停动画
|
|
94
|
+
this.pauseAnimation();
|
|
95
|
+
this.positionNavigation.resetStatus(this.paths);
|
|
96
|
+
this.movedDistance = 0;
|
|
97
|
+
// 起点poi回到路线的开始位置
|
|
98
|
+
if (this.startPoi && this.translatePath) {
|
|
99
|
+
this.setStartPoiPosition(this.translatePath[0][0], this.translatePath[0][1]);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
92
102
|
toPositionByTask(pos) {
|
|
93
103
|
var _tasks_find;
|
|
94
104
|
const tasks = this.taskQueue.getTasks();
|