@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.
@@ -232,7 +232,7 @@ export class Navigation extends Plugin {
232
232
  this.startRotateHelperPoi = null;
233
233
  }
234
234
  }
235
- this.hideDetachStart();
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
- hideDetachStart() {
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibee/crc-bmap",
3
- "version": "0.8.76",
3
+ "version": "0.8.77",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",