@aibee/crc-bmap 0.0.43 → 0.0.46

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
@@ -487,7 +487,7 @@ var Graphic = class extends Object3D {
487
487
  }
488
488
  getCenter() {
489
489
  if (this.options.geometry.type === "point") {
490
- return this.position;
490
+ return this.position.clone();
491
491
  }
492
492
  const center2 = new Vector3();
493
493
  const box = new Box3();
@@ -833,6 +833,7 @@ var Poi = class extends Object3D4 {
833
833
  div.style.justifyContent = `center`;
834
834
  div.style.alignItems = `center`;
835
835
  div.style.pointerEvents = `none`;
836
+ div.style.userSelect = `none`;
836
837
  this.overlay.setOpacity(this.options.opacity);
837
838
  this.resetSize();
838
839
  return div;
@@ -1094,7 +1095,9 @@ var PoiLayer = class extends Layer {
1094
1095
  return false;
1095
1096
  });
1096
1097
  item.setVisible(!valid);
1097
- range.push({ left, right, top, bottom });
1098
+ if (!valid) {
1099
+ range.push({ left, right, top, bottom });
1100
+ }
1098
1101
  });
1099
1102
  }
1100
1103
  registryEvent() {