mars3d 3.10.1 → 3.10.3

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.1
5
- * 编译日期:2025-08-03 17:25
4
+ * 版本信息:v3.10.3
5
+ * 编译日期:2025-08-22 11:17
6
6
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
7
7
  * 使用单位:火星科技免费公开版 ,2025-07-01
8
8
  */
@@ -80,6 +80,9 @@
80
80
  top: 0;
81
81
  left: 0;
82
82
  }
83
+ .mars3d-contextmenu-ul .mars3d-contextmenu-item ::marker {
84
+ content: "";
85
+ }
83
86
  .mars3d-contextmenu-ul .mars3d-contextmenu-line {
84
87
  position: absolute;
85
88
  left: 2%;
package/mars3d.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.10.1
6
- * 编译日期:2025-08-03 17:25
5
+ * 版本信息:v3.10.3
6
+ * 编译日期:2025-08-22 11:17
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
8
  * 使用单位:火星科技免费公开版 ,2025-07-01
9
9
  */
@@ -2609,9 +2609,10 @@ declare class SceneModePicker extends BaseCzmControl {
2609
2609
  * @param [options.zoom = true] - 是否可以鼠标滚轮进行缩放刻度面板
2610
2610
  * @param [options.maxSpan = 1] - 刻度放大的最大刻度跨度,单位:秒
2611
2611
  * @param [options.format = "simplify"] - 格式化时间文本方式,
2612
- * 当 format: "simplify" 时自动根据差值格式化时间文本为普通格式 ,比如 yyyy-MM-dd 、HH:mm:ss
2612
+ * 当 format: "simplify" 时自动根据差值格式化yyyy-MM-dd 、HH:mm:ss 的时间文本为普通格式
2613
2613
  * 当 format: "duration" 时显示已过时长(相对于map.clock.startTime)
2614
- * 当 format: "none" 时为完整的时间文本
2614
+ * 当 format: "none" 时为原始的Cesium时间文本
2615
+ * 另外也支持直接传入 "yyyy-MM-dd HH:mm:ss.S" 的完整格式化文本
2615
2616
  * @param [options.style] - 可以传任意CSS样式值,如:
2616
2617
  * @param [options.style.top] - css定位top位置, 如 top: '10px'
2617
2618
  * @param [options.style.bottom = 0] - css定位bottom位置
@@ -2991,6 +2992,11 @@ declare class MouseDownView extends BaseControl {
2991
2992
  insertIndex?: number;
2992
2993
  insertBefore?: HTMLElement | string;
2993
2994
  });
2995
+ /**
2996
+ * 重新加载
2997
+ * @returns 无
2998
+ */
2999
+ reload(): void;
2994
3000
  }
2995
3001
 
2996
3002
  /**
@@ -5027,6 +5033,7 @@ declare namespace BaseGraphic {
5027
5033
  * @param options.positions - 【线面状(多点)】矢量数据时的坐标位置,具体看子类实现
5028
5034
  * @param options.style - 矢量数据的 样式信息,具体见各{@link GraphicType}子类矢量数据的style参数。
5029
5035
  * @param [options.attr] - 矢量数据的 属性信息,可以任意附加属性。
5036
+ * @param [options.availability] - 指定时间范围内显示该对象
5030
5037
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
5031
5038
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
5032
5039
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -5048,6 +5055,7 @@ declare class BaseGraphic extends BaseClass {
5048
5055
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
5049
5056
  style: any;
5050
5057
  attr?: any | BaseGraphic.AjaxAttr;
5058
+ availability?: Cesium.TimeIntervalCollection | Cesium.TimeInterval | any[] | any;
5051
5059
  popup?: string | any[] | ((...params: any[]) => any);
5052
5060
  popupOptions?: Popup.StyleOptions | any;
5053
5061
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -5499,6 +5507,7 @@ declare class BaseGraphic extends BaseClass {
5499
5507
  * @param [content.callback] - 菜单项单击后的回调方法
5500
5508
  * @param [content.children] - 当有二级子菜单时,配置数组。
5501
5509
  * @param [options = {}] - 控制参数
5510
+ * @param [options.mergeMap] - 是否合并一起显示map默认右键菜单
5502
5511
  * @param [options.offsetX] - 用于非规则对象时,横向偏移的px像素值
5503
5512
  * @param [options.offsetY] - 用于非规则对象时,垂直方向偏移的px像素值
5504
5513
  * @returns 当前对象本身,可以链式调用
@@ -5510,6 +5519,7 @@ declare class BaseGraphic extends BaseClass {
5510
5519
  callback?: (...params: any[]) => any;
5511
5520
  children?: any;
5512
5521
  }[], options?: {
5522
+ mergeMap?: boolean;
5513
5523
  offsetX?: number;
5514
5524
  offsetY?: number;
5515
5525
  }): BaseGraphic | any;
@@ -5547,7 +5557,7 @@ declare class BaseGraphic extends BaseClass {
5547
5557
  * @param [position] - 坐标
5548
5558
  * @param [options] - 参数
5549
5559
  * @param [options.inWindow = false] - 是否判断是否在屏幕内,默认不计算判断,可以按需开启
5550
- * @returns 是否后端动态坐标
5560
+ * @returns 是否在球的背面 或当前视域屏幕内
5551
5561
  */
