mars3d 3.10.3 → 3.10.4

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/mars3d.css CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Mars3D三维可视化平台 mars3d
3
3
  *
4
- * 版本信息:v3.10.3
5
- * 编译日期:2025-08-22 11:17
4
+ * 版本信息:v3.10.4
5
+ * 编译日期:2025-09-05 17:45
6
6
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
7
7
  * 使用单位:火星科技免费公开版 ,2025-07-01
8
8
  */
@@ -1024,6 +1024,10 @@
1024
1024
  .mars3d-template-content textarea::placeholder {
1025
1025
  color: #cdcdcd;
1026
1026
  }
1027
+ .mars3d-popup-iframe {
1028
+ overflow: auto;
1029
+ margin: 0;
1030
+ }
1027
1031
  /*****tooltip弹出框样式******/
1028
1032
  .mars3d-tooltip {
1029
1033
  padding: 6px;
package/mars3d.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.10.3
6
- * 编译日期:2025-08-22 11:17
5
+ * 版本信息:v3.10.4
6
+ * 编译日期:2025-09-05 17:45
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
8
  * 使用单位:火星科技免费公开版 ,2025-07-01
9
9
  */
@@ -19810,7 +19810,7 @@ declare namespace ModelPrimitive {
19810
19810
  enableDebugWireframe?: boolean;
19811
19811
  debugWireframe?: boolean;
19812
19812
  cull?: boolean;
19813
- opaquePass?: any|number;
19813
+ opaquePass?: any | number;
19814
19814
  upAxis?: Cesium.Axis;
19815
19815
  forwardAxis?: Cesium.Axis;
19816
19816
  customShader?: Cesium.CustomShader;
@@ -25423,7 +25423,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
25423
25423
  environmentMapManager?: any;
25424
25424
  backFaceCulling?: boolean;
25425
25425
  enableCollision?: boolean;
25426
- opaquePass?: any|number;
25426
+ opaquePass?: any | number;
25427
25427
  renderState?: any;
25428
25428
  enableShowOutline?: boolean;
25429
25429
  showOutline?: boolean;
@@ -30280,6 +30280,14 @@ declare class Map extends BaseClass {
30280
30280
  * 获取或设置当前的地形服务
30281
30281
  */
30282
30282
  terrainProvider: Cesium.TerrainProvider | any;
30283
+ /**
30284
+ * 地形加载是否完成的承诺
30285
+ */
30286
+ terrainPromise: Promise<any>;
30287
+ /**
30288
+ * 当前批次的瓦片加载完成的承诺
30289
+ */
30290
+ tilePromise: Promise<boolean>;
30283
30291
  /**
30284
30292
  * 是否开启地形
30285
30293
  */
@@ -33946,6 +33954,7 @@ declare namespace PolyPlot {
33946
33954
  * @param options.positions - 坐标位置
33947
33955
  * @param options.style - 样式信息
33948
33956
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
33957
+ * @param [options.scaleValues] - 参数比例点对应的参数值,用于计算“参数比例点”位置
33949
33958
  * @param [options.availability] - 指定时间范围内显示该对象
33950
33959
  * @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
33951
33960
  * @param [options.viewFrom] - 观察这个物体时建议的初始偏移量。
@@ -33981,6 +33990,7 @@ declare class PolyPlot extends BasePolyEntity {
33981
33990
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[] | BaseGraphic.TimePolyPositions;
33982
33991
  style: PolyPlot.StyleOptions | any;
33983
33992
  attr?: any | BaseGraphic.AjaxAttr;
33993
+ scaleValues?: number[];
33984
33994
  availability?: Cesium.TimeIntervalCollection | Cesium.TimeInterval | any[] | any;
33985
33995
  description?: Cesium.Property | string;
33986
33996
  viewFrom?: Cesium.Property;
@@ -38484,6 +38494,11 @@ declare class TerrainEditBase extends BaseThing {
38484
38494
  };
38485
38495
  id?: number | string;
38486
38496
  }): any;
38497
+ /**
38498
+ * 重新加载数据(会重新按当前地形服务计算,如切换地形后可以调用)
38499
+ * @returns 无
38500
+ */
38501
+ reload(): void;
38487
38502
  }
38488
38503
 
38489
38504
  /**
@@ -40141,6 +40156,12 @@ declare namespace LayerUtil {
40141
40156
  * @returns 无
40142
40157
  */
40143
40158
  function registerTerrainProvider(type: string, layerClass: any): void;
40159
+ /**
40160
+ * 取当前subdomains配置的随机1个值,用于URL模板中用于 {s} 占位符的子域
40161
+ * @param subdomains - 可选的子域
40162
+ * @returns 随机取的一个子域
40163
+ */
40164
+ function getSubdomainItem(subdomains: any): string;
40144
40165
  /**
40145
40166
  * 创建地形对象的工厂方法
40146
40167
  * @param options - 地形参数
@@ -40934,7 +40955,7 @@ declare namespace PolyUtil {
40934
40955
  * @returns 移动后的坐标点数组
40935
40956
  */
40936
40957
  function movePoints(points: LngLatPoint[] | Cesium.Cartesian3[] | any[] | any, options: {
40937
- center?: Cesium.Cartesian3;
40958
+ center?: string | any[] | LngLatPoint | Cesium.Cartesian3 | any;
40938
40959
  offset?: Cesium.Cartesian3;
40939
40960
  }): Cesium.Cartesian3[];
40940
40961
  /**
@@ -42363,6 +42384,9 @@ declare namespace graphic {
42363
42384
  export { RectSensor }
42364
42385
  export { Satellite }
42365
42386
  export { SatelliteSensor }
42387
+
42388
+ export { PointPlot }
42389
+ export { PolyPlot }
42366
42390
  }
42367
42391
 
42368
42392
  /**
@@ -42514,7 +42538,7 @@ declare namespace thing {
42514
42538
  }
42515
42539
 
42516
42540
  export {
42517
- name, update, version, proj4, Tle, WindUtil,
42541
+ name, update, version, proj4, Tle, WindUtil, PlotUtil,
42518
42542
  BaseClass, BaseThing, LngLatPoint, LngLatArray, GroundSkyBox, MultipleSkyBox, LocalWorldTransform, CRS, ChinaCRS, EventType, State, Token, ColorRamp, TaskItem,
42519
42543
  MaterialType, GraphicType, LayerType, ControlType, EffectType, ThingType, Lang, MoveType, ClipType, Icon, EditPointType, QueryServiceType, QueryRouteType,
42520
42544
  DomUtil, MeasureUtil, PointUtil, PolyUtil, PointTrans, Util, Log, MaterialUtil, GraphicUtil, DrawUtil, LayerUtil, ControlUtil, EffectUtil, ThingUtil,