mars3d 3.3.9 → 3.3.12

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.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.3.9
6
- * 编译日期:2022-05-16 20:53:57
5
+ * 版本信息:v3.3.12
6
+ * 编译日期:2022-06-06 10:47:37
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
8
  * 使用单位:免费公开版 ,2022-02-01
9
9
  */
@@ -187,6 +187,10 @@ declare enum EventType {
187
187
  * 更新了对象
188
188
  */
189
189
  update = "update",
190
+ /**
191
+ * 更新了坐标位置
192
+ */
193
+ updatePosition = "updatePosition",
190
194
  /**
191
195
  * 更新了style对象
192
196
  */
@@ -1081,7 +1085,7 @@ declare enum LayerType {
1081
1085
  * width: 5,
1082
1086
  * material: mars3d.MaterialUtil.createMaterialProperty(mars3d.MaterialType.LineFlow, {
1083
1087
  * color: '#00ff00',
1084
- * image: 'img/textures/LinkPulse.png',
1088
+ * image: 'img/textures/line-pulse.png',
1085
1089
  * speed: 5,
1086
1090
  * }),
1087
1091
  * },
@@ -1098,7 +1102,7 @@ declare enum LayerType {
1098
1102
  * width: 5,
1099
1103
  * material: mars3d.MaterialUtil.createMaterial(mars3d.MaterialType.LineFlow, {
1100
1104
  * color: '#1a9850',
1101
- * image: 'img/textures/ArrowOpacity.png',
1105
+ * image: 'img/textures/line-arrow.png',
1102
1106
  * speed: 10,
1103
1107
  * }),
1104
1108
  * },
@@ -1245,7 +1249,10 @@ declare namespace MaterialType {
1245
1249
  * @property [image] - 背景图片URL
1246
1250
  * @property [color = new Cesium.Color(1.0, 0.0, 0.0, 0.7)] - 颜色
1247
1251
  * @property [count = 1] - 数量
1252
+ * @property [direction = -1] - 方向,1是往下,-1是往上
1248
1253
  * @property [speed = 5.0] - 速度,值越大越快
1254
+ * @property [bloom = false] - 是否泛光
1255
+ * @property [axisY = false] - 是否Y轴朝上
1249
1256
  */
1250
1257
  const WallScroll: string;
1251
1258
  /**
@@ -2513,7 +2520,7 @@ declare class LngLatPoint {
2513
2520
  * 复制一份对象
2514
2521
  * @returns 无
2515
2522
  */
2516
- clone(): void;
2523
+ clone(): LngLatPoint;
2517
2524
  /**
2518
2525
  * 格式化对象内的经纬度的小数位为6位,高度小数位为1位。
2519
2526
  * @returns 当前对象本身,可以链式调用
@@ -4215,9 +4222,6 @@ declare namespace ModelCombine {
4215
4222
  * @param [options.shadows = ShadowMode.ENABLED] - 指定模型是投射还是接收来自光源的阴影。
4216
4223
  * @param [options.imageBasedLightingFactor = new Cartesian2(1.0, 1.0)] - 指定来自基于图像的漫反射和镜面照明的贡献。
4217
4224
  * @param [options.lightColor] - 光的颜色当遮光模型。当undefined场景的浅色被使用代替。
4218
- * @param [options.luminanceAtZenith = 0.2] - 太阳在天顶的亮度,单位是千坎德拉每平方米,用于这个模型的程序环境地图。
4219
- * @param [options.sphericalHarmonicCoefficients] - 三阶球面调和系数用于基于图像的漫射色彩照明。
4220
- * @param [options.specularEnvironmentMaps] - 一个KTX文件的URL,该文件包含高光照明的立方体映射和复杂的高光mipmaps。
4221
4225
  * @param [options.backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;当为false时,禁用背面剔除。
4222
4226
  * @param [options.debugShowBoundingVolume = false] - 仅供调试。查看模型的包围边界球。
4223
4227
  * @param [options.debugWireframe = false] - 仅供调试。查看模型的三角网线框图。
@@ -4255,9 +4259,6 @@ declare class ModelCombine extends BaseCombine {
4255
4259
  shadows?: Cesium.ShadowMode;
4256
4260
  imageBasedLightingFactor?: Cesium.Cartesian2;
4257
4261
  lightColor?: Cesium.Cartesian3;
4258
- luminanceAtZenith?: number;
4259
- sphericalHarmonicCoefficients?: Cesium.Cartesian3[];
4260
- specularEnvironmentMaps?: string;
4261
4262
  backFaceCulling?: boolean;
4262
4263
  debugShowBoundingVolume?: boolean;
4263
4264
  debugWireframe?: boolean;
@@ -5933,6 +5934,10 @@ declare class Popup extends DivGraphic {
5933
5934
  * @returns DIV点对象
5934
5935
  */
5935
5936
  static fromDraw(layer: GraphicLayer, options: any): DivGraphic;
5937
+ /**
5938
+ * 位置坐标 (笛卡尔坐标), 赋值时可以传入LatLngPoint对象
5939
+ */
5940
+ position: Cesium.Cartesian3;
5936
5941
  }
5937
5942
 
5938
5943
  declare namespace Tooltip {
@@ -6246,7 +6251,6 @@ declare class BaseEntity extends BaseGraphic {
6246
6251
  * @param [options.parent] - 要与此实体关联的父实体。
6247
6252
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
6248
6253
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
6249
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
6250
6254
  * @param [options.entity] - 传入外部已经构造好的Entity对象
6251
6255
  * @param [options.hasEdit = true] - 是否允许编辑
6252
6256
  * @param [options.maxCacheCount = 50] - 当使用addDynamicPosition设置为动画轨迹位置时,保留的坐标点数量
@@ -6280,7 +6284,6 @@ declare class BasePointEntity extends BaseEntity {
6280
6284
  parent?: Cesium.Entity;
6281
6285
  onBeforeCreate?: (...params: any[]) => any;
6282
6286
  drawShow?: boolean;
6283
- addHeight?: number;
6284
6287
  entity?: Cesium.Entity;
6285
6288
  hasEdit?: boolean;
6286
6289
  maxCacheCount?: number;
@@ -6401,8 +6404,9 @@ declare class BasePointEntity extends BaseEntity {
6401
6404
  /**
6402
6405
  * 按Cesium.CallbackProperty的方式 更新坐标(更加平滑)
6403
6406
  * @param position - 坐标
6407
+ * @returns 当前坐标
6404
6408
  */
6405
- setCallbackPosition(position: string | any[] | any | Cesium.Cartesian3 | any): void;
6409
+ setCallbackPosition(position: string | any[] | any | Cesium.Cartesian3 | any): Cesium.Cartesian3;
6406
6410
  /**
6407
6411
  * 显示隐藏状态
6408
6412
  */
@@ -6422,7 +6426,6 @@ declare class BasePointEntity extends BaseEntity {
6422
6426
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
6423
6427
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
6424
6428
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
6425
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
6426
6429
  * @param [options.hasEdit = true] - 是否允许编辑
6427
6430
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
6428
6431
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -6449,7 +6452,6 @@ declare class BasePolyEntity extends BaseEntity {
6449
6452
  onBeforeCreate?: (...params: any[]) => any;
6450
6453
  minPointNum?: number;
6451
6454
  maxPointNum?: number;
6452
- addHeight?: number;
6453
6455
  hasEdit?: boolean;
6454
6456
  hasMoveEdit?: boolean;
6455
6457
  hasHeightEdit?: boolean;
@@ -6545,8 +6547,9 @@ declare class BasePolyEntity extends BaseEntity {
6545
6547
  /**
6546
6548
  * 按Cesium.CallbackProperty的方式 更新坐标集合(更加平滑)
6547
6549
  * @param positions - 坐标数组
6550
+ * @returns 当前坐标集合
6548
6551
  */
6549
- setCallbackPositions(positions: string[] | any[][] | LngLatPoint[]): void;
6552
+ setCallbackPositions(positions: string[] | any[][] | LngLatPoint[]): Cesium.Cartesian3[];
6550
6553
  }
6551
6554
 
6552
6555
  declare namespace BillboardEntity {
@@ -6647,7 +6650,6 @@ declare namespace BillboardEntity {
6647
6650
  * @param [options.frameRateHeight = 30] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,多少帧计算一次贴模型高度
6648
6651
  * @param [options.objectsToExclude] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
6649
6652
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
6650
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
6651
6653
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
6652
6654
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
6653
6655
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -6680,7 +6682,6 @@ declare class BillboardEntity extends BasePointEntity {
6680
6682
  frameRateHeight?: number;
6681
6683
  objectsToExclude?: any;
6682
6684
  drawShow?: boolean;
6683
- addHeight?: number;
6684
6685
  popup?: string | any[] | ((...params: any[]) => any);
6685
6686
  popupOptions?: Popup.StyleOptions | any;
6686
6687
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -6814,7 +6815,6 @@ declare namespace BoxEntity {
6814
6815
  * @param [options.parent] - 要与此实体关联的父实体。
6815
6816
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
6816
6817
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
6817
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
6818
6818
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
6819
6819
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
6820
6820
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -6838,7 +6838,6 @@ declare class BoxEntity extends BasePointEntity {
6838
6838
  parent?: Cesium.Entity;
6839
6839
  onBeforeCreate?: (...params: any[]) => any;
6840
6840
  drawShow?: boolean;
6841
- addHeight?: number;
6842
6841
  popup?: string | any[] | ((...params: any[]) => any);
6843
6842
  popupOptions?: Popup.StyleOptions | any;
6844
6843
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -6967,7 +6966,6 @@ declare namespace CanvasLabelEntity {
6967
6966
  * @param [options.parent] - 要与此实体关联的父实体。
6968
6967
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
6969
6968
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
6970
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
6971
6969
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
6972
6970
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
6973
6971
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -6990,7 +6988,6 @@ declare class CanvasLabelEntity extends BasePointEntity {
6990
6988
  parent?: Cesium.Entity;
6991
6989
  onBeforeCreate?: (...params: any[]) => any;
6992
6990
  drawShow?: boolean;
6993
- addHeight?: number;
6994
6991
  popup?: string | any[] | ((...params: any[]) => any);
6995
6992
  popupOptions?: Popup.StyleOptions | any;
6996
6993
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -7100,7 +7097,6 @@ declare namespace CircleEntity {
7100
7097
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
7101
7098
  * @param [options.drawShowRadius = true] - 绘制时,是否显示圆的半径。
7102
7099
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
7103
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
7104
7100
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
7105
7101
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
7106
7102
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -7124,7 +7120,6 @@ declare class CircleEntity extends BasePointEntity {
7124
7120
  onBeforeCreate?: (...params: any[]) => any;
7125
7121
  drawShowRadius?: boolean;
7126
7122
  drawShow?: boolean;
7127
- addHeight?: number;
7128
7123
  popup?: string | any[] | ((...params: any[]) => any);
7129
7124
  popupOptions?: Popup.StyleOptions | any;
7130
7125
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -7490,7 +7485,6 @@ declare namespace CorridorEntity {
7490
7485
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
7491
7486
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
7492
7487
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
7493
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
7494
7488
  * @param [options.hasEdit = true] - 是否允许编辑
7495
7489
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
7496
7490
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -7517,7 +7511,6 @@ declare class CorridorEntity extends BasePolyEntity {
7517
7511
  onBeforeCreate?: (...params: any[]) => any;
7518
7512
  minPointNum?: number;
7519
7513
  maxPointNum?: number;
7520
- addHeight?: number;
7521
7514
  hasEdit?: boolean;
7522
7515
  hasMoveEdit?: boolean;
7523
7516
  hasHeightEdit?: boolean;
@@ -7566,7 +7559,6 @@ declare class CorridorEntity extends BasePolyEntity {
7566
7559
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
7567
7560
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
7568
7561
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
7569
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
7570
7562
  * @param [options.hasEdit = true] - 是否允许编辑
7571
7563
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
7572
7564
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -7593,7 +7585,6 @@ declare class CurveEntity extends PolylineEntity {
7593
7585
  onBeforeCreate?: (...params: any[]) => any;
7594
7586
  minPointNum?: number;
7595
7587
  maxPointNum?: number;
7596
- addHeight?: number;
7597
7588
  hasEdit?: boolean;
7598
7589
  hasMoveEdit?: boolean;
7599
7590
  hasHeightEdit?: boolean;
@@ -7694,7 +7685,6 @@ declare namespace CylinderEntity {
7694
7685
  * @param [options.parent] - 要与此实体关联的父实体。
7695
7686
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
7696
7687
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
7697
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
7698
7688
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
7699
7689
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
7700
7690
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -7718,7 +7708,6 @@ declare class CylinderEntity extends BasePointEntity {
7718
7708
  parent?: Cesium.Entity;
7719
7709
  onBeforeCreate?: (...params: any[]) => any;
7720
7710
  drawShow?: boolean;
7721
- addHeight?: number;
7722
7711
  popup?: string | any[] | ((...params: any[]) => any);
7723
7712
  popupOptions?: Popup.StyleOptions | any;
7724
7713
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -7844,7 +7833,6 @@ declare namespace DivBillboardEntity {
7844
7833
  * @param [options.parent] - 要与此实体关联的父实体。
7845
7834
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
7846
7835
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
7847
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
7848
7836
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
7849
7837
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
7850
7838
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -7867,7 +7855,6 @@ declare class DivBillboardEntity extends BillboardEntity {
7867
7855
  parent?: Cesium.Entity;
7868
7856
  onBeforeCreate?: (...params: any[]) => any;
7869
7857
  drawShow?: boolean;
7870
- addHeight?: number;
7871
7858
  popup?: string | any[] | ((...params: any[]) => any);
7872
7859
  popupOptions?: Popup.StyleOptions | any;
7873
7860
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -8081,7 +8068,6 @@ declare namespace EllipseEntity {
8081
8068
  * @param [options.parent] - 要与此实体关联的父实体。
8082
8069
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
8083
8070
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
8084
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
8085
8071
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
8086
8072
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
8087
8073
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -8104,7 +8090,6 @@ declare class EllipseEntity extends CircleEntity {
8104
8090
  parent?: Cesium.Entity;
8105
8091
  onBeforeCreate?: (...params: any[]) => any;
8106
8092
  drawShow?: boolean;
8107
- addHeight?: number;
8108
8093
  popup?: string | any[] | ((...params: any[]) => any);
8109
8094
  popupOptions?: Popup.StyleOptions | any;
8110
8095
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -8238,14 +8223,13 @@ declare namespace EllipsoidEntity {
8238
8223
  * @param options.style - 样式信息
8239
8224
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
8240
8225
  * @param [options.orientation] - 实体方向
8241
- * @param options.scanPlane - 动态扫描面
8226
+ * @param [options.scanPlane] - 动态扫描面
8242
8227
  * @param [options.availability] - 与该对象关联的可用性(如果有的话)。
8243
8228
  * @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
8244
8229
  * @param [options.viewFrom] - 观察这个物体时建议的初始偏移量。
8245
8230
  * @param [options.parent] - 要与此实体关联的父实体。
8246
8231
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
8247
8232
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
8248
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
8249
8233
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
8250
8234
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
8251
8235
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -8263,14 +8247,13 @@ declare class EllipsoidEntity extends BasePointEntity {
8263
8247
  style: EllipsoidEntity.StyleOptions | any;
8264
8248
  attr?: any;
8265
8249
  orientation?: Cesium.Property;
8266
- scanPlane: EllipsoidEntity.ScanPlaneOptions | EllipsoidEntity.ScanPlaneOptions[];
8250
+ scanPlane?: EllipsoidEntity.ScanPlaneOptions | EllipsoidEntity.ScanPlaneOptions[];
8267
8251
  availability?: Cesium.TimeIntervalCollection;
8268
8252
  description?: Cesium.Property | string;
8269
8253
  viewFrom?: Cesium.Property;
8270
8254
  parent?: Cesium.Entity;
8271
8255
  onBeforeCreate?: (...params: any[]) => any;
8272
8256
  drawShow?: boolean;
8273
- addHeight?: number;
8274
8257
  popup?: string | any[] | ((...params: any[]) => any);
8275
8258
  popupOptions?: Popup.StyleOptions | any;
8276
8259
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -8415,7 +8398,6 @@ declare namespace FontBillboardEntity {
8415
8398
  * @param [options.parent] - 要与此实体关联的父实体。
8416
8399
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
8417
8400
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
8418
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
8419
8401
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
8420
8402
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
8421
8403
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -8438,7 +8420,6 @@ declare class FontBillboardEntity extends BasePointEntity {
8438
8420
  parent?: Cesium.Entity;
8439
8421
  onBeforeCreate?: (...params: any[]) => any;
8440
8422
  drawShow?: boolean;
8441
- addHeight?: number;
8442
8423
  popup?: string | any[] | ((...params: any[]) => any);
8443
8424
  popupOptions?: Popup.StyleOptions | any;
8444
8425
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -8561,7 +8542,6 @@ declare namespace LabelEntity {
8561
8542
  * @param [options.parent] - 要与此实体关联的父实体。
8562
8543
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
8563
8544
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
8564
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
8565
8545
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
8566
8546
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
8567
8547
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -8584,7 +8564,6 @@ declare class LabelEntity extends BasePointEntity {
8584
8564
  parent?: Cesium.Entity;
8585
8565
  onBeforeCreate?: (...params: any[]) => any;
8586
8566
  drawShow?: boolean;
8587
- addHeight?: number;
8588
8567
  popup?: string | any[] | ((...params: any[]) => any);
8589
8568
  popupOptions?: Popup.StyleOptions | any;
8590
8569
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -8668,7 +8647,6 @@ declare namespace ModelEntity {
8668
8647
  * @property [incrementallyLoadTextures = true] - 确定模型加载后纹理是否会继续流进来。
8669
8648
  * @property [runAnimations = true] - 指定模型中指定的glTF动画是否应该启动。
8670
8649
  * @property [clampAnimations = true] - 指定在没有关键帧的情况下,glTF动画是否应该保持最后一个姿势。
8671
- * @property [imageBasedLightingFactor = new Cartesian2(1.0, 1.0)] - 指定来自基于图像的漫反射和镜面照明的贡献。
8672
8650
  * @property [lightColor] - 在为模型着色时指定光的颜色的属性。当undefined场景的浅色被使用代替。
8673
8651
  * @property [nodeTransformations] - 一个对象,其中键是节点的名称,值是{@link TranslationRotationScale}属性,描述要应用到该节点的转换。该转换是在节点的现有转换之后(如glTF中指定的那样)应用的,并且不会替换节点的现有转换。
8674
8652
  * @property [articulations] - An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties.
@@ -8709,7 +8687,6 @@ declare namespace ModelEntity {
8709
8687
  incrementallyLoadTextures?: boolean;
8710
8688
  runAnimations?: boolean;
8711
8689
  clampAnimations?: boolean;
8712
- imageBasedLightingFactor?: Cesium.Cartesian2;
8713
8690
  lightColor?: Cesium.Color;
8714
8691
  nodeTransformations?: Cesium.PropertyBag | {
8715
8692
  [key: string]: Cesium.TranslationRotationScale;
@@ -8782,7 +8759,6 @@ declare namespace ModelEntity {
8782
8759
  * @param [options.referenceFrame = Cesium.ReferenceFrame.FIXED] - 当使用addDynamicPosition设置为动画轨迹位置时,position位置被定义的参考系。
8783
8760
  * @param [options.numberOfDerivatives = 0] - 当使用addDynamicPosition设置为动画轨迹位置时,每个位置的导数的数量;即速度、加速度等。
8784
8761
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
8785
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
8786
8762
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
8787
8763
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
8788
8764
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -8818,7 +8794,6 @@ declare class ModelEntity extends BasePointEntity {
8818
8794
  referenceFrame?: Cesium.ReferenceFrame;
8819
8795
  numberOfDerivatives?: number;
8820
8796
  drawShow?: boolean;
8821
- addHeight?: number;
8822
8797
  popup?: string | any[] | ((...params: any[]) => any);
8823
8798
  popupOptions?: Popup.StyleOptions | any;
8824
8799
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -9171,7 +9146,6 @@ declare namespace PlaneEntity {
9171
9146
  * @param [options.parent] - 要与此实体关联的父实体。
9172
9147
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9173
9148
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
9174
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
9175
9149
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
9176
9150
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
9177
9151
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -9195,7 +9169,6 @@ declare class PlaneEntity extends BasePointEntity {
9195
9169
  parent?: Cesium.Entity;
9196
9170
  onBeforeCreate?: (...params: any[]) => any;
9197
9171
  drawShow?: boolean;
9198
- addHeight?: number;
9199
9172
  popup?: string | any[] | ((...params: any[]) => any);
9200
9173
  popupOptions?: Popup.StyleOptions | any;
9201
9174
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -9298,7 +9271,6 @@ declare namespace PointEntity {
9298
9271
  * @param [options.frameRateHeight = 30] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,多少帧计算一次贴模型高度
9299
9272
  * @param [options.objectsToExclude] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
9300
9273
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
9301
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
9302
9274
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
9303
9275
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
9304
9276
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -9331,7 +9303,6 @@ declare class PointEntity extends BasePointEntity {
9331
9303
  frameRateHeight?: number;
9332
9304
  objectsToExclude?: any;
9333
9305
  drawShow?: boolean;
9334
- addHeight?: number;
9335
9306
  popup?: string | any[] | ((...params: any[]) => any);
9336
9307
  popupOptions?: Popup.StyleOptions | any;
9337
9308
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -9457,7 +9428,6 @@ declare namespace PolygonEntity {
9457
9428
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9458
9429
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
9459
9430
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
9460
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
9461
9431
  * @param [options.hasEdit = true] - 是否允许编辑
9462
9432
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
9463
9433
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -9484,7 +9454,6 @@ declare class PolygonEntity extends BasePolyEntity {
9484
9454
  onBeforeCreate?: (...params: any[]) => any;
9485
9455
  minPointNum?: number;
9486
9456
  maxPointNum?: number;
9487
- addHeight?: number;
9488
9457
  hasEdit?: boolean;
9489
9458
  hasMoveEdit?: boolean;
9490
9459
  hasHeightEdit?: boolean;
@@ -9507,6 +9476,10 @@ declare class PolygonEntity extends BasePolyEntity {
9507
9476
  * 编辑处理类
9508
9477
  */
9509
9478
  readonly EditClass: EditPolygon;
9479
+ /**
9480
+ * 周长 距离(单位:米)
9481
+ */
9482
+ readonly distance: number;
9510
9483
  /**
9511
9484
  * 对应的Cesium面entity内部位置对象
9512
9485
  */
@@ -9552,8 +9525,9 @@ declare class PolygonEntity extends BasePolyEntity {
9552
9525
  /**
9553
9526
  * 按Cesium.CallbackProperty的方式 更新坐标集合(更加平滑)
9554
9527
  * @param positions - 坐标数组
9528
+ * @returns 当前坐标集合
9555
9529
  */
9556
- setCallbackPositions(positions: string[] | any[][] | LngLatPoint[]): void;
9530
+ setCallbackPositions(positions: string[] | any[][] | LngLatPoint[]): Cesium.Cartesian3[];
9557
9531
  }
9558
9532
 
9559
9533
  declare namespace PolylineEntity {
@@ -9638,7 +9612,6 @@ declare namespace PolylineEntity {
9638
9612
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9639
9613
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
9640
9614
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
9641
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
9642
9615
  * @param [options.hasEdit = true] - 是否允许编辑
9643
9616
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
9644
9617
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -9665,7 +9638,6 @@ declare class PolylineEntity extends BasePolyEntity {
9665
9638
  onBeforeCreate?: (...params: any[]) => any;
9666
9639
  minPointNum?: number;
9667
9640
  maxPointNum?: number;
9668
- addHeight?: number;
9669
9641
  hasEdit?: boolean;
9670
9642
  hasMoveEdit?: boolean;
9671
9643
  hasHeightEdit?: boolean;
@@ -9760,7 +9732,6 @@ declare namespace PolylineVolumeEntity {
9760
9732
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9761
9733
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
9762
9734
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
9763
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
9764
9735
  * @param [options.hasEdit = true] - 是否允许编辑
9765
9736
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
9766
9737
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -9787,7 +9758,6 @@ declare class PolylineVolumeEntity extends BasePolyEntity {
9787
9758
  onBeforeCreate?: (...params: any[]) => any;
9788
9759
  minPointNum?: number;
9789
9760
  maxPointNum?: number;
9790
- addHeight?: number;
9791
9761
  hasEdit?: boolean;
9792
9762
  hasMoveEdit?: boolean;
9793
9763
  hasHeightEdit?: boolean;
@@ -9911,7 +9881,6 @@ declare namespace RectangleEntity {
9911
9881
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9912
9882
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
9913
9883
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
9914
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
9915
9884
  * @param [options.hasEdit = true] - 是否允许编辑
9916
9885
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
9917
9886
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -9939,7 +9908,6 @@ declare class RectangleEntity extends BasePolyEntity {
9939
9908
  onBeforeCreate?: (...params: any[]) => any;
9940
9909
  minPointNum?: number;
9941
9910
  maxPointNum?: number;
9942
- addHeight?: number;
9943
9911
  hasEdit?: boolean;
9944
9912
  hasMoveEdit?: boolean;
9945
9913
  hasHeightEdit?: boolean;
@@ -9974,6 +9942,10 @@ declare class RectangleEntity extends BasePolyEntity {
9974
9942
  * 坐标数据对应的矩形边界对象
9975
9943
  */
9976
9944
  rectangle: Cesium.Rectangle;
9945
+ /**
9946
+ * 周长 距离(单位:米)
9947
+ */
9948
+ readonly distance: number;
9977
9949
  /**
9978
9950
  * 将矢量数据导出为GeoJSON格式规范对象。
9979
9951
  * @param [options] - 参数对象:
@@ -10026,10 +9998,6 @@ declare class RectangleEntity extends BasePolyEntity {
10026
9998
  * 中心点坐标 (笛卡尔坐标)
10027
9999
  */
10028
10000
  readonly center: Cesium.Cartesian3;
10029
- /**
10030
- * 距离(单位:米)
10031
- */
10032
- readonly distance: number;
10033
10001
  /**
10034
10002
  * 面积(单位:平方米)
10035
10003
  */
@@ -10166,7 +10134,6 @@ declare namespace RectangularSensor {
10166
10134
  * @param [options.parent] - 要与此实体关联的父实体。
10167
10135
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10168
10136
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
10169
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
10170
10137
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10171
10138
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10172
10139
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -10190,7 +10157,6 @@ declare class RectangularSensor extends BasePointEntity {
10190
10157
  parent?: Cesium.Entity;
10191
10158
  onBeforeCreate?: (...params: any[]) => any;
10192
10159
  drawShow?: boolean;
10193
- addHeight?: number;
10194
10160
  popup?: string | any[] | ((...params: any[]) => any);
10195
10161
  popupOptions?: Popup.StyleOptions | any;
10196
10162
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -10457,7 +10423,6 @@ declare namespace WallEntity {
10457
10423
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10458
10424
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
10459
10425
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
10460
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
10461
10426
  * @param [options.hasEdit = true] - 是否允许编辑
10462
10427
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
10463
10428
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -10484,7 +10449,6 @@ declare class WallEntity extends BasePolyEntity {
10484
10449
  onBeforeCreate?: (...params: any[]) => any;
10485
10450
  minPointNum?: number;
10486
10451
  maxPointNum?: number;
10487
- addHeight?: number;
10488
10452
  hasEdit?: boolean;
10489
10453
  hasMoveEdit?: boolean;
10490
10454
  hasHeightEdit?: boolean;
@@ -10532,7 +10496,6 @@ declare class WallEntity extends BasePolyEntity {
10532
10496
  * @param [options.parent] - 要与此实体关联的父实体。
10533
10497
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10534
10498
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
10535
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
10536
10499
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10537
10500
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10538
10501
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -10555,7 +10518,6 @@ declare class AttackArrow extends PolygonEntity {
10555
10518
  parent?: Cesium.Entity;
10556
10519
  onBeforeCreate?: (...params: any[]) => any;
10557
10520
  hasMoveEdit?: boolean;
10558
- addHeight?: number;
10559
10521
  popup?: string | any[] | ((...params: any[]) => any);
10560
10522
  popupOptions?: Popup.StyleOptions | any;
10561
10523
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -10595,7 +10557,6 @@ declare class AttackArrow extends PolygonEntity {
10595
10557
  * @param [options.parent] - 要与此实体关联的父实体。
10596
10558
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10597
10559
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
10598
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
10599
10560
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10600
10561
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10601
10562
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -10618,7 +10579,6 @@ declare class AttackArrowPW extends PolygonEntity {
10618
10579
  parent?: Cesium.Entity;
10619
10580
  onBeforeCreate?: (...params: any[]) => any;
10620
10581
  hasMoveEdit?: boolean;
10621
- addHeight?: number;
10622
10582
  popup?: string | any[] | ((...params: any[]) => any);
10623
10583
  popupOptions?: Popup.StyleOptions | any;
10624
10584
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -10658,7 +10618,6 @@ declare class AttackArrowPW extends PolygonEntity {
10658
10618
  * @param [options.parent] - 要与此实体关联的父实体。
10659
10619
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10660
10620
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
10661
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
10662
10621
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10663
10622
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10664
10623
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -10681,7 +10640,6 @@ declare class AttackArrowYW extends PolygonEntity {
10681
10640
  parent?: Cesium.Entity;
10682
10641
  onBeforeCreate?: (...params: any[]) => any;
10683
10642
  hasMoveEdit?: boolean;
10684
- addHeight?: number;
10685
10643
  popup?: string | any[] | ((...params: any[]) => any);
10686
10644
  popupOptions?: Popup.StyleOptions | any;
10687
10645
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -10721,7 +10679,6 @@ declare class AttackArrowYW extends PolygonEntity {
10721
10679
  * @param [options.parent] - 要与此实体关联的父实体。
10722
10680
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10723
10681
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
10724
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
10725
10682
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10726
10683
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10727
10684
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -10744,7 +10701,6 @@ declare class CloseVurve extends PolygonEntity {
10744
10701
  parent?: Cesium.Entity;
10745
10702
  onBeforeCreate?: (...params: any[]) => any;
10746
10703
  hasMoveEdit?: boolean;
10747
- addHeight?: number;
10748
10704
  popup?: string | any[] | ((...params: any[]) => any);
10749
10705
  popupOptions?: Popup.StyleOptions | any;
10750
10706
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -10784,7 +10740,6 @@ declare class CloseVurve extends PolygonEntity {
10784
10740
  * @param [options.parent] - 要与此实体关联的父实体。
10785
10741
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10786
10742
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
10787
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
10788
10743
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10789
10744
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10790
10745
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -10807,7 +10762,6 @@ declare class DoubleArrow extends PolygonEntity {
10807
10762
  parent?: Cesium.Entity;
10808
10763
  onBeforeCreate?: (...params: any[]) => any;
10809
10764
  hasMoveEdit?: boolean;
10810
- addHeight?: number;
10811
10765
  popup?: string | any[] | ((...params: any[]) => any);
10812
10766
  popupOptions?: Popup.StyleOptions | any;
10813
10767
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -10859,7 +10813,6 @@ declare class EditSector extends EditPolygon {
10859
10813
  * @param [options.parent] - 要与此实体关联的父实体。
10860
10814
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10861
10815
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
10862
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
10863
10816
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10864
10817
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10865
10818
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -10882,7 +10835,6 @@ declare class FineArrow extends PolygonEntity {
10882
10835
  parent?: Cesium.Entity;
10883
10836
  onBeforeCreate?: (...params: any[]) => any;
10884
10837
  hasMoveEdit?: boolean;
10885
- addHeight?: number;
10886
10838
  popup?: string | any[] | ((...params: any[]) => any);
10887
10839
  popupOptions?: Popup.StyleOptions | any;
10888
10840
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -10922,7 +10874,6 @@ declare class FineArrow extends PolygonEntity {
10922
10874
  * @param [options.parent] - 要与此实体关联的父实体。
10923
10875
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10924
10876
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
10925
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
10926
10877
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10927
10878
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10928
10879
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -10945,7 +10896,6 @@ declare class FineArrowYW extends PolygonEntity {
10945
10896
  parent?: Cesium.Entity;
10946
10897
  onBeforeCreate?: (...params: any[]) => any;
10947
10898
  hasMoveEdit?: boolean;
10948
- addHeight?: number;
10949
10899
  popup?: string | any[] | ((...params: any[]) => any);
10950
10900
  popupOptions?: Popup.StyleOptions | any;
10951
10901
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -10985,7 +10935,6 @@ declare class FineArrowYW extends PolygonEntity {
10985
10935
  * @param [options.parent] - 要与此实体关联的父实体。
10986
10936
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10987
10937
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
10988
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
10989
10938
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10990
10939
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10991
10940
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -11008,7 +10957,6 @@ declare class GatheringPlace extends PolygonEntity {
11008
10957
  parent?: Cesium.Entity;
11009
10958
  onBeforeCreate?: (...params: any[]) => any;
11010
10959
  hasMoveEdit?: boolean;
11011
- addHeight?: number;
11012
10960
  popup?: string | any[] | ((...params: any[]) => any);
11013
10961
  popupOptions?: Popup.StyleOptions | any;
11014
10962
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -11048,7 +10996,6 @@ declare class GatheringPlace extends PolygonEntity {
11048
10996
  * @param [options.parent] - 要与此实体关联的父实体。
11049
10997
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11050
10998
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
11051
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11052
10999
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
11053
11000
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
11054
11001
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -11071,7 +11018,6 @@ declare class IsosTriangle extends PolygonEntity {
11071
11018
  parent?: Cesium.Entity;
11072
11019
  onBeforeCreate?: (...params: any[]) => any;
11073
11020
  hasMoveEdit?: boolean;
11074
- addHeight?: number;
11075
11021
  popup?: string | any[] | ((...params: any[]) => any);
11076
11022
  popupOptions?: Popup.StyleOptions | any;
11077
11023
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -11111,7 +11057,6 @@ declare class IsosTriangle extends PolygonEntity {
11111
11057
  * @param [options.parent] - 要与此实体关联的父实体。
11112
11058
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11113
11059
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
11114
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11115
11060
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
11116
11061
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
11117
11062
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -11134,7 +11079,6 @@ declare class Lune extends PolygonEntity {
11134
11079
  parent?: Cesium.Entity;
11135
11080
  onBeforeCreate?: (...params: any[]) => any;
11136
11081
  hasMoveEdit?: boolean;
11137
- addHeight?: number;
11138
11082
  popup?: string | any[] | ((...params: any[]) => any);
11139
11083
  popupOptions?: Popup.StyleOptions | any;
11140
11084
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -11177,7 +11121,6 @@ declare class Lune extends PolygonEntity {
11177
11121
  * @param [options.parent] - 要与此实体关联的父实体。
11178
11122
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11179
11123
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
11180
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11181
11124
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
11182
11125
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
11183
11126
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -11204,7 +11147,6 @@ declare class Regular extends PolygonEntity {
11204
11147
  parent?: Cesium.Entity;
11205
11148
  onBeforeCreate?: (...params: any[]) => any;
11206
11149
  hasMoveEdit?: boolean;
11207
- addHeight?: number;
11208
11150
  popup?: string | any[] | ((...params: any[]) => any);
11209
11151
  popupOptions?: Popup.StyleOptions | any;
11210
11152
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -11262,7 +11204,6 @@ declare class Regular extends PolygonEntity {
11262
11204
  * @param [options.parent] - 要与此实体关联的父实体。
11263
11205
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11264
11206
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
11265
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11266
11207
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
11267
11208
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
11268
11209
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -11289,7 +11230,6 @@ declare class Sector extends PolygonEntity {
11289
11230
  parent?: Cesium.Entity;
11290
11231
  onBeforeCreate?: (...params: any[]) => any;
11291
11232
  hasMoveEdit?: boolean;
11292
- addHeight?: number;
11293
11233
  popup?: string | any[] | ((...params: any[]) => any);
11294
11234
  popupOptions?: Popup.StyleOptions | any;
11295
11235
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -11344,7 +11284,6 @@ declare class Sector extends PolygonEntity {
11344
11284
  * @param [options.parent] - 要与此实体关联的父实体。
11345
11285
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11346
11286
  * @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
11347
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11348
11287
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
11349
11288
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
11350
11289
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -11367,7 +11306,6 @@ declare class StraightArrow extends PolygonEntity {
11367
11306
  parent?: Cesium.Entity;
11368
11307
  onBeforeCreate?: (...params: any[]) => any;
11369
11308
  hasMoveEdit?: boolean;
11370
- addHeight?: number;
11371
11309
  popup?: string | any[] | ((...params: any[]) => any);
11372
11310
  popupOptions?: Popup.StyleOptions | any;
11373
11311
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -11412,7 +11350,6 @@ declare class StraightArrow extends PolygonEntity {
11412
11350
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11413
11351
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
11414
11352
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
11415
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11416
11353
  * @param [options.hasEdit = true] - 是否允许编辑
11417
11354
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
11418
11355
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -11442,7 +11379,6 @@ declare class AngleMeasure extends PolylineEntity {
11442
11379
  onBeforeCreate?: (...params: any[]) => any;
11443
11380
  minPointNum?: number;
11444
11381
  maxPointNum?: number;
11445
- addHeight?: number;
11446
11382
  hasEdit?: boolean;
11447
11383
  hasMoveEdit?: boolean;
11448
11384
  hasHeightEdit?: boolean;
@@ -11492,7 +11428,6 @@ declare class AngleMeasure extends PolylineEntity {
11492
11428
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11493
11429
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
11494
11430
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
11495
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11496
11431
  * @param [options.hasEdit = true] - 是否允许编辑
11497
11432
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
11498
11433
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -11521,7 +11456,6 @@ declare class AreaMeasure extends PolygonEntity {
11521
11456
  onBeforeCreate?: (...params: any[]) => any;
11522
11457
  minPointNum?: number;
11523
11458
  maxPointNum?: number;
11524
- addHeight?: number;
11525
11459
  hasEdit?: boolean;
11526
11460
  hasMoveEdit?: boolean;
11527
11461
  hasHeightEdit?: boolean;
@@ -11577,7 +11511,6 @@ declare class AreaMeasure extends PolygonEntity {
11577
11511
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11578
11512
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
11579
11513
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
11580
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11581
11514
  * @param [options.hasEdit = true] - 是否允许编辑
11582
11515
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
11583
11516
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -11606,7 +11539,6 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
11606
11539
  onBeforeCreate?: (...params: any[]) => any;
11607
11540
  minPointNum?: number;
11608
11541
  maxPointNum?: number;
11609
- addHeight?: number;
11610
11542
  hasEdit?: boolean;
11611
11543
  hasMoveEdit?: boolean;
11612
11544
  hasHeightEdit?: boolean;
@@ -11646,7 +11578,6 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
11646
11578
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11647
11579
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
11648
11580
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
11649
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11650
11581
  * @param [options.hasEdit = true] - 是否允许编辑
11651
11582
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
11652
11583
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -11675,7 +11606,6 @@ declare class DistanceMeasure extends PolylineEntity {
11675
11606
  onBeforeCreate?: (...params: any[]) => any;
11676
11607
  minPointNum?: number;
11677
11608
  maxPointNum?: number;
11678
- addHeight?: number;
11679
11609
  hasEdit?: boolean;
11680
11610
  hasMoveEdit?: boolean;
11681
11611
  hasHeightEdit?: boolean;
@@ -11725,7 +11655,6 @@ declare class DistanceMeasure extends PolylineEntity {
11725
11655
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11726
11656
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
11727
11657
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
11728
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11729
11658
  * @param [options.hasEdit = true] - 是否允许编辑
11730
11659
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
11731
11660
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -11754,7 +11683,6 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
11754
11683
  onBeforeCreate?: (...params: any[]) => any;
11755
11684
  minPointNum?: number;
11756
11685
  maxPointNum?: number;
11757
- addHeight?: number;
11758
11686
  hasEdit?: boolean;
11759
11687
  hasMoveEdit?: boolean;
11760
11688
  hasHeightEdit?: boolean;
@@ -11794,7 +11722,6 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
11794
11722
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11795
11723
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
11796
11724
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
11797
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11798
11725
  * @param [options.hasEdit = true] - 是否允许编辑
11799
11726
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
11800
11727
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -11823,7 +11750,6 @@ declare class HeightMeasure extends PolylineEntity {
11823
11750
  onBeforeCreate?: (...params: any[]) => any;
11824
11751
  minPointNum?: number;
11825
11752
  maxPointNum?: number;
11826
- addHeight?: number;
11827
11753
  hasEdit?: boolean;
11828
11754
  hasMoveEdit?: boolean;
11829
11755
  hasHeightEdit?: boolean;
@@ -11873,7 +11799,6 @@ declare class HeightMeasure extends PolylineEntity {
11873
11799
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11874
11800
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
11875
11801
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
11876
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11877
11802
  * @param [options.hasEdit = true] - 是否允许编辑
11878
11803
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
11879
11804
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
@@ -11902,7 +11827,6 @@ declare class HeightTriangleMeasure extends HeightMeasure {
11902
11827
  onBeforeCreate?: (...params: any[]) => any;
11903
11828
  minPointNum?: number;
11904
11829
  maxPointNum?: number;
11905
- addHeight?: number;
11906
11830
  hasEdit?: boolean;
11907
11831
  hasMoveEdit?: boolean;
11908
11832
  hasHeightEdit?: boolean;
@@ -11945,7 +11869,6 @@ declare class HeightTriangleMeasure extends HeightMeasure {
11945
11869
  * @param [options.parent] - 要与此实体关联的父实体。
11946
11870
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11947
11871
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
11948
- * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
11949
11872
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
11950
11873
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
11951
11874
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -11968,7 +11891,6 @@ declare class PointMeasure extends PointEntity {
11968
11891
  parent?: Cesium.Entity;
11969
11892
  onBeforeCreate?: (...params: any[]) => any;
11970
11893
  drawShow?: boolean;
11971
- addHeight?: number;
11972
11894
  popup?: string | any[] | ((...params: any[]) => any);
11973
11895
  popupOptions?: Popup.StyleOptions | any;
11974
11896
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -13512,6 +13434,7 @@ declare namespace DiffuseWall {
13512
13434
  * @property [color = "#3388ff"] - 颜色
13513
13435
  * @property [opacity = 1.0] - 透明度,取值范围:0.0-1.0
13514
13436
  * @property [speed = 10] - 扩散的速度,值越大越快
13437
+ * @property [maxScale = 1] - 扩散的最大比例
13515
13438
  * @property [shadows = Cesium.ShadowMode.DISABLED] - 指定对象是投射还是接收来自光源的阴影。
13516
13439
  */
13517
13440
  type StyleOptions = any | {
@@ -13519,6 +13442,7 @@ declare namespace DiffuseWall {
13519
13442
  color?: string | Cesium.Color;
13520
13443
  opacity?: number;
13521
13444
  speed?: number;
13445
+ maxScale?: number;
13522
13446
  shadows?: Cesium.ShadowMode;
13523
13447
  };
13524
13448
  }
@@ -14111,7 +14035,6 @@ declare namespace ModelPrimitive {
14111
14035
  * @property [incrementallyLoadTextures = true] - 确定模型加载后纹理是否会继续流进来。
14112
14036
  * @property [runAnimations = true] - 指定模型中指定的glTF动画是否应该启动。
14113
14037
  * @property [clampAnimations = true] - 指定在没有关键帧的情况下,glTF动画是否应该保持最后一个姿势。
14114
- * @property [imageBasedLightingFactor = new Cartesian2(1.0, 1.0)] - 指定来自基于图像的漫反射和镜面照明的贡献。
14115
14038
  * @property [lightColor] - 在为模型着色时指定光的颜色的属性。当undefined场景的浅色被使用代替。
14116
14039
  * @property [nodeTransformations] - 一个对象,其中键是节点的名称,值是{@link TranslationRotationScale}属性,描述要应用到该节点的转换。该转换是在节点的现有转换之后(如glTF中指定的那样)应用的,并且不会替换节点的现有转换。
14117
14040
  * @property [articulations] - An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties.
@@ -14170,7 +14093,6 @@ declare namespace ModelPrimitive {
14170
14093
  incrementallyLoadTextures?: boolean;
14171
14094
  runAnimations?: boolean;
14172
14095
  clampAnimations?: boolean;
14173
- imageBasedLightingFactor?: Cesium.Cartesian2;
14174
14096
  lightColor?: Cesium.Color;
14175
14097
  nodeTransformations?: Cesium.PropertyBag | {
14176
14098
  [key: string]: Cesium.TranslationRotationScale;
@@ -14763,6 +14685,10 @@ declare class PolygonPrimitive extends BasePolyPrimitive {
14763
14685
  eventParent?: BaseClass | boolean;
14764
14686
  allowDrillPick?: boolean | ((...params: any[]) => any);
14765
14687
  });
14688
+ /**
14689
+ * 周长 距离(单位:米)
14690
+ */
14691
+ readonly distance: number;
14766
14692
  /**
14767
14693
  * 位置坐标数组 (笛卡尔坐标), 赋值时可以传入LatLngPoint数组对象
14768
14694
  */
@@ -15185,6 +15111,10 @@ declare class RectanglePrimitive extends BasePolyPrimitive {
15185
15111
  * 坐标数据对应的矩形边界对象
15186
15112
  */
15187
15113
  rectangle: Cesium.Rectangle;
15114
+ /**
15115
+ * 周长 距离(单位:米)
15116
+ */
15117
+ readonly distance: number;
15188
15118
  /**
15189
15119
  * 获取数据的矩形边界
15190
15120
  * @param [options] - 控制参数
@@ -15984,7 +15914,6 @@ declare namespace DynamicRoamLine {
15984
15914
  * @param options - 参数对象,包括以下:
15985
15915
  * @param [options.model] - 设置是否显示 gltf模型 和对应的样式, 还额外包括:<br />
15986
15916
  * // * @param {Boolean} [options.model.noPitchRoll] 设置为true时,可以设置模型只动态更改方向,内部固定模型的Pitch和Roll方向值为0
15987
- * @param [options.model] - 设置是否显示 gltf模型 和对应的样式
15988
15917
  * @param [options.label] - 设置是否显示 文本 和对应的样式
15989
15918
  * @param [options.billboard] - 设置是否显示 图标 和对应的样式,如果不设置gltf模型时,可以选择该项。
15990
15919
  * @param [options.point] - 设置是否显示 图标 和对应的样式,如果不设置gltf模型时,可以选择该项。
@@ -16029,7 +15958,6 @@ declare namespace DynamicRoamLine {
16029
15958
  */
16030
15959
  declare class DynamicRoamLine extends BaseRoamLine {
16031
15960
  constructor(options: {
16032
- model?: ModelEntity.StyleOptions | any;
16033
15961
  model?: ModelEntity.StyleOptions | any;
16034
15962
  label?: LabelEntity.StyleOptions | any;
16035
15963
  billboard?: BillboardEntity.StyleOptions | any;
@@ -16573,7 +16501,7 @@ declare class BaseGraphicLayer extends BaseLayer {
16573
16501
  * callback: function (e) {
16574
16502
  * let graphic = e.graphic
16575
16503
  * let strDis = mars3d.MeasureUtil.formatDistance(graphic.distance)
16576
- * haoutil.alert('该对象的长度为:' + strDis)
16504
+ * alert('该对象的长度为:' + strDis)
16577
16505
  * },
16578
16506
  * },
16579
16507
  * ])
@@ -19151,11 +19079,7 @@ declare namespace TilesetLayer {
19151
19079
  * @param [options.clippingPlanes] - {@link Cesium.ClippingPlaneCollection}用于选择性地禁用tile集的渲染。
19152
19080
  * @param [options.classificationType] - 确定地形、3D贴图或两者都将被这个贴图集分类。有关限制和限制的详细信息,请参阅{@link cesium3dtilesset #classificationType}。
19153
19081
  * @param [options.pointCloudShading] - 基于几何误差和光照构造一个{@link Cesium.PointCloudShading}对象来控制点衰减的选项。
19154
- * @param [options.imageBasedLightingFactor = new Cartesian2(1.0, 1.0)] - 缩放来自地球、天空、大气和星星天空盒的漫反射和高光图像照明。
19155
19082
  * @param [options.lightColor] - 光的颜色当遮光模型。当undefined场景的浅色被使用代替。
19156
- * @param [options.luminanceAtZenith = 0.2] - 太阳在天顶的亮度,单位是千坎德拉每平方米,用于这个模型的程序环境地图。
19157
- * @param [options.sphericalHarmonicCoefficients] - 三阶球面调和系数用于基于图像的漫射色彩照明。
19158
- * @param [options.specularEnvironmentMaps] - 一个KTX文件的URL,该文件包含高光照明的立方体映射和复杂的高光mipmaps。
19159
19083
  * @param [options.backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;当为false时,禁用背面剔除。
19160
19084
  * @param [options.debugHeatmapTilePropertyName] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;作为热图着色的tile变量。所有渲染的贴图都将相对于其他指定的变量值着色。
19161
19085
  * @param [options.pickPrimitive] - 要在拾取过程中呈现的原语,而不是tile集合。
@@ -19242,11 +19166,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
19242
19166
  clippingPlanes?: Cesium.ClippingPlaneCollection;
19243
19167
  classificationType?: Cesium.ClassificationType;
19244
19168
  pointCloudShading?: any;
19245
- imageBasedLightingFactor?: Cesium.Cartesian2;
19246
19169
  lightColor?: Cesium.Cartesian3;
19247
- luminanceAtZenith?: number;
19248
- sphericalHarmonicCoefficients?: Cesium.Cartesian3[];
19249
- specularEnvironmentMaps?: string;
19250
19170
  backFaceCulling?: boolean;
19251
19171
  debugHeatmapTilePropertyName?: string;
19252
19172
  pickPrimitive?: any;
@@ -19447,6 +19367,10 @@ declare class TilesetLayer extends BaseGraphicLayer {
19447
19367
  * @returns 当前对象本身,可以链式调用
19448
19368
  */
19449
19369
  closePopup(): BaseGraphicLayer;
19370
+ /**
19371
+ * 透明度,取值范围:0.0-1.0
19372
+ */
19373
+ opacity: number;
19450
19374
  /**
19451
19375
  * 飞行定位至图层数据所在的视角
19452
19376
  * @param [options = {}] - 参数对象:
@@ -19487,6 +19411,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
19487
19411
  * @param [options.parameters] - 要在URL中 传递给WFS服务GetFeature请求的其他参数。
19488
19412
  * @param [options.parameters.maxFeatures] - 返回结果最大数量
19489
19413
  * @param [options.parameters.cql_filter] - 筛选服务数据的[SQL语句]{@link https://docs.geoserver.org/2.12.2/user/services/wfs/vendor.html#wfs-vendor-parameters}
19414
+ * @param [options.parameters.sortBy] - 排序的属性名称,默认升序,降序时+D
19490
19415
  * @param [options.parameters.service = 'WFS'] - 服务类型
19491
19416
  * @param [options.parameters.version = '1.0.0'] - 服务版本
19492
19417
  * @param [options.geometryName = 'the_geom'] - geometry字段名称
@@ -19565,6 +19490,7 @@ declare class WfsLayer extends LodGraphicLayer {
19565
19490
  parameters?: {
19566
19491
  maxFeatures?: number;
19567
19492
  cql_filter?: string;
19493
+ sortBy?: string;
19568
19494
  service?: string;
19569
19495
  version?: string;
19570
19496
  };
@@ -23960,11 +23886,13 @@ declare class Map extends BaseClass {
23960
23886
  * @param [options] - 参数对象,包括以下:
23961
23887
  * @param [options.basemaps] - 默认不比较及处理,true:返回所有basemps中配置图层,false:排除所有所有basemps中配置图层
23962
23888
  * @param [options.layers] - 默认不比较及处理,true:返回所有operationallayers中配置图层,false:排除所有operationallayers中配置图层
23889
+ * @param [options.childs = true] - 是否获取GroupLayer内的子图层
23963
23890
  * @returns 图层数组
23964
23891
  */
23965
23892
  getLayers(options?: {
23966
23893
  basemaps?: boolean;
23967
23894
  layers?: boolean;
23895
+ childs?: boolean;
23968
23896
  }): BaseLayer[] | any[];
23969
23897
  /**
23970
23898
  * 获取所有basemps底图图层
@@ -24137,10 +24065,10 @@ declare class Map extends BaseClass {
24137
24065
  * @param cameraView - 飞行参数
24138
24066
  * @param cameraView.lng - 经度值, 180 - 180
24139
24067
  * @param cameraView.lat - 纬度值, -90 - 90
24140
- * @param cameraView.alt - 高度值
24141
- * @param cameraView.heading - 方向角度值,绕垂直于地心的轴旋转角度, 0-360
24142
- * @param cameraView.pitch - 俯仰角度值,绕纬度线旋转角度, 0-360
24143
- * @param cameraView.roll - 翻滚角度值,绕经度线旋转角度, 0-360
24068
+ * @param [cameraView.alt] - 高度值
24069
+ * @param [cameraView.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0-360
24070
+ * @param [cameraView.pitch] - 俯仰角度值,绕纬度线旋转角度, 0-360
24071
+ * @param [cameraView.roll] - 翻滚角度值,绕经度线旋转角度, 0-360
24144
24072
  * @param [options = {}] - 参数对象:
24145
24073
  * @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
24146
24074
  * @param [options.complete] - 飞行完成后要执行的函数。
@@ -24157,10 +24085,10 @@ declare class Map extends BaseClass {
24157
24085
  setCameraView(cameraView: {
24158
24086
  lng: number;
24159
24087
  lat: number;
24160
- alt: number;
24161
- heading: number;
24162
- pitch: number;
24163
- roll: number;
24088
+ alt?: number;
24089
+ heading?: number;
24090
+ pitch?: number;
24091
+ roll?: number;
24164
24092
  }, options?: {
24165
24093
  duration?: number;
24166
24094
  complete?: Cesium.Camera.FlightCompleteCallback;
@@ -25369,14 +25297,20 @@ declare class TextMaterialProperty extends Image2MaterialProperty {
25369
25297
  * @param options.image - 背景图片URL
25370
25298
  * @param [options.color = new Cesium.Color(1, 0, 0, 1.0)] - 背景图片颜色
25371
25299
  * @param [options.count = 1] - 数量
25372
- * @param [options.speed = 5.0] - 速度
25300
+ * @param [options.direction = -1] - 方向,1是往下,-1是往上
25301
+ * @param [options.speed = 5.0] - 速度,值越大越快
25302
+ * @param [options.bloom = false] - 是否泛光
25303
+ * @param [options.axisY = false] - 是否Y轴朝上
25373
25304
  */
25374
25305
  declare class WallScrollMaterialProperty extends BaseMaterialProperty {
25375
25306
  constructor(options?: {
25376
25307
  image: string;
25377
25308
  color?: string | Cesium.Color;
25378
25309
  count?: number;
25310
+ direction?: number;
25379
25311
  speed?: number;
25312
+ bloom?: boolean;
25313
+ axisY?: boolean;
25380
25314
  });
25381
25315
  /**
25382
25316
  * 获取 材质名称
@@ -25666,7 +25600,14 @@ declare class EchartsLayer extends BaseLayer {
25666
25600
  * 热力图图层,基于heatmap.js库渲染。
25667
25601
  * 【需要引入 heatmap.js 库 和 mars3d-heatmap 插件库】
25668
25602
  * @param options - 参数对象,包括以下:
25669
- * @param [options.positions] - 坐标位置数组,有热力值时,传入LatLngPoint数组,热力值为value字段。示例:[{lat:31.123,lng:103.568,value:1.2},{lat:31.233,lng:103.938,value:2.3}]
25603
+ * @param [options.positions] - 坐标数据集合(含value热力值),有热力值时,传入LatLngPoint数组,热力值为value字段。示例:[{lat:31.123,lng:103.568,value:1.2},{lat:31.233,lng:103.938,value:2.3}]
25604
+ * @param [options.rectangle] - 坐标的矩形区域范围,默认内部自动计算
25605
+ * @param options.rectangle.xmin - 最小经度值
25606
+ * @param options.rectangle.xmax - 最大纬度值
25607
+ * @param options.rectangle.ymin - 最小纬度值
25608
+ * @param options.rectangle.ymax - 最大纬度值
25609
+ * @param [options.max] - 数据集的value值上限,默认内部计算
25610
+ * @param [options.min] - 数据集的value值下限,默认内部计算
25670
25611
  * @param [options.heatStyle] - heatmap热力图本身configObject参数,详情也可查阅 [heatmap文档]{@link https://www.patrick-wied.at/static/heatmapjs/docs.html}
25671
25612
  * @param [options.heatStyle.maxOpacity = 0.8] - 最大不透明度,取值范围0.0-1.0。
25672
25613
  * @param [options.heatStyle.minOpacity = 0.1] - 最小不透明度,取值范围0.0-1.0。
@@ -25701,6 +25642,14 @@ declare class EchartsLayer extends BaseLayer {
25701
25642
  declare class HeatLayer extends BaseLayer {
25702
25643
  constructor(options: {
25703
25644
  positions?: LngLatPoint[] | Cesium.Cartesian3[] | any;
25645
+ rectangle?: {
25646
+ xmin: number;
25647
+ xmax: number;
25648
+ ymin: number;
25649
+ ymax: number;
25650
+ };
25651
+ max?: number;
25652
+ min?: number;
25704
25653
  heatStyle?: {
25705
25654
  maxOpacity?: number;
25706
25655
  minOpacity?: number;
@@ -25748,7 +25697,8 @@ declare class HeatLayer extends BaseLayer {
25748
25697
  */
25749
25698
  style: RectanglePrimitive.StyleOptions | any;
25750
25699
  /**
25751
- * 数据位置坐标数组 (笛卡尔坐标), 赋值时可以传入LatLngPoint数组对象
25700
+ * 坐标数据集合(含value热力值),示例:[{lat:31.123,lng:103.568,value:1.2},{lat:31.233,lng:103.938,value:2.3}]
25701
+ * 平滑更新建议使用setPositions方法
25752
25702
  */
25753
25703
  positions: Cesium.Cartesian3[] | LngLatPoint[];
25754
25704
  /**
@@ -25760,22 +25710,24 @@ declare class HeatLayer extends BaseLayer {
25760
25710
  */
25761
25711
  readonly rectangle: Cesium.Rectangle;
25762
25712
  /**
25763
- * 添加新的坐标点
25764
- * @param item - 坐标点(含热力值)
25713
+ * 添加新的坐标点(含热力值)
25714
+ * @param item - 坐标点(含热力值),示例: {lat:31.123,lng:103.568,value:1.2}
25715
+ * @param [isGD] - 是否固定区域坐标,true时可以平滑更新
25765
25716
  * @returns 无
25766
25717
  */
25767
- addPosition(item: Cesium.Cartesian3 | LngLatPoint): void;
25718
+ addPosition(item: Cesium.Cartesian3 | LngLatPoint, isGD?: boolean): void;
25768
25719
  /**
25769
- * 清除矢量对象
25720
+ * 更新所有坐标点(含热力值)数据
25721
+ * @param arr - 坐标点(含热力值),示例:[{lat:31.123,lng:103.568,value:1.2},{lat:31.233,lng:103.938,value:2.3}]
25722
+ * @param [isGD] - 是否固定区域坐标,true时可以平滑更新
25770
25723
  * @returns 无
25771
25724
  */
25772
- clear(): void;
25725
+ setPositions(arr: Cesium.Cartesian3[] | LngLatPoint[], isGD?: boolean): void;
25773
25726
  /**
25774
- * 根据坐标点获取其对应的value值和颜色值
25775
- * @param item - 坐标点
25776
- * @returns 格式为 {"x":2081,"y":767,"value":3,"color":"rgba(209,231,0,195)"}
25727
+ * 清除矢量对象
25728
+ * @returns
25777
25729
  */
25778
- getPointData(item: Cesium.Cartesian3 | LngLatPoint): any;
25730
+ clear(): void;
25779
25731
  /**
25780
25732
  * 获取图层内所有数据的 矩形边界值
25781
25733
  * @param [options] - 控制参数
@@ -25785,6 +25737,12 @@ declare class HeatLayer extends BaseLayer {
25785
25737
  getRectangle(options?: {
25786
25738
  isFormat?: boolean;
25787
25739
  }): Cesium.Rectangle | any;
25740
+ /**
25741
+ * 根据坐标点获取其对应的value值和颜色值
25742
+ * @param item - 坐标点
25743
+ * @returns 格式为 {"x":2081,"y":767,"value":3,"color":"rgba(209,231,0,195)"}
25744
+ */
25745
+ getPointData(item: Cesium.Cartesian3 | LngLatPoint): any;
25788
25746
  }
25789
25747
 
25790
25748
  /**
@@ -26391,6 +26349,10 @@ declare class ConicSensor extends BasePointPrimitive {
26391
26349
  * @returns 坐标数组
26392
26350
  */
26393
26351
  getRayEarthPositions(): Cesium.Cartesian3[];
26352
+ /**
26353
+ * 矢量数据对应的 Cesium内部对象 (不同子类中实现)
26354
+ */
26355
+ readonly czmObject: Cesium.Entity | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.ClassificationPrimitive | any;
26394
26356
  }
26395
26357
 
26396
26358
  declare namespace RectSensor {
@@ -26555,6 +26517,10 @@ declare class RectSensor extends BasePointPrimitive {
26555
26517
  * @returns 坐标数组
26556
26518
  */
26557
26519
  getRayEarthPositions(): Cesium.Cartesian3[];
26520
+ /**
26521
+ * 矢量数据对应的 Cesium内部对象 (不同子类中实现)
26522
+ */
26523
+ readonly czmObject: Cesium.Entity | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.ClassificationPrimitive | any;
26558
26524
  }
26559
26525
 
26560
26526
  declare namespace Satellite {
@@ -27695,6 +27661,9 @@ declare namespace widget {
27695
27661
  * uri: "widgets/bookmark/widget.js",
27696
27662
  * autoDisable: true,
27697
27663
  * testdata:'测试数据1987', //传数据进widget内部,widget内部使用this.config.testdata获取到传的数据
27664
+ * success:function(thisWidget){
27665
+ * //创建完成的回调方法
27666
+ * }
27698
27667
  * });
27699
27668
  * @param item - 指widget模块的uri 或 指模块的配置参数,当有配置参数时,参数优先级是:
27700
27669
  * 【activate方法传入的配置 > init方法传入的配置(widget.json) > widget.js内部配置的】
@@ -28729,51 +28698,6 @@ declare class QueryGeoServer extends BaseClass {
28729
28698
  readonly options: any;
28730
28699
  }
28731
28700
 
28732
- /**
28733
- * 选中对象的 泛光效果。
28734
- * @param [options] - 参数对象
28735
- * @param [options.eventType = "click"] - 高亮触发的事件类型,默认为单击。可选值:单击、鼠标移入,false时不内部控制
28736
- * @param [options.color = Cesium.Color.WHITE] - 泛光颜色
28737
- * @param [options.contrast = 128] - 对比度,取值范围[-255.0,255.0]
28738
- * @param [options.brightness = -0.3] - 亮度, 将输入纹理的RGB值转换为色相、饱和度和亮度(HSB),然后将该值添加到亮度中。
28739
- * @param [options.blurSamples = 32] - 模糊样本
28740
- * @param [options.delta = 1.0] - 增量
28741
- * @param [options.sigma = 3.78] - delta和sigma用于计算高斯滤波器的权值。方程是 <code>exp((-0.5 * delta * delta) / (sigma * sigma))</code>。
28742
- * @param [options.stepSize = 5.0] - 步长,是下一个texel的距离
28743
- * @param [options.ratio = 2.0] - 亮度增强比例
28744
- * @param [options.threshold = 0.0] - 亮度阈值
28745
- * @param [options.smoothWidth = 0.01] - 亮度光滑的宽度
28746
- * @param [options.enabled = true] - 对象的启用状态
28747
- */
28748
- declare class BloomTargetEffect extends BaseEffect {
28749
- constructor(options?: {
28750
- eventType?: EventType | boolean;
28751
- color?: Cesium.Color;
28752
- contrast?: number;
28753
- brightness?: number;
28754
- blurSamples?: number;
28755
- delta?: number;
28756
- sigma?: number;
28757
- stepSize?: number;
28758
- ratio?: number;
28759
- threshold?: number;
28760
- smoothWidth?: number;
28761
- enabled?: boolean;
28762
- });
28763
- /**
28764
- * 发光颜色
28765
- */
28766
- color: Cesium.Color;
28767
- /**
28768
- * 高亮触发的事件类型,默认为单击。
28769
- */
28770
- eventType: EventType | string;
28771
- /**
28772
- * 选中对象
28773
- */
28774
- selected: any | any | undefined;
28775
- }
28776
-
28777
28701
  declare namespace Measure {
28778
28702
  /**
28779
28703
  * @example
@@ -29535,10 +29459,10 @@ declare class RotatePoint extends BaseThing {
29535
29459
  readonly isStart: boolean;
29536
29460
  /**
29537
29461
  * 开始旋转
29538
- * @param point - 旋转的中心点
29462
+ * @param [point] - 旋转的中心点
29539
29463
  * @returns 无
29540
29464
  */
29541
- start(point: LngLatPoint | Cesium.Cartesian3 | number[]): void;
29465
+ start(point?: LngLatPoint | Cesium.Cartesian3 | number[]): void;
29542
29466
  /**
29543
29467
  * 停止旋转
29544
29468
  * @returns 无
@@ -30436,73 +30360,10 @@ declare class TilesetFlat extends TilesetEditBase {
30436
30360
  enabled?: boolean;
30437
30361
  eventParent?: BaseClass | boolean;
30438
30362
  });
30439
- /**
30440
- * 区域 列表
30441
- */
30442
- readonly list: any;
30443
- /**
30444
- * 需要分析的模型(3dtiles图层)
30445
- */
30446
- layer: TilesetLayer;
30447
- /**
30448
- * 需要分析的模型 对应的 Cesium3DTileset 对象
30449
- */
30450
- readonly tileset: Cesium.Cesium3DTileset;
30451
- /**
30452
- * 压平高度 (单位:米),基于压平区域最低点高度的偏移量
30453
- */
30454
- readonly layerHeight: number;
30455
- /**
30456
- * 坐标位置数组,只显示单个区域【单个区域场景时使用】
30457
- */
30458
- positions: any[][] | string[] | LngLatPoint[] | Cesium.Cartesian3[];
30459
- /**
30460
- * 已添加的区域个数
30461
- */
30462
- readonly length: number;
30463
- /**
30464
- * 添加单个区域
30465
- * @param positions - 坐标位置数组
30466
- * @param [options = {}] - 控制的参数
30467
- * @param [options.height] - 开挖深度(地形开挖时,可以控制单个区域的开挖深度)
30468
- * @returns 添加区域的记录对象
30469
- */
30470
- addArea(positions: string[] | any[][] | LngLatPoint[] | Cesium.Cartesian3[], options?: {
30471
- height?: any;
30472
- }): Promise<any>;
30473
- /**
30474
- * 根据id获取区域对象
30475
- * @param id - id值
30476
- * @returns 区域对象
30477
- */
30478
- getAreaById(id: number): any;
30479
- /**
30480
- * 隐藏单个区域
30481
- * @param id - 区域id值
30482
- * @returns 无
30483
- */
30484
- hideArea(id: number): void;
30485
- /**
30486
- * 显示单个区域
30487
- * @param id - 区域id值
30488
- * @returns 无
30489
- */
30490
- showArea(id: number): void;
30491
- /**
30492
- * 移除单个区域
30493
- * @param item - 区域的id,或 addArea返回的区域对象
30494
- * @returns 无
30495
- */
30496
- removeArea(item: number | any): void;
30497
30363
  /**
30498
30364
  * 压平高度 (单位:米),基于压平区域最低点高度的偏移量
30499
30365
  */
30500
30366
  height: number;
30501
- /**
30502
- * 清除分析
30503
- * @returns 无
30504
- */
30505
- clear(): void;
30506
30367
  }
30507
30368
 
30508
30369
  declare namespace TilesetFlood {
@@ -31308,6 +31169,12 @@ declare namespace DomUtil {
31308
31169
  * @returns class样式名称
31309
31170
  */
31310
31171
  function getClass(el: HTMLElement): string;
31172
+ /**
31173
+ * 复制canvas对象
31174
+ * @param oldCanvas - 原canvas对象
31175
+ * @returns 复制后的canvas对象
31176
+ */
31177
+ function copyCanvas(oldCanvas: HTMLCanvasElement): HTMLCanvasElement;
31311
31178
  }
31312
31179
 
31313
31180
  /**
@@ -31607,9 +31474,10 @@ declare namespace MeasureUtil {
31607
31474
  /**
31608
31475
  * 求坐标数组的空间距离
31609
31476
  * @param positions - 坐标数组
31477
+ * @param [closure] - 是否闭合,如求面的周长时,传入true
31610
31478
  * @returns 距离(单位:米)
31611
31479
  */
31612
- function getDistance(positions: Cesium.Cartesian3[] | LngLatPoint[]): number;
31480
+ function getDistance(positions: Cesium.Cartesian3[] | LngLatPoint[], closure?: boolean): number;
31613
31481
  /**
31614
31482
  * 求坐标数组的 距离(地球表面弧度的),
31615
31483
  * 比如北京到纽约(不能穿过球心,是贴地表的线的距离)
@@ -33007,10 +32875,10 @@ declare namespace Util {
33007
32875
  /**
33008
32876
  * 执行alert弹窗(手动单击确定关闭窗口)
33009
32877
  * @param msg - 弹窗内的内容
33010
- * @param title - 弹窗的标题
32878
+ * @param [title] - 弹窗的标题
33011
32879
  * @returns 无
33012
32880
  */
33013
- function alert(msg: string, title: string): void;
32881
+ function alert(msg: string, title?: string): void;
33014
32882
  /**
33015
32883
  * 执行msg提示窗(自动消失)
33016
32884
  * @param msg - 弹窗内的内容