5552
5562
  isInView(position?: Cesium.Cartesian3, options?: {
5553
5563
  inWindow?: boolean;
@@ -10859,6 +10869,9 @@ declare namespace CircleEntity {
10859
10869
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
10860
10870
  * @param [options.hasEditRevoke = true] - 编辑时,是否记录编辑步骤中坐标记录,用于还原或撤销编辑
10861
10871
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
10872
+ * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
10873
+ * @param [options.matrixMove] - 右键菜单中,按轴平移时,传入给{@link MatrixMove}对象的构造参数
10874
+ * @param [options.matrixRotate] - 右键菜单中,按轴旋转时,传入给{@link MatrixRotate}对象的构造参数
10862
10875
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10863
10876
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10864
10877
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -10889,6 +10902,9 @@ declare class CircleEntity extends BasePointEntity {
10889
10902
  hasEditContextMenu?: boolean;
10890
10903
  hasEditRevoke?: boolean;
10891
10904
  hasMoveEdit?: boolean;
10905
+ hasHeightEdit?: boolean;
10906
+ matrixMove?: MatrixMove.Options;
10907
+ matrixRotate?: MatrixRotate.Options;
10892
10908
  popup?: string | any[] | ((...params: any[]) => any);
10893
10909
  popupOptions?: Popup.StyleOptions | any;
10894
10910
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -11984,10 +12000,14 @@ declare namespace EllipseEntity {
11984
12000
  * @param [options.viewFrom] - 观察这个物体时建议的初始偏移量。
11985
12001
  * @param [options.parent] - 要与此实体关联的父实体。
11986
12002
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
12003
+ * @param [options.drawShowMeasure = true] - 绘制时,是否显示圆的半径辅助测量结果。
11987
12004
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
12005
+ * @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
11988
12006
  * @param [options.hasEdit = true] - 是否允许编辑
11989
12007
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
11990
12008
  * @param [options.hasEditRevoke = true] - 编辑时,是否记录编辑步骤中坐标记录,用于还原或撤销编辑
12009
+ * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
12010
+ * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
11991
12011
  * @param [options.matrixMove] - 右键菜单中,按轴平移时,传入给{@link MatrixMove}对象的构造参数
11992
12012
  * @param [options.matrixRotate] - 右键菜单中,按轴旋转时,传入给{@link MatrixRotate}对象的构造参数
11993
12013
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -12013,10 +12033,14 @@ declare class EllipseEntity extends CircleEntity {
12013
12033
  viewFrom?: Cesium.Property;
12014
12034
  parent?: Cesium.Entity;
12015
12035
  onBeforeCreate?: (...params: any[]) => any;
12036
+ drawShowMeasure?: boolean;
12016
12037
  drawShow?: boolean;
12038
+ hasDrawDelPoint?: boolean;
12017
12039
  hasEdit?: boolean;
12018
12040
  hasEditContextMenu?: boolean;
12019
12041
  hasEditRevoke?: boolean;
12042
+ hasMoveEdit?: boolean;
12043
+ hasHeightEdit?: boolean;
12020
12044
  matrixMove?: MatrixMove.Options;
12021
12045
  matrixRotate?: MatrixRotate.Options;
12022
12046
  popup?: string | any[] | ((...params: any[]) => any);
@@ -14683,6 +14707,8 @@ declare namespace WallEntity {
14683
14707
  * @property [distanceDisplayCondition = false] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
14684
14708
  * @property [distanceDisplayCondition_far = number.MAX_VALUE] - 最大距离
14685
14709
  * @property [distanceDisplayCondition_near = 0] - 最小距离
14710
+ * @property [riseAnimationDelay = 0] - 延迟多少秒执行执行生长动画, 延迟期间不显示
14711
+ * @property [riseAnimationDuration] - 执行生长动画的时长(内部执行startRiseAnimation方法),单位:秒
14686
14712
  * @property [hasShadows = false] - 是否阴影
14687
14713
  * @property [shadows = Cesium.ShadowMode.DISABLED] - 指定墙壁是投射还是接收来自光源的阴影。
14688
14714
  * @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定每个纬度点和经度点之间的角距离。
@@ -14715,6 +14741,8 @@ declare namespace WallEntity {
14715
14741
  distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
14716
14742
  distanceDisplayCondition_far?: number;
14717
14743
  distanceDisplayCondition_near?: number;
14744
+ riseAnimationDelay?: number;
14745
+ riseAnimationDuration?: number;
14718
14746
  hasShadows?: boolean;
14719
14747
  shadows?: Cesium.ShadowMode;
14720
14748
  granularity?: number;
@@ -14802,6 +14830,26 @@ declare class WallEntity extends BasePolyEntity {
14802
14830
  * 编辑处理类
14803
14831
  */
14804
14832
  readonly EditClass: EditWall;
14833
+ /**
14834
+ * 开始播放 升高动画
14835
+ * @param options - 参数
14836
+ * @param [options.delay = 0] - 延迟多少秒后执行(秒) , 延迟期间不显示
14837
+ * @param [options.duration = 8] - 总时长(秒)
14838
+ * @param [options.autoStop] - 完成后自动调用
14839
+ * @param [options.callback] - 完成后回调stopRiseAnimation
14840
+ * @returns 无
14841
+ */
14842
+ startRiseAnimation(options: {
14843
+ delay?: number;
14844
+ duration?: number;
14845
+ autoStop?: boolean;
14846
+ callback?: (...params: any[]) => any;
14847
+ }): void;
14848
+ /**
14849
+ * 停止 升高动画
14850
+ * @returns 无
14851
+ */
14852
+ stopRiseAnimation(): void;
14805
14853
  }
14806
14854
 
14807
14855
  /**
@@ -14809,10 +14857,10 @@ declare class WallEntity extends BasePolyEntity {
14809
14857
  * @param options - 参数对象,包括以下:
14810
14858
  * @param options.positions - 坐标位置
14811
14859
  * @param options.style - 样式信息,也支持一些对箭头调整的参数
14812
- * @param [options.style.headHeightFactor = 0.18] - headHeightFactor
14813
- * @param [options.style.headWidthFactor = 0.3] - headWidthFactor
14814
- * @param [options.style.neckHeightFactor = 0.85] - neckHeightFactor
14815
- * @param [options.style.neckWidthFactor = 0.15] - neckWidthFactor
14860
+ * @param [options.style.headHeightFactor = 0.18] - 头部高度系数
14861
+ * @param [options.style.headWidthFactor = 0.3] - 头部宽度倍数
14862
+ * @param [options.style.neckHeightFactor = 0.85] - 颈部高度系数
14863
+ * @param [options.style.neckWidthFactor = 0.15] - 颈部宽度倍数
14816
14864
  * @param [options.style.headTailFactor = 0.8] - headTailFactor
14817
14865
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
14818
14866
  * @param [options.availability] - 指定时间范围内显示该对象
@@ -14871,11 +14919,11 @@ declare class AttackArrow extends PolygonEntity {
14871
14919
  * @param options - 参数对象,包括以下:
14872
14920
  * @param options.positions - 坐标位置
14873
14921
  * @param options.style - 样式信息,也支持一些对箭头调整的参数
14874
- * @param [options.style.headHeightFactor = 0.18] - headHeightFactor
14875
- * @param [options.style.headWidthFactor = 0.3] - headWidthFactor
14876
- * @param [options.style.neckHeightFactor = 0.85] - neckHeightFactor
14877
- * @param [options.style.neckWidthFactor = 0.15] - neckWidthFactor
14878
- * @param [options.style.tailWidthFactor = 0.1] - tailWidthFactor
14922
+ * @param [options.style.headHeightFactor = 0.18] - 头部高度系数
14923
+ * @param [options.style.headWidthFactor = 0.3] - 头部宽度倍数
14924
+ * @param [options.style.neckHeightFactor = 0.85] - 颈部高度系数
14925
+ * @param [options.style.neckWidthFactor = 0.15] - 颈部宽度倍数
14926
+ * @param [options.style.tailWidthFactor = 0.1] - 尾部宽度倍数
14879
14927
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
14880
14928
  * @param [options.availability] - 指定时间范围内显示该对象
14881
14929
  * @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
@@ -14940,10 +14988,10 @@ declare class AttackArrowPW extends PolygonEntity {
14940
14988
  * @param options - 参数对象,包括以下:
14941
14989
  * @param options.positions - 坐标位置
14942
14990
  * @param options.style - 样式信息,也支持一些对箭头调整的参数
14943
- * @param [options.style.headHeightFactor = 0.18] - headHeightFactor
14944
- * @param [options.style.neckHeightFactor = 0.85] - neckHeightFactor
14945
- * @param [options.style.neckWidthFactor = 0.15] - neckWidthFactor
14946
- * @param [options.style.tailWidthFactor = 0.1] - tailWidthFactor
14991
+ * @param [options.style.headHeightFactor = 0.18] - 头部高度系数
14992
+ * @param [options.style.neckHeightFactor = 0.85] - 颈部高度系数
14993
+ * @param [options.style.neckWidthFactor = 0.15] - 颈部宽度倍数
14994
+ * @param [options.style.tailWidthFactor = 0.1] - 尾部宽度倍数
14947
14995
  * @param [options.style.headTailFactor = 0.8] - headTailFactor
14948
14996
  * @param [options.style.swallowTailFactor = 1.0] - 尾部比例
14949
14997
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
@@ -15069,10 +15117,10 @@ declare class CloseVurve extends PolygonEntity {
15069
15117
  * @param options - 参数对象,包括以下:
15070
15118
  * @param options.positions - 坐标位置
15071
15119
  * @param options.style - 样式信息,也支持一些对箭头调整的参数
15072
- * @param [options.style.headHeightFactor = 0.25] - headHeightFactor
15073
- * @param [options.style.headWidthFactor = 0.3] - headWidthFactor
15074
- * @param [options.style.neckHeightFactor = 0.85] - neckHeightFactor
15075
- * @param [options.style.neckWidthFactor = 0.15] - neckWidthFactor
15120
+ * @param [options.style.headHeightFactor = 0.25] - 头部高度系数
15121
+ * @param [options.style.headWidthFactor = 0.3] - 头部宽度倍数
15122
+ * @param [options.style.neckHeightFactor = 0.85] - 颈部高度系数
15123
+ * @param [options.style.neckWidthFactor = 0.15] - 颈部宽度倍数
15076
15124
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
15077
15125
  * @param [options.availability] - 指定时间范围内显示该对象
15078
15126
  * @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
@@ -15148,12 +15196,12 @@ declare class EditSector extends EditPolygon {
15148
15196
  * @param options - 参数对象,包括以下:
15149
15197
  * @param options.positions - 坐标位置
15150
15198
  * @param options.style - 样式信息,也支持一些对箭头调整的参数
15151
- * @param [options.style.tailWidthFactor = 0.1] - tailWidthFactor
15152
- * @param [options.style.neckWidthFactor = 0.2] - neckWidthFactor
15153
- * @param [options.style.headWidthFactor = 0.25] - headWidthFactor
15154
- * @param [options.style.neckHeightFactor = 0.85] - neckHeightFactor
15155
- * @param [options.style.headAngle = Math.PI/8.5] - headAngle
15156
- * @param [options.style.neckAngle = Math.PI / 13] - neckAngle
15199
+ * @param [options.style.tailWidthFactor = 0.1] - 尾部宽度倍数
15200
+ * @param [options.style.neckWidthFactor = 0.2] - 颈部宽度倍数
15201
+ * @param [options.style.headWidthFactor = 0.25] - 头部宽度倍数
15202
+ * @param [options.style.neckHeightFactor = 0.85] - 颈部高度系数
15203
+ * @param [options.style.headAngle = Math.PI/8.5] - 头部角度
15204
+ * @param [options.style.neckAngle = Math.PI / 13] - 颈部角度
15157
15205
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
15158
15206
  * @param [options.availability] - 指定时间范围内显示该对象
15159
15207
  * @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
@@ -15219,11 +15267,11 @@ declare class FineArrow extends PolygonEntity {
15219
15267
  * @param options - 参数对象,包括以下:
15220
15268
  * @param options.positions - 坐标位置
15221
15269
  * @param options.style - 样式信息,也支持一些对箭头调整的参数
15222
- * @param [options.style.headHeightFactor = 0.18] - headHeightFactor
15223
- * @param [options.style.headWidthFactor = 0.3] - headWidthFactor
15224
- * @param [options.style.neckHeightFactor = 0.85] - neckHeightFactor
15225
- * @param [options.style.neckWidthFactor = 0.15] - neckWidthFactor
15226
- * @param [options.style.tailWidthFactor = 0.1] - tailWidthFactor
15270
+ * @param [options.style.headHeightFactor = 0.18] - 头部高度系数
15271
+ * @param [options.style.headWidthFactor = 0.3] - 头部宽度倍数
15272
+ * @param [options.style.neckHeightFactor = 0.85] - 颈部高度系数
15273
+ * @param [options.style.neckWidthFactor = 0.15] - 颈部宽度倍数
15274
+ * @param [options.style.tailWidthFactor = 0.1] - 尾部宽度倍数
15227
15275
  * @param [options.style.swallowTailFactor = 1] - swallowTailFactor
15228
15276
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
15229
15277
  * @param [options.availability] - 指定时间范围内显示该对象
@@ -15680,11 +15728,11 @@ declare class Sector extends PointPolygonEntity {
15680
15728
  * @param options - 参数对象,包括以下:
15681
15729
  * @param options.positions - 坐标位置
15682
15730
  * @param options.style - 样式信息,也支持一些对箭头调整的参数
15683
- * @param [options.style.tailWidthFactor = 0.05] - tailWidthFactor
15684
- * @param [options.style.neckWidthFactor = 0.1] - neckWidthFactor
15685
- * @param [options.style.headWidthFactor = 0.15] - headWidthFactor
15686
- * @param [options.style.headAngle = Math.PI/4] - headAngle
15687
- * @param [options.style.neckAngle = Math.PI * 0.17741] - neckAngle
15731
+ * @param [options.style.headWidthFactor = 0.15] - 头部宽度倍数
15732
+ * @param [options.style.headAngle = Math.PI/4] - 头部角度
15733
+ * @param [options.style.neckWidthFactor = 0.1] - 颈部宽度倍数
15734
+ * @param [options.style.neckAngle = Math.PI * 0.17741] - 颈部角度
15735
+ * @param [options.style.tailWidthFactor = 0.05] - 尾部宽度倍数
15688
15736
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
15689
15737
  * @param [options.availability] - 指定时间范围内显示该对象
15690
15738
  * @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
@@ -15709,11 +15757,11 @@ declare class StraightArrow extends PolygonEntity {
15709
15757
  constructor(options: {
15710
15758
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
15711
15759
  style: {
15712
- tailWidthFactor?: number;
15713
- neckWidthFactor?: number;
15714
15760
  headWidthFactor?: number;
15715
15761
  headAngle?: number;
15762
+ neckWidthFactor?: number;
15716
15763
  neckAngle?: number;
15764
+ tailWidthFactor?: number;
15717
15765
  };
15718
15766
  attr?: any | BaseGraphic.AjaxAttr;
15719
15767
  availability?: Cesium.TimeIntervalCollection | Cesium.TimeInterval | any[] | any;
@@ -19678,7 +19726,7 @@ declare namespace ModelPrimitive {
19678
19726
  * @property [enableDebugWireframe = false] - 仅供调试。是否可以通过debugWireframe来切换查看模型的三角网线框图。
19679
19727
  * @property [debugWireframe = false] - 仅供调试。是否打开模型的三角网线框图。
19680
19728
  * @property [cull = true] - Whether or not to cull the model using frustum/horizon culling. If the model is part of a 3D Tiles tileset, this property will always be false, since the 3D Tiles culling system is used.
19681
- * @property [opaquePass = Cesium.Pass.OPAQUE] - The pass to use in the {@link DrawCommand} for the opaque portions of the model.
19729
+ * @property [opaquePass = Cesium.Pass.OPAQUE] - 设置渲染通道,在实际使用中,对于模型的不透明部分,应该将DrawCommand的pass属性设置为Cesium.Pass.OPAQUE,这样 Cesium 的渲染器就会在处理不透明物体的阶段渲染该部分,保证渲染顺序和深度检测等机制正常工作。
19682
19730
  * @property [upAxis = Cesium.Axis.Y] - The up-axis of the glTF model.
19683
19731
  * @property [forwardAxis = Cesium.Axis.Z] - The forward-axis of the glTF model.
19684
19732
  * @property [customShader] - A custom shader. This will add user-defined GLSL code to the vertex and fragment shaders. Using custom shaders with a {@link Cesium3DTileStyle} may lead to undefined behavior.
@@ -19762,7 +19810,7 @@ declare namespace ModelPrimitive {
19762
19810
  enableDebugWireframe?: boolean;
19763
19811
  debugWireframe?: boolean;
19764
19812
  cull?: boolean;
19765
- opaquePass?: boolean;
19813
+ opaquePass?: any|number;
19766
19814
  upAxis?: Cesium.Axis;
19767
19815
  forwardAxis?: Cesium.Axis;
19768
19816
  customShader?: Cesium.CustomShader;
@@ -21980,6 +22028,7 @@ declare class BaseGraphicLayer extends BaseLayer {
21980
22028
  * @param [content.callback] - 菜单项单击后的回调方法
21981
22029
  * @param [content.children] - 当有二级子菜单时,配置数组。
21982
22030
  * @param [options = {}] - 控制参数
22031
+ * @param [options.mergeMap] - 是否合并一起显示map默认右键菜单
21983
22032
  * @param [options.offsetX] - 用于非规则对象时,横向偏移的px像素值
21984
22033
  * @param [options.offsetY] - 用于非规则对象时,垂直方向偏移的px像素值
21985
22034
  * @returns 当前对象本身,可以链式调用
@@ -21991,6 +22040,7 @@ declare class BaseGraphicLayer extends BaseLayer {
21991
22040
  callback?: (...params: any[]) => any;
21992
22041
  children?: any;
21993
22042
  }[], options?: {
22043
+ mergeMap?: boolean;
21994
22044
  offsetX?: number;
21995
22045
  offsetY?: number;
21996
22046
  }): BaseGraphicLayer;
@@ -22045,6 +22095,7 @@ declare class BaseGraphicLayer extends BaseLayer {
22045
22095
  * @param options.extent.ymin - 最小纬度值, -90 至 90
22046
22096
  * @param options.extent.ymax - 最大纬度值, -90 至 90
22047
22097
  * @param [options.extent.height] - 矩形高度值, 默认取地形高度值
22098
+ * @param [options.availability] - 指定时间范围内显示该对象
22048
22099
  * @param [options.script] - 用于矢量对象加载后执行的js脚本,提示:目前主要是Studio平台绑定自定义脚本使用
22049
22100
  * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
22050
22101
  * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseLayer#flyTo}方法参数。
@@ -22071,6 +22122,7 @@ declare class BaseLayer extends BaseClass {
22071
22122
  ymax: number;
22072
22123
  height?: number;
22073
22124
  };
22125
+ availability?: Cesium.TimeIntervalCollection | Cesium.TimeInterval | any[] | any;
22074
22126
  script?: string;
22075
22127
  flyTo?: boolean;
22076
22128
  flyToOptions?: any;
@@ -23639,6 +23691,7 @@ declare namespace GraphicLayer {
23639
23691
  * @param [options.tooltipOptions.showNull = false] - 是否显示空值
23640
23692
  * @param [options.contextmenuItems] - 绑定的右键菜单值,也可以bindContextMenu方法绑定
23641
23693
  * @param [options.attr] - 图层级对所有矢量数据的 属性信息做统一配置,常用于动态属性
23694
+ * @param [options.availability] - 指定时间范围内显示该对象
23642
23695
  * @param [options.id = mars3d.Util.createGuid()] - 图层id标识
23643
23696
  * @param [options.pid] - 图层父级的id,一般图层管理中使用
23644
23697
  * @param [options.name] - 图层名称
@@ -23709,6 +23762,7 @@ declare class GraphicLayer extends BaseGraphicLayer {
23709
23762
  };
23710
23763
  contextmenuItems?: any;
23711
23764
  attr?: any | BaseGraphic.AjaxAttr;
23765
+ availability?: Cesium.TimeIntervalCollection | Cesium.TimeInterval | any[] | any;
23712
23766
  id?: string | number;
23713
23767
  pid?: string | number;
23714
23768
  name?: string;
@@ -25223,6 +25277,8 @@ declare namespace TilesetLayer {
25223
25277
  * @param [options.environmentMapManager] - 使用PBR时更新了默认的3D瓷砖和模型照明,以创建更逼真的外观。Cesium.DynamicEnvironmentMapManager
25224
25278
  * @param [options.backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;当为false时,禁用背面剔除。
25225
25279
  * @param [options.enableCollision = false] - 是否启用picking碰撞拾取,贴模型时需要开启。如果<code> map.scene.screenSpaceCameraController.enableCollisionDetection</code>为true,则相机将被阻止低于模型表面。
25280
+ * @param [options.opaquePass = Cesium.Pass.OPAQUE] - 设置渲染通道,在实际使用中,对于Model模型的不透明部分,应该将DrawCommand的pass属性设置为Cesium.Pass.OPAQUE,这样 Cesium 的渲染器就会在处理不透明物体的阶段渲染该部分,保证渲染顺序和深度检测等机制正常工作。
25281
+ * @param [options.renderState] - 可选渲染状态,以覆盖Model模型内部默认渲染状态。
25226
25282
  * @param [options.enableShowOutline = true] - 是否启用模型的轮廓 {@link https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/CESIUM_primitive_outline|CESIUM_primitive_outline} 扩展. 可以将其设置为false,以避免在加载时对几何图形进行额外处理。如果为false,则会忽略showOutlines和outlineColor选项。
25227
25283
  * @param [options.showOutline = true] - 是否显示模型的轮廓 {@link https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/CESIUM_primitive_outline|CESIUM_primitive_outline} 扩展. 当为true时,将显示轮廓。当为false时,不显示轮廓。
25228
25284
  * @param [options.outlineColor = Color.BLACK] - 渲染outline轮廓时要使用的颜色。
@@ -25367,6 +25423,8 @@ declare class TilesetLayer extends BaseGraphicLayer {
25367
25423
  environmentMapManager?: any;
25368
25424
  backFaceCulling?: boolean;
25369
25425
  enableCollision?: boolean;
25426
+ opaquePass?: any|number;
25427
+ renderState?: any;
25370
25428
  enableShowOutline?: boolean;
25371
25429
  showOutline?: boolean;
25372
25430
  outlineColor?: Cesium.Color;
@@ -29008,6 +29066,8 @@ declare class WmsLayer extends BaseTileLayer {
29008
29066
  * @param [options.tileMatrixSetID] - 同tileMatrixSet,Cesium原生参数
29009
29067
  * @param [options.tileMatrixLabels] - 瓦片矩阵中用于WMTS请求的标识符列表,每个瓦片矩阵级别一个。
29010
29068
  * @param [options.tileMatrixBefore] - 用于WMTS请求的tilematrix,当tileMatrixLabels是有规律的前缀+层级时,可以用tilematrixBefore配置前缀字符串即可。
29069
+ * @param [options.parameters] - 要在URL中额外增加的请求参数
29070
+ * @param [options.parameters.version = "1.0.0"] - 服务版本
29011
29071
  * @param [options.clock] - 一个时钟实例,用于确定时间维度的值。指定' times '时需要。
29012
29072
  * @param [options.times] - TimeIntervalCollection 的数据属性是一个包含时间动态维度及其值的对象。
29013
29073
  * @param [options.getCapabilities = true] - 是否通过服务本身的GetCapabilities来读取一些参数,减少options配置项
@@ -29082,6 +29142,9 @@ declare class WmtsLayer extends BaseTileLayer {
29082
29142
  tileMatrixSetID?: string;
29083
29143
  tileMatrixLabels?: string[];
29084
29144
  tileMatrixBefore?: string;
29145
+ parameters?: {
29146
+ version?: string;
29147
+ };
29085
29148
  clock?: Cesium.Clock;
29086
29149
  times?: Cesium.TimeIntervalCollection;
29087
29150
  getCapabilities?: boolean;
@@ -33784,6 +33847,10 @@ declare class PointPlot extends BasePointEntity {
33784
33847
  flyTo?: boolean;
33785
33848
  flyToOptions?: any;
33786
33849
  });
33850
+ /**
33851
+ * 标号编码
33852
+ */
33853
+ readonly code: string | number;
33787
33854
  /**
33788
33855
  * 矢量数据对应的 Cesium内部对象的具体类型对象
33789
33856
  */
@@ -33943,6 +34010,10 @@ declare class PolyPlot extends BasePolyEntity {
33943
34010
  flyTo?: boolean;
33944
34011
  flyToOptions?: any;
33945
34012
  });
34013
+ /**
34014
+ * 标号编码
34015
+ */
34016
+ readonly code: string | number;
33946
34017
  /**
33947
34018
  * 矢量数据对应的 Cesium内部对象的具体类型对象
33948
34019
  */
@@ -33967,9 +34038,6 @@ declare namespace PlotUtil {
33967
34038
  * @example
33968
34039
  * mars3d.PlotUtil.readyPromise.then(() => {
33969
34040
  * console.log("Plot库初始化完成")
33970
- *
33971
- * console.log("支持的标号库(树结构):", mars3d.PlotUtil.symbolTree)
33972
- * console.log("支持的标号库(code键值对):", mars3d.PlotUtil.symbolObj)
33973
34041
  * })
33974
34042
  */
33975
34043
  const readyPromise: Promise<any>;
@@ -34111,7 +34179,7 @@ declare class Tle {
34111
34179
  */
34112
34180
  readonly checksum2: number;
34113
34181
  /**
34114
- * 获取卫星指定时间所在的 ECI地固系坐标
34182
+ * 获取卫星指定时间所在的 ECEF地心地固坐标系
34115
34183
  * @param datetime - 指定的时间
34116
34184
  * @returns ECEF(地心地固坐标系) 坐标
34117
34185
  */
@@ -34153,7 +34221,7 @@ declare class Tle {
34153
34221
  */
34154
34222
  static getPoint(tle1: string, tle2: string, datetime: Date | Cesium.JulianDate | number, isFixed?: boolean): LngLatPoint | undefined;
34155
34223
  /**
34156
- * 获取卫星指定时间所在的 ECI地固系坐标
34224
+ * 获取卫星指定时间所在的 ECEF地心地固坐标系
34157
34225
  * @param tle1 - 卫星TLE的第一行
34158
34226
  * @param tle2 - 卫星TLE的第二行
34159
34227
  * @param datetime - 指定的时间
@@ -34182,7 +34250,7 @@ declare class Tle {
34182
34250
  */
34183
34251
  static eciToGeodetic(positionEci: Cesium.Cartesian3, datetime: Date | Cesium.JulianDate | number): LngLatPoint;
34184
34252
  /**
34185
- * ECI惯性系坐标 转换为 ECI地固系坐标
34253
+ * ECI惯性系坐标 转换为 ECEF地心地固坐标系
34186
34254
  * @param positionEci - ECI(地心惯性坐标系)坐标
34187
34255
  * @param datetime - 指定时间, number时请传入格林尼治恒星时(GMST)时间
34188
34256
  * @param [positionEcf] - ECI(地心惯性坐标系)坐标
@@ -34190,7 +34258,7 @@ declare class Tle {
34190
34258
  */
34191
34259
  static eciToEcf(positionEci: Cesium.Cartesian3, datetime: Date | Cesium.JulianDate | number, positionEcf?: Cesium.Cartesian3): Cesium.Cartesian3;
34192
34260
  /**
34193
- * ECI地固系坐标 转换为 ECI惯性系坐标
34261
+ * ECEF地心地固坐标系 转换为 ECI惯性系坐标
34194
34262
  * @param positionEcf - ECEF(地心地固坐标系) 坐标
34195
34263
  * @param datetime - 指定时间, number时请传入格林尼治恒星时(GMST)时间
34196
34264
  * @returns ECI(地心惯性坐标系)坐标
@@ -38987,6 +39055,10 @@ declare class TilesetFlood extends TilesetEditBase {
38987
39055
  * 淹没速度,米/秒(默认刷新频率为55Hz)
38988
39056
  */
38989
39057
  speed: number;
39058
+ /**
39059
+ * 显示效果中是否不显示最低高度以下的部分颜色
39060
+ */
39061
+ limitMin: boolean;
38990
39062
  /**
38991
39063
  * 是否对整个模型进行分析
38992
39064
  */
@@ -40861,7 +40933,7 @@ declare namespace PolyUtil {
40861
40933
  * @param [options.offset] - [方式2] 按移动的变量
40862
40934
  * @returns 移动后的坐标点数组
40863
40935
  */
40864
- function movePoints(points: LngLatPoint[] | Cesium.Cartesian3[] | any[], options: {
40936
+ function movePoints(points: LngLatPoint[] | Cesium.Cartesian3[] | any[] | any, options: {
40865
40937
  center?: Cesium.Cartesian3;
40866
40938
  offset?: Cesium.Cartesian3;
40867
40939
  }): Cesium.Cartesian3[];