@aibee/crc-bmap 0.2.15 → 0.2.16

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