@aibee/crc-bmap 0.8.76 → 0.8.77
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.js +6 -3
- package/lib/index.esm.min.js +1 -1
- package/lib/index.js +1 -1
- package/lib/platform/wrapper.cjs +1 -1
- package/lib/platform/wrapper.esm.js +6 -3
- package/lib/platform/wrapper.esm.min.js +1 -1
- package/lib/platform/wrapper.js +1 -1
- package/lib/src/plugins/navigation/navigation.d.ts +1 -0
- package/lib/src/plugins/navigation/navigation.js +6 -3
- package/package.json +1 -1
|
@@ -232,7 +232,7 @@ export class Navigation extends Plugin {
|
|
|
232
232
|
this.startRotateHelperPoi = null;
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
this.
|
|
235
|
+
this.removeDetachStart();
|
|
236
236
|
if (this.showDetachStartState && this.options.detachStartPoi) {
|
|
237
237
|
var _this_bmap_context_currentFloor2;
|
|
238
238
|
this.detachStartPoi = new Poi2(this.bmap.context, _extends({}, this.options.detachStartPoi, {
|
|
@@ -542,8 +542,7 @@ export class Navigation extends Plugin {
|
|
|
542
542
|
tween == null ? void 0 : tween.resume();
|
|
543
543
|
}
|
|
544
544
|
}
|
|
545
|
-
|
|
546
|
-
this.showDetachStartState = false;
|
|
545
|
+
removeDetachStart() {
|
|
547
546
|
if (this.detachLine) {
|
|
548
547
|
this.bmap.context.scene.remove(this.detachLine);
|
|
549
548
|
this.detachLine.dispose();
|
|
@@ -555,6 +554,10 @@ export class Navigation extends Plugin {
|
|
|
555
554
|
this.detachStartPoi = null;
|
|
556
555
|
}
|
|
557
556
|
}
|
|
557
|
+
hideDetachStart() {
|
|
558
|
+
this.showDetachStartState = false;
|
|
559
|
+
this.removeDetachStart();
|
|
560
|
+
}
|
|
558
561
|
showDetachStart() {
|
|
559
562
|
this.showDetachStartState = true;
|
|
560
563
|
if (this.path && this.startPoi) {
|