chbim-plugins 0.2.3 → 0.2.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/.npmr ADDED
@@ -0,0 +1,2 @@
1
+ //registry.npmjs.org/:_authToken=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
2
+ //registry.npmjs.org/:_authToken=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
package/chbim-plugins.js CHANGED
@@ -19624,9 +19624,9 @@ class _1 {
19624
19624
  let { id: X, bimModelExcavationDetails: J, bimModel: Z } = N;
19625
19625
  v = X, S = Z ? Z.modelType : N.modelType, b = Z ? Z.tender : N.tender, O = Z ? Z.releasedDistance : N.releasedDistance, k = Z ? Z.modelName : N.modelName, R = Z ? Z.isDynamicReleased : N.isDynamicReleased, F = {
19626
19626
  bimModelExcavationDetails: J
19627
- }, E = N.url, P = Z ? Z.modelColor : N.modelColor, Z ? w.maxCanvasSize = Z.gridResolution || 4096 : w.maxCanvasSize = N.gridResolution || 4096;
19627
+ }, E = N.url, P = Z ? Z.modelColor : N.modelColor, w.maxCanvasSize = Z ? Z.gridResolution : N.gridResolution || 4080;
19628
19628
  } else
19629
- v = a.modelId, S = a.modelType, b = a.tender, O = a.releasedDistance, k = a.modelTitle, R = a.permission, F = a.customize, E = a.url, P = a.color, w.maxCanvasSize = a.maxCanvasSize || 4096;
19629
+ v = a.modelId, S = a.modelType, b = a.tender, O = a.releasedDistance, k = a.modelTitle, R = a.permission, F = a.customize, E = a.url, P = a.color, w.maxCanvasSize = a.maxCanvasSize || 4080;
19630
19630
  let I = 2147483648, C = 16;
19631
19631
  if (c) {
19632
19632
  if (c.color && (P = c.color), c.clip && (w.area = c.clip.handleDataList), c.flat && (M.area = c.flat.handleDataList), c.maxCanvasSize && (w.maxCanvasSize = c.maxCanvasSize || 4080), c.cacheSpaceMultiplier) {
@@ -19696,7 +19696,7 @@ class _1 {
19696
19696
  }
19697
19697
  }), this.tilesetLayer.bindPopup((Z) => {
19698
19698
  if (!this.disabled)
19699
- return !1;
19699
+ return !0;
19700
19700
  if (Z.graphic) {
19701
19701
  const ct = Z.graphic.attr;
19702
19702
  let Rt = null, tt = null;
@@ -19795,7 +19795,8 @@ class _1 {
19795
19795
  * @returns { Object || Boolean } 返回标绘实体
19796
19796
  */
19797
19797
  queryModel(a, o) {
19798
- return (o == null ? void 0 : o.isClone) ? window.mapClone.mapEx.getLayer(a, "modelId") : window.map.getLayer(a, "modelId");
19798
+ if (a && a != null)
19799
+ return (o == null ? void 0 : o.isClone) ? window.mapClone.mapEx.getLayer(a, "modelId") : window.map.getLayer(a, "modelId");
19799
19800
  }
19800
19801
  /**
19801
19802
  * 用户操作的模型
@@ -24338,7 +24339,7 @@ class T1 {
24338
24339
  if (I && I == 1) {
24339
24340
  this.elevationImageLayer = new mars3d.layer.XyzLayer({
24340
24341
  imageXyzId: F,
24341
- url: "http://t0.tianditu.gov.cn/img_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=w&TileMatrix={z}&TileRow={y}&TileCol={x}&style=default&format=tiles&tk=e0ffbc2288f76ff16db6b2d3f1b7d9b7",
24342
+ url: "http://t0.tianditu.gov.cn/img_w/wmts?service=wmts&request=GetTile&version=1.0.0&LAYER=img&tileMatrixSet=w&TileMatrix={z}&TileRow={y}&TileCol={x}&style=default&format=tiles&tk=05f82820fb03b98230c625a0a15aff78",
24342
24343
  hasZIndex: !0,
24343
24344
  zIndex: 0,
24344
24345
  minimumLevel: 0,
@@ -30405,7 +30406,7 @@ const C1 = () => {
30405
30406
  let f = c.options.modelId || c.options.vectorId;
30406
30407
  a[f] ? (window.bimModel.editColor(f), window.schemeEvnModify.clearAllModelModify({ isClone: !1 })) : c.remove();
30407
30408
  }
30408
- }), (o = window.bimEntity.entityLayer.getGraphicsByAttr()) == null || o.forEach((c) => {
30409
+ }), (o = window.bimEntity.entityLayer.getGraphics()) == null || o.forEach((c) => {
30409
30410
  c.remove();
30410
30411
  }), window.bimMapSetUp.undergroundVal(1), window.bimTerrainProvider.show(), window.bimTrafficSimulation.destruction(), window.bimRotatePoint.stop(), window.bimMapPTV.destruction(), window.romStop(), window.complete(), window.planClip.clearPlanClip();
30411
30412
  };