@aibee/crc-bmap 0.2.5 → 0.2.6

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;
10951
+ this.startPoi.options.icon_rotate = (rotate + azimuthal + 360) % 360;
10952
10952
  }
10953
10953
  }
10954
10954
  dispose() {
@@ -21597,11 +21597,6 @@ var ParticleFilter = class {
21597
21597
  this.particleWeight[0][index] *= this.unaccess_weight;
21598
21598
  }
21599
21599
  }
21600
- console.log(
21601
- "sin",
21602
- Math.sin(-this.particleX[2][0] / 180 * Math.PI),
21603
- Math.cos(this.particleX[2][0] / 180 * Math.PI)
21604
- );
21605
21600
  const weightSum = this.particleWeight[0].reduce((a, b) => a + b, 0);
21606
21601
  this.particleWeight[0] = this.particleWeight[0].map((w) => w / weightSum);
21607
21602
  }
@@ -22253,7 +22248,6 @@ var PositioningSystem = class {
22253
22248
  if (data_type === "deviceMotion" /* DEVICE_MOTION */) {
22254
22249
  const delta_yaw = this.pdr.getDeltaYawFromRot(time / 1e3, data);
22255
22250
  if (delta_yaw !== null) {
22256
- console.log("delta_yaw", delta_yaw);
22257
22251
  this.particleFilter.motionModelRotYaw(delta_yaw);
22258
22252
  }
22259
22253
  }
@@ -23219,3 +23213,4 @@ fraction.js/fraction.js:
23219
23213
  * Dual licensed under the MIT or GPL Version 2 licenses.
23220
23214
  **)
23221
23215
  */
23216
+ //# sourceMappingURL=bmap.esm.js.map