deeptwins-engine-3d 0.1.14 → 0.1.16

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.
@@ -17,8 +17,8 @@ import PointPrimitive from "./graphicLayer/PointPrimitive";
17
17
  import PolygonEntity from "./graphicLayer/PolygonEntity";
18
18
  import PolygonPrimitiveInstance from "./graphicLayer/PolygonPrimitiveInstance";
19
19
  import PolylineEntity from "./graphicLayer/PolylineEntity";
20
- import PolylinePrimitiveInstance from "./graphicLayer/PolylinePrimitiveInstance";
21
20
  import PolylineGroundPrimitiveInstance from "./graphicLayer/PolylineGroundPrimitiveInstance";
21
+ import PolylinePrimitiveInstance from "./graphicLayer/PolylinePrimitiveInstance";
22
22
  import PolylineVolumeEntity from "./graphicLayer/PolylineVolumeEntity";
23
23
  import PolylineVolumePrimitiveInstance from "./graphicLayer/PolylineVolumePrimitiveInstance";
24
24
  import WallEntity from "./graphicLayer/WallEntity";
package/dist/esm/index.js CHANGED
@@ -50,7 +50,7 @@ loadCss(Cesium.buildModuleUrl('Widgets/widgets.css'));
50
50
  export var DeepTwinsEngine3D = /*#__PURE__*/_createClass(function DeepTwinsEngine3D() {
51
51
  _classCallCheck(this, DeepTwinsEngine3D);
52
52
  });
53
- _defineProperty(DeepTwinsEngine3D, "Version", "0.1.14");
53
+ _defineProperty(DeepTwinsEngine3D, "Version", "0.1.16");
54
54
  _defineProperty(DeepTwinsEngine3D, "Map", Map);
55
55
  _defineProperty(DeepTwinsEngine3D, "GroundSkyBox", GroundSkyBox);
56
56
  _defineProperty(DeepTwinsEngine3D, "RasterLayer", RasterLayer);
@@ -128,7 +128,7 @@ var Map = /*#__PURE__*/function (_Cesium$Viewer) {
128
128
  key: "_createHtmlContainer",
129
129
  value: function _createHtmlContainer() {
130
130
  var el = document.createElement('div');
131
- el.id = constant.HTML_CONTAINER_ID;
131
+ el.id = "".concat(constant.HTML_CONTAINER_ID, "_").concat(this.container.id);
132
132
  el.style.cssText = 'position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; overflow: hidden;';
133
133
  this.container.appendChild(el);
134
134
  }
@@ -138,7 +138,7 @@ var Map = /*#__PURE__*/function (_Cesium$Viewer) {
138
138
  key: "_createHeatMapContainer",
139
139
  value: function _createHeatMapContainer() {
140
140
  var el = document.createElement('div');
141
- el.id = constant.HEATMAP_CONTAINER_ID;
141
+ el.id = "".concat(constant.HEATMAP_CONTAINER_ID, "_").concat(this.container.id);
142
142
  el.style.cssText = 'position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; overflow: hidden; opacity: 0;';
143
143
  this.container.appendChild(el);
144
144
  }
@@ -148,7 +148,7 @@ var Map = /*#__PURE__*/function (_Cesium$Viewer) {
148
148
  key: "_createVideoContainer",
149
149
  value: function _createVideoContainer() {
150
150
  var el = document.createElement('div');
151
- el.id = constant.VIDEO_CONTAINER_ID;
151
+ el.id = "".concat(constant.VIDEO_CONTAINER_ID, "_").concat(this.container.id);
152
152
  el.style.cssText = 'position: absolute; left: 0; top: 0; right: 0; bottom: 0; pointer-events: none; overflow: hidden; display: none';
153
153
  this.container.appendChild(el);
154
154
  }
@@ -668,11 +668,11 @@ var Map = /*#__PURE__*/function (_Cesium$Viewer) {
668
668
  t.off();
669
669
  });
670
670
  this._eventTrick = [];
671
- _get(_getPrototypeOf(Map.prototype), "destroy", this).call(this);
672
671
  if (this._yunjing) {
673
672
  this._yunjing.destroy();
674
673
  this._yunjing = null;
675
674
  }
675
+ _get(_getPrototypeOf(Map.prototype), "destroy", this).call(this);
676
676
  }
677
677
  }]);
678
678
  return Map;