mars3d 3.6.17 → 3.6.18

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/mars3d.css CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Mars3D三维可视化平台 mars3d
3
3
  *
4
- * 版本信息:v3.6.17
5
- * 编译日期:2023-12-18 20:13:22
4
+ * 版本信息:v3.6.18
5
+ * 编译日期:2023-12-31 22:36:25
6
6
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
7
7
  * 使用单位:免费公开版 ,2023-03-17
8
8
  */
package/dist/mars3d.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.6.17
6
- * 编译日期:2023-12-18 20:13:21
5
+ * 版本信息:v3.6.18
6
+ * 编译日期:2023-12-31 22:36:24
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
8
  * 使用单位:免费公开版 ,2023-03-17
9
9
  */
@@ -5390,9 +5390,9 @@ declare class PlaneCombine extends BasePointCombine {
5390
5390
  * @param options - 参数对象,包括以下:
5391
5391
  * @param [options.instances] - 面信息数组,单个对象包括:
5392
5392
  * @param options.instances.positions - 坐标位置
5393
- * @param [options.instances.style] - 样式信息
5393
+ * @param [options.instances.style] - 样式信息,【仅支持同属性同材质,纯色支持多颜色】
5394
5394
  * @param [options.instances.attr] - 矢量数据的 属性信息,可以任意附加属性。
5395
- * @param [options.style] - 所有面的公共样式信息
5395
+ * @param [options.style] - 所有面的公共样式信息, 【仅支持同属性同材质,纯色支持多颜色】
5396
5396
  * @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式(仅支持Color纯色材质)
5397
5397
  * // * @param {string} [options.highlight.type] 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
5398
5398
  * @param [options.appearance] - [cesium原生]用于渲染图元的外观。
@@ -7159,6 +7159,7 @@ declare namespace Video3D {
7159
7159
  * @param [options.targetPosition] - 目标视点位置,可以替代style中的相机heading\pitch\roll方向和distance距离参数
7160
7160
  * @param options.style - 样式信息
7161
7161
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
7162
+ * @param [options.play = true] - 初始化后默认是播放还是停止状态
7162
7163
  * @param [options.id = createGuid()] - 矢量数据id标识
7163
7164
  * @param [options.name = ''] - 矢量数据名称
7164
7165
  * @param [options.show = true] - 矢量数据是否显示
@@ -7172,6 +7173,7 @@ declare class Video3D extends ViewShed {
7172
7173
  targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
7173
7174
  style: Video3D.StyleOptions | any;
7174
7175
  attr?: any;
7176
+ play?: boolean;
7175
7177
  id?: string | number;
7176
7178
  name?: string;
7177
7179
  show?: boolean;
@@ -8393,6 +8395,10 @@ declare class BaseEntity extends BaseGraphic {
8393
8395
  * 是否正在编辑状态
8394
8396
  */
8395
8397
  readonly isEditing: boolean;
8398
+ /**
8399
+ * 正在绘制的最后一个正式点
8400
+ */
8401
+ readonly lastDrawPoint: boolean;
8396
8402
  /**
8397
8403
  * 重新渲染对象
8398
8404
  * @returns 无
@@ -8706,6 +8712,7 @@ declare class BasePointEntity extends BaseEntity {
8706
8712
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
8707
8713
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
8708
8714
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
8715
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
8709
8716
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
8710
8717
  * @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
8711
8718
  * @param [options.hasEdit = true] - 是否允许编辑
@@ -8737,6 +8744,7 @@ declare class BasePolyEntity extends BaseEntity {
8737
8744
  onBeforeCreate?: (...params: any[]) => any;
8738
8745
  minPointNum?: number;
8739
8746
  maxPointNum?: number;
8747
+ updateDrawPosition?: (...params: any[]) => any;
8740
8748
  validDrawPosition?: (...params: any[]) => any;
8741
8749
  hasDrawDelPoint?: boolean;
8742
8750
  hasEdit?: boolean;
@@ -9185,6 +9193,7 @@ declare class BoxEntity {
9185
9193
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9186
9194
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
9187
9195
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
9196
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
9188
9197
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
9189
9198
  * @param [options.hasEdit = true] - 是否允许编辑
9190
9199
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -9215,6 +9224,7 @@ declare class BrushLineEntity extends PolylineEntity {
9215
9224
  onBeforeCreate?: (...params: any[]) => any;
9216
9225
  minPointNum?: number;
9217
9226
  maxPointNum?: number;
9227
+ updateDrawPosition?: (...params: any[]) => any;
9218
9228
  validDrawPosition?: (...params: any[]) => any;
9219
9229
  hasEdit?: boolean;
9220
9230
  hasEditContextMenu?: boolean;
@@ -9876,6 +9886,7 @@ declare namespace CorridorEntity {
9876
9886
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9877
9887
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
9878
9888
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
9889
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
9879
9890
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
9880
9891
  * @param [options.hasEdit = true] - 是否允许编辑
9881
9892
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -9906,6 +9917,7 @@ declare class CorridorEntity extends BasePolyEntity {
9906
9917
  onBeforeCreate?: (...params: any[]) => any;
9907
9918
  minPointNum?: number;
9908
9919
  maxPointNum?: number;
9920
+ updateDrawPosition?: (...params: any[]) => any;
9909
9921
  validDrawPosition?: (...params: any[]) => any;
9910
9922
  hasEdit?: boolean;
9911
9923
  hasEditContextMenu?: boolean;
@@ -9949,6 +9961,7 @@ declare class CorridorEntity extends BasePolyEntity {
9949
9961
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9950
9962
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
9951
9963
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
9964
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
9952
9965
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
9953
9966
  * @param [options.hasEdit = true] - 是否允许编辑
9954
9967
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -9980,6 +9993,7 @@ declare class CurveEntity extends PolylineEntity {
9980
9993
  onBeforeCreate?: (...params: any[]) => any;
9981
9994
  minPointNum?: number;
9982
9995
  maxPointNum?: number;
9996
+ updateDrawPosition?: (...params: any[]) => any;
9983
9997
  validDrawPosition?: (...params: any[]) => any;
9984
9998
  hasEdit?: boolean;
9985
9999
  hasEditContextMenu?: boolean;
@@ -12081,6 +12095,7 @@ declare namespace PolygonEntity {
12081
12095
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
12082
12096
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
12083
12097
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
12098
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
12084
12099
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
12085
12100
  * @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
12086
12101
  * @param [options.hasEdit = true] - 是否允许编辑
@@ -12113,6 +12128,7 @@ declare class PolygonEntity extends BasePolyEntity {
12113
12128
  onBeforeCreate?: (...params: any[]) => any;
12114
12129
  minPointNum?: number;
12115
12130
  maxPointNum?: number;
12131
+ updateDrawPosition?: (...params: any[]) => any;
12116
12132
  validDrawPosition?: (...params: any[]) => any;
12117
12133
  hasDrawDelPoint?: boolean;
12118
12134
  hasEdit?: boolean;
@@ -12280,6 +12296,7 @@ declare namespace PolylineEntity {
12280
12296
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
12281
12297
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
12282
12298
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
12299
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
12283
12300
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
12284
12301
  * @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
12285
12302
  * @param [options.hasEdit = true] - 是否允许编辑
@@ -12312,6 +12329,7 @@ declare class PolylineEntity extends BasePolyEntity {
12312
12329
  onBeforeCreate?: (...params: any[]) => any;
12313
12330
  minPointNum?: number;
12314
12331
  maxPointNum?: number;
12332
+ updateDrawPosition?: (...params: any[]) => any;
12315
12333
  validDrawPosition?: (...params: any[]) => any;
12316
12334
  hasDrawDelPoint?: boolean;
12317
12335
  hasEdit?: boolean;
@@ -12417,6 +12435,7 @@ declare namespace PolylineVolumeEntity {
12417
12435
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
12418
12436
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
12419
12437
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
12438
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
12420
12439
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
12421
12440
  * @param [options.hasEdit = true] - 是否允许编辑
12422
12441
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -12447,6 +12466,7 @@ declare class PolylineVolumeEntity extends BasePolyEntity {
12447
12466
  onBeforeCreate?: (...params: any[]) => any;
12448
12467
  minPointNum?: number;
12449
12468
  maxPointNum?: number;
12469
+ updateDrawPosition?: (...params: any[]) => any;
12450
12470
  validDrawPosition?: (...params: any[]) => any;
12451
12471
  hasEdit?: boolean;
12452
12472
  hasEditContextMenu?: boolean;
@@ -12565,6 +12585,7 @@ declare namespace RectangleEntity {
12565
12585
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
12566
12586
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
12567
12587
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
12588
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
12568
12589
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
12569
12590
  * @param [options.hasEdit = true] - 是否允许编辑
12570
12591
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -12596,6 +12617,7 @@ declare class RectangleEntity extends BasePolyEntity {
12596
12617
  onBeforeCreate?: (...params: any[]) => any;
12597
12618
  minPointNum?: number;
12598
12619
  maxPointNum?: number;
12620
+ updateDrawPosition?: (...params: any[]) => any;
12599
12621
  validDrawPosition?: (...params: any[]) => any;
12600
12622
  hasEdit?: boolean;
12601
12623
  hasEditContextMenu?: boolean;
@@ -13131,6 +13153,7 @@ declare namespace WallEntity {
13131
13153
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
13132
13154
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
13133
13155
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
13156
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
13134
13157
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
13135
13158
  * @param [options.hasEdit = true] - 是否允许编辑
13136
13159
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -13161,6 +13184,7 @@ declare class WallEntity extends BasePolyEntity {
13161
13184
  onBeforeCreate?: (...params: any[]) => any;
13162
13185
  minPointNum?: number;
13163
13186
  maxPointNum?: number;
13187
+ updateDrawPosition?: (...params: any[]) => any;
13164
13188
  validDrawPosition?: (...params: any[]) => any;
13165
13189
  hasEdit?: boolean;
13166
13190
  hasEditContextMenu?: boolean;
@@ -14032,6 +14056,7 @@ declare class StraightArrow extends PolygonEntity {
14032
14056
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
14033
14057
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
14034
14058
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
14059
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
14035
14060
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
14036
14061
  * @param [options.hasEdit = true] - 是否允许编辑
14037
14062
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -14065,6 +14090,7 @@ declare class AngleMeasure extends PolylineEntity {
14065
14090
  onBeforeCreate?: (...params: any[]) => any;
14066
14091
  minPointNum?: number;
14067
14092
  maxPointNum?: number;
14093
+ updateDrawPosition?: (...params: any[]) => any;
14068
14094
  validDrawPosition?: (...params: any[]) => any;
14069
14095
  hasEdit?: boolean;
14070
14096
  hasEditContextMenu?: boolean;
@@ -14111,6 +14137,7 @@ declare class AngleMeasure extends PolylineEntity {
14111
14137
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
14112
14138
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
14113
14139
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
14140
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
14114
14141
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
14115
14142
  * @param [options.hasEdit = true] - 是否允许编辑
14116
14143
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -14143,6 +14170,7 @@ declare class AreaMeasure extends PolygonEntity {
14143
14170
  onBeforeCreate?: (...params: any[]) => any;
14144
14171
  minPointNum?: number;
14145
14172
  maxPointNum?: number;
14173
+ updateDrawPosition?: (...params: any[]) => any;
14146
14174
  validDrawPosition?: (...params: any[]) => any;
14147
14175
  hasEdit?: boolean;
14148
14176
  hasEditContextMenu?: boolean;
@@ -14195,6 +14223,7 @@ declare class AreaMeasure extends PolygonEntity {
14195
14223
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
14196
14224
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
14197
14225
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
14226
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
14198
14227
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
14199
14228
  * @param [options.hasEdit = true] - 是否允许编辑
14200
14229
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -14228,6 +14257,7 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
14228
14257
  onBeforeCreate?: (...params: any[]) => any;
14229
14258
  minPointNum?: number;
14230
14259
  maxPointNum?: number;
14260
+ updateDrawPosition?: (...params: any[]) => any;
14231
14261
  validDrawPosition?: (...params: any[]) => any;
14232
14262
  hasEdit?: boolean;
14233
14263
  hasEditContextMenu?: boolean;
@@ -14265,6 +14295,7 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
14265
14295
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
14266
14296
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
14267
14297
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
14298
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
14268
14299
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
14269
14300
  * @param [options.hasEdit = true] - 是否允许编辑
14270
14301
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -14297,6 +14328,7 @@ declare class DistanceMeasure extends PolylineEntity {
14297
14328
  onBeforeCreate?: (...params: any[]) => any;
14298
14329
  minPointNum?: number;
14299
14330
  maxPointNum?: number;
14331
+ updateDrawPosition?: (...params: any[]) => any;
14300
14332
  validDrawPosition?: (...params: any[]) => any;
14301
14333
  hasEdit?: boolean;
14302
14334
  hasEditContextMenu?: boolean;
@@ -14343,6 +14375,7 @@ declare class DistanceMeasure extends PolylineEntity {
14343
14375
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
14344
14376
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
14345
14377
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
14378
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
14346
14379
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
14347
14380
  * @param [options.hasEdit = true] - 是否允许编辑
14348
14381
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -14376,6 +14409,7 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
14376
14409
  onBeforeCreate?: (...params: any[]) => any;
14377
14410
  minPointNum?: number;
14378
14411
  maxPointNum?: number;
14412
+ updateDrawPosition?: (...params: any[]) => any;
14379
14413
  validDrawPosition?: (...params: any[]) => any;
14380
14414
  hasEdit?: boolean;
14381
14415
  hasEditContextMenu?: boolean;
@@ -14413,6 +14447,7 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
14413
14447
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
14414
14448
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
14415
14449
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
14450
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
14416
14451
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
14417
14452
  * @param [options.hasEdit = true] - 是否允许编辑
14418
14453
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -14445,6 +14480,7 @@ declare class HeightMeasure extends PolylineEntity {
14445
14480
  onBeforeCreate?: (...params: any[]) => any;
14446
14481
  minPointNum?: number;
14447
14482
  maxPointNum?: number;
14483
+ updateDrawPosition?: (...params: any[]) => any;
14448
14484
  validDrawPosition?: (...params: any[]) => any;
14449
14485
  hasEdit?: boolean;
14450
14486
  hasEditContextMenu?: boolean;
@@ -14491,6 +14527,7 @@ declare class HeightMeasure extends PolylineEntity {
14491
14527
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
14492
14528
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
14493
14529
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
14530
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
14494
14531
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
14495
14532
  * @param [options.hasEdit = true] - 是否允许编辑
14496
14533
  * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
@@ -14523,6 +14560,7 @@ declare class HeightTriangleMeasure extends HeightMeasure {
14523
14560
  onBeforeCreate?: (...params: any[]) => any;
14524
14561
  minPointNum?: number;
14525
14562
  maxPointNum?: number;
14563
+ updateDrawPosition?: (...params: any[]) => any;
14526
14564
  validDrawPosition?: (...params: any[]) => any;
14527
14565
  hasEdit?: boolean;
14528
14566
  hasEditContextMenu?: boolean;
@@ -14623,6 +14661,7 @@ declare class PointMeasure extends PointEntity {
14623
14661
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
14624
14662
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
14625
14663
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
14664
+ * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
14626
14665
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
14627
14666
  * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
14628
14667
  * @param [options.hasEdit = true] - 是否允许编辑
@@ -14657,6 +14696,7 @@ declare class SectionMeasure extends DistanceMeasure {
14657
14696
  onBeforeCreate?: (...params: any[]) => any;
14658
14697
  minPointNum?: number;
14659
14698
  maxPointNum?: number;
14699
+ updateDrawPosition?: (...params: any[]) => any;
14660
14700
  validDrawPosition?: (...params: any[]) => any;
14661
14701
  addHeight?: number;
14662
14702
  hasEdit?: boolean;
@@ -26949,7 +26989,7 @@ declare class Map extends BaseClass {
26949
26989
  * @param [options.width = canvas.width] - 图片的高度像素值
26950
26990
  * @param [options.height = canvas.height] - 图片的高度像素值
26951
26991
  * @param [options.type = 'image/jpeg'] - 图片格式
26952
- * @param [options.encoderOptions = 0.92] - 在指定图片格式为 image/jpeg 或 image/webp的情况下,可以从 0 到 1 的区间内选择图片的质量。如果超出取值范围,将会使用默认值 0.92。其他参数会被忽略。
26992
+ * @param [options.encoderOptions = 1] - 在指定图片格式为 image/jpeg 或 image/webp的情况下,可以从 0 到 1 的区间内选择图片的质量。如果超出取值范围,将会使用默认值 0.92。其他参数会被忽略。
26953
26993
  * @returns 截图完成后的回调方法的Promise
26954
26994
  */
26955
26995
  expImage(options?: {
@@ -30520,7 +30560,7 @@ declare class Tle {
30520
30560
  */
30521
30561
  readonly checksum2: number;
30522
30562
  /**
30523
- * 获取卫星指定时间所在的 ECEF坐标
30563
+ * 获取卫星指定时间所在的 ECI地固系坐标
30524
30564
  * @param datetime - 指定的时间
30525
30565
  * @returns ECEF(地心地固坐标系) 坐标
30526
30566
  */
@@ -30559,7 +30599,7 @@ declare class Tle {
30559
30599
  */
30560
30600
  static getPoint(tle1: string, tle2: string, datetime: Date | Cesium.JulianDate | number): LngLatPoint | undefined;
30561
30601
  /**
30562
- * 获取卫星指定时间所在的 ECEF坐标
30602
+ * 获取卫星指定时间所在的 ECI地固系坐标
30563
30603
  * @param tle1 - 卫星TLE的第一行
30564
30604
  * @param tle2 - 卫星TLE的第二行
30565
30605
  * @param datetime - 指定的时间
@@ -30580,14 +30620,15 @@ declare class Tle {
30580
30620
  */
30581
30621
  static eciToGeodetic(positionEci: Cesium.Cartesian3, datetime: Date | Cesium.JulianDate | number): LngLatPoint;
30582
30622
  /**
30583
- * ECI坐标 转换为 ECEF坐标
30623
+ * ECI惯性系坐标 转换为 ECI地固系坐标
30584
30624
  * @param positionEci - ECI(地心惯性坐标系)坐标
30585
30625
  * @param datetime - 指定时间, number时请传入格林尼治恒星时(GMST)时间
30626
+ * @param [positionEcf] - ECI(地心惯性坐标系)坐标
30586
30627
  * @returns ECEF(地心地固坐标系) 坐标
30587
30628
  */
30588
- static eciToEcf(positionEci: Cesium.Cartesian3, datetime: Date | Cesium.JulianDate | number): Cesium.Cartesian3;
30629
+ static eciToEcf(positionEci: Cesium.Cartesian3, datetime: Date | Cesium.JulianDate | number, positionEcf?: Cesium.Cartesian3): Cesium.Cartesian3;
30589
30630
  /**
30590
- * ECEF坐标 转换为 ECI坐标
30631
+ * ECI地固系坐标 转换为 ECI惯性系坐标
30591
30632
  * @param positionEcf - ECEF(地心地固坐标系) 坐标
30592
30633
  * @param datetime - 指定时间, number时请传入格林尼治恒星时(GMST)时间
30593
30634
  * @returns ECI(地心惯性坐标系)坐标
@@ -31099,6 +31140,8 @@ declare namespace Satellite {
31099
31140
  * @param [options.tle2] - 卫星两行轨道数(TLE) 的tle2, 示例:'2 39150 97.9189 29.2064 0018076 220.9170 139.0692 14.76532215297913'
31100
31141
  * @param [options.period] - 卫星运行周期(单位:分钟), 未传值时自动在tle2中解析
31101
31142
  * @param [options.pointsNum = 60] - 卫星轨道计算的点数量,值越大轨道越平滑度但占用资源越多(可能卡)
31143
+ * @param [options.referenceFrame = Cesium.ReferenceFrame.INERTIAL] - 使用地固系(ECEF坐标),还是地惯系(ECI惯性坐标)
31144
+ * @param [options.numberOfDerivatives = 0] - 每个位置的导数的数量;即速度、加速度等。
31102
31145
  * @param [options.position] - 当没有tle时,自定义传入动态坐标位置(含时序的点集合)
31103
31146
  * @param [options.orientation] - 当没有tle时,自定义传入实体方向
31104
31147
  * @param [options.attr] - 矢量数据的 属性信息,可以任意附加属性。
@@ -31127,6 +31170,8 @@ declare class Satellite extends Route {
31127
31170
  tle2?: string;
31128
31171
  period?: number;
31129
31172
  pointsNum?: number;
31173
+ referenceFrame?: Cesium.ReferenceFrame;
31174
+ numberOfDerivatives?: number;
31130
31175
  position?: Cesium.SampledPositionProperty;
31131
31176
  orientation?: Cesium.Property;
31132
31177
  attr?: any;