@aibee/crc-bmap 0.2.7 → 0.2.8

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.esm.js CHANGED
@@ -10949,7 +10949,7 @@ var Navigation = class extends Plugin {
10949
10949
  const azimuthalAngle = this.bmap.context.control.getAzimuthalAngle();
10950
10950
  const azimuthal = azimuthalAngle * 180 / Math.PI;
10951
10951
  console.log("rotate", azimuthal, rotate, rotate - azimuthal);
10952
- this.startPoi.options.icon_rotate = (360 - (rotate + azimuthal)) % 360;
10952
+ this.startPoi.options.icon_rotate = (rotate + azimuthal + 360) % 360;
10953
10953
  }
10954
10954
  }
10955
10955
  dispose() {