@aibee/crc-bmap 0.1.9 → 0.1.10

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
@@ -5413,7 +5413,7 @@ var Poi2 = class extends Object3D14 {
5413
5413
  }
5414
5414
  async initIcon() {
5415
5415
  if (this.options.icon) {
5416
- this._initIconPromise = new Promise(async (resolve) => {
5416
+ return this._initIconPromise = new Promise(async (resolve) => {
5417
5417
  const texture = await ImgTextureFactory.getTextureByUrl(this.options.icon);
5418
5418
  const spriteIcon = new Sprite(
5419
5419
  new SpriteMaterial({
@@ -10174,6 +10174,7 @@ var PdrPosition = class extends EventDispatcher14 {
10174
10174
  this.sensor.start();
10175
10175
  this.sensor.addEventListener("add-data-item", ({ item }) => {
10176
10176
  const [success, x, y] = this.pdr.pfFusionPDRiBeacon(item);
10177
+ console.log(item, success, x, y);
10177
10178
  if (success) {
10178
10179
  this.dispatchEvent({ type: "position", x, y });
10179
10180
  }