@aibee/crc-bmap 0.2.9 → 0.2.11

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;
10951
- this.startPoi.options.icon_rotate = (rotate + azimuthal + 360) % 360;
10951
+ this.startPoi.options.icon_rotate = (azimuthal - rotate + 360) % 360;
10952
10952
  }
10953
10953
  }
10954
10954
  dispose() {
@@ -22222,9 +22222,6 @@ var PositioningSystem = class {
22222
22222
  pfFusionPDRiBeacon(sensorData) {
22223
22223
  const { type: data_type, timestamp: time, res: data } = sensorData;
22224
22224
  let success = false;
22225
- if (sensorData.type === "compass" /* COMPASS */) {
22226
- console.log("compass", sensorData.res);
22227
- }
22228
22225
  if (this.particleFilter.getPosInitFlag() && this.particleFilter.getYawInitFlag()) {
22229
22226
  if (data_type === "acceleration" /* ACCELERATION */) {
22230
22227
  const acc = data;