@aibee/crc-bmap 0.14.0 → 0.14.2

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/meta.json CHANGED
@@ -1857,7 +1857,7 @@
1857
1857
  "format": "esm"
1858
1858
  },
1859
1859
  "../lib/src/layer/poi-layer2.js": {
1860
- "bytes": 3157,
1860
+ "bytes": 3155,
1861
1861
  "imports": [
1862
1862
  {
1863
1863
  "path": "core-js/modules/es.array.push.js",
@@ -2972,7 +2972,7 @@
2972
2972
  "format": "esm"
2973
2973
  },
2974
2974
  "../lib/src/elements/poi2.js": {
2975
- "bytes": 16745,
2975
+ "bytes": 16845,
2976
2976
  "imports": [
2977
2977
  {
2978
2978
  "path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
@@ -4585,7 +4585,7 @@
4585
4585
  "format": "esm"
4586
4586
  },
4587
4587
  "../lib/src/context/context.js": {
4588
- "bytes": 17333,
4588
+ "bytes": 17420,
4589
4589
  "imports": [
4590
4590
  {
4591
4591
  "path": "core-js/modules/web.dom-collections.iterator.js",
@@ -4864,7 +4864,7 @@
4864
4864
  "format": "esm"
4865
4865
  },
4866
4866
  "../lib/src/bmap.js": {
4867
- "bytes": 22241,
4867
+ "bytes": 21840,
4868
4868
  "imports": [
4869
4869
  {
4870
4870
  "path": "../../../node_modules/.pnpm/@swc+helpers@0.5.17/node_modules/@swc/helpers/esm/_extends.js",
@@ -9287,10 +9287,10 @@
9287
9287
  "bytesInOutput": 208
9288
9288
  },
9289
9289
  "../lib/src/bmap.js": {
9290
- "bytesInOutput": 10982
9290
+ "bytesInOutput": 10820
9291
9291
  },
9292
9292
  "../lib/src/context/context.js": {
9293
- "bytesInOutput": 8715
9293
+ "bytesInOutput": 8784
9294
9294
  },
9295
9295
  "../lib/src/utils/timer.js": {
9296
9296
  "bytesInOutput": 1783
@@ -9512,7 +9512,7 @@
9512
9512
  "bytesInOutput": 1595
9513
9513
  },
9514
9514
  "../lib/src/elements/poi2.js": {
9515
- "bytesInOutput": 8782
9515
+ "bytesInOutput": 8838
9516
9516
  },
9517
9517
  "../lib/src/elements/heatmap.js": {
9518
9518
  "bytesInOutput": 2123
@@ -9749,7 +9749,7 @@
9749
9749
  "bytesInOutput": 575
9750
9750
  }
9751
9751
  },
9752
- "bytes": 403827
9752
+ "bytes": 403790
9753
9753
  }
9754
9754
  }
9755
9755
  }
package/lib/src/bmap.d.ts CHANGED
@@ -2,7 +2,7 @@ import { EventDispatcher, Object3D, Vector3 } from "three";
2
2
  import { Context } from "./context/context";
3
3
  import { Timer, HooksName } from "./utils";
4
4
  import { Config, ParamsConfig } from "./config";
5
- import { Floor, Graphic, HeatmapDataParam, ModelOptions, Poi, Poi2, PoiOptionsParam, PoiOptionsParam2 } from "./elements";
5
+ import { Floor, Graphic, ModelOptions, Poi, Poi2, PoiOptionsParam, PoiOptionsParam2 } from "./elements";
6
6
  import { SvgLine, SvgPolygon } from "./elements";
7
7
  import { GraphicInfo, GraphicOptions } from "./types";
8
8
  import { Plugin } from "./plugins/base";
@@ -72,7 +72,6 @@ export declare class BMap extends EventDispatcher<BmapEventMap> {
72
72
  initialFloorCamera(): void;
73
73
  onControlChange: () => void;
74
74
  addModel(graphic: Graphic, options: ModelOptions): void;
75
- addHeatmap(data: HeatmapDataParam): any;
76
75
  getLegacyToGraphicMap(): Map<string, Graphic>;
77
76
  /**
78
77
  * 获取当前楼层全部的graphic
@@ -85,7 +84,6 @@ export declare class BMap extends EventDispatcher<BmapEventMap> {
85
84
  y: number;
86
85
  z: number;
87
86
  }, options: PoiOptionsParam2): Poi2 | null;
88
- removeHeatMap(): void;
89
87
  /**
90
88
  * 移动相机位置让选中的元素居中显示
91
89
  * @param ele { Graphic | Poi }
@@ -102,6 +102,7 @@ export declare class Poi2 extends Object3D<PoiEventMap2> {
102
102
  resetZ(): void;
103
103
  getBox(v3: Vector3): Box2 | null;
104
104
  renderBoxHelper(x?: number, y?: number): void;
105
+ setVisible(visible: boolean): void;
105
106
  parentSetVisible(visible: boolean): void;
106
107
  dispose(): void;
107
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aibee/crc-bmap",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "description": "",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.esm.min.js",