@aibee/crc-bmap 0.0.69 → 0.0.70

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
@@ -1057,21 +1057,21 @@ var Poi = class extends EventDispatcher2 {
1057
1057
  return;
1058
1058
  }
1059
1059
  this.visible = visible;
1060
- if (!visible) {
1061
- this.overlay.visible = visible;
1062
- this.overlay.div.style.visibility = visible ? "visible" : "hidden";
1063
- }
1060
+ this.changeOverlayVisible(visible);
1064
1061
  }
1065
- parentSetVisible(visible) {
1066
- if (!this.visible) {
1067
- return;
1068
- }
1062
+ changeOverlayVisible(visible) {
1069
1063
  if (visible === this.overlay.visible) {
1070
1064
  return;
1071
1065
  }
1072
1066
  this.overlay.visible = visible;
1073
1067
  this.overlay.div.style.visibility = visible ? "visible" : "hidden";
1074
1068
  }
1069
+ parentSetVisible(visible) {
1070
+ if (!this.visible) {
1071
+ return;
1072
+ }
1073
+ this.changeOverlayVisible(visible);
1074
+ }
1075
1075
  getBox() {
1076
1076
  const { width, height } = this.size;
1077
1077
  const { x, y } = this.overlay.clientPos;
@@ -1420,7 +1420,6 @@ var Model = class extends Object3D7 {
1420
1420
  loadModel() {
1421
1421
  return __async(this, null, function* () {
1422
1422
  const object = yield loadModel(this.options.modelUrl);
1423
- console.log(object);
1424
1423
  object.scene.rotation.set(Math.PI / 2, Math.PI / 2, 0);
1425
1424
  this.add(object.scene);
1426
1425
  this.model = object;