deeptwins-engine-3d 0.1.4 → 0.1.5
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/dist/esm/index.js
CHANGED
|
@@ -48,7 +48,7 @@ loadCss(Cesium.buildModuleUrl('Widgets/widgets.css'));
|
|
|
48
48
|
export var DeepTwinsEngine3D = /*#__PURE__*/_createClass(function DeepTwinsEngine3D() {
|
|
49
49
|
_classCallCheck(this, DeepTwinsEngine3D);
|
|
50
50
|
});
|
|
51
|
-
_defineProperty(DeepTwinsEngine3D, "Version", "0.1.
|
|
51
|
+
_defineProperty(DeepTwinsEngine3D, "Version", "0.1.5");
|
|
52
52
|
_defineProperty(DeepTwinsEngine3D, "Map", Map);
|
|
53
53
|
_defineProperty(DeepTwinsEngine3D, "GroundSkyBox", GroundSkyBox);
|
|
54
54
|
_defineProperty(DeepTwinsEngine3D, "RasterLayer", RasterLayer);
|
package/dist/esm/map/Event.js
CHANGED
|
@@ -251,8 +251,8 @@ var Event = /*#__PURE__*/function () {
|
|
|
251
251
|
position = _ref4.position;
|
|
252
252
|
var pickedObject = _this5._getPickedObject(position);
|
|
253
253
|
if (pickedObject) {
|
|
254
|
-
var _modelRoam$modelLayer;
|
|
255
|
-
var targetPolyline = modelRoam.polylineLayer.id === pickedObject.id.id;
|
|
254
|
+
var _modelRoam$polylineLa, _pickedObject$id2, _modelRoam$modelLayer;
|
|
255
|
+
var targetPolyline = (modelRoam === null || modelRoam === void 0 || (_modelRoam$polylineLa = modelRoam.polylineLayer) === null || _modelRoam$polylineLa === void 0 ? void 0 : _modelRoam$polylineLa.id) === (pickedObject === null || pickedObject === void 0 || (_pickedObject$id2 = pickedObject.id) === null || _pickedObject$id2 === void 0 ? void 0 : _pickedObject$id2.id);
|
|
256
256
|
var targetModel = (modelRoam === null || modelRoam === void 0 || (_modelRoam$modelLayer = modelRoam.modelLayer) === null || _modelRoam$modelLayer === void 0 ? void 0 : _modelRoam$modelLayer.id) === (pickedObject === null || pickedObject === void 0 ? void 0 : pickedObject.id);
|
|
257
257
|
if (targetPolyline || targetModel) {
|
|
258
258
|
var result = {
|