mars3d 3.8.2 → 3.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mars3d.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.8.2
6
- * 编译日期:2024-09-10 17:55:20
5
+ * 版本信息:v3.8.4
6
+ * 编译日期:2024-10-16 09:33
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
8
  * 使用单位:免费公开版 ,2024-08-01
9
9
  */
@@ -1596,6 +1596,8 @@ declare namespace MaterialType {
1596
1596
  * @property [repeat = new Cesium.Cartesian2(1.0, 1.0)] - 指定图像在每个方向上重复的次数
1597
1597
  * @property [noWhite = true] - 是否不显示白色,true时没有加载完成前的白色闪烁,但也不支持纯白色的图片
1598
1598
  * @property [rotation = 0] - 旋转角度,0-360
1599
+ * @property [hasMask = false] - 是否存在遮盖图片。
1600
+ * @property [maskImage] - 遮盖融合的图片url地址,可用于视频等场景下的四周羽化效果。
1599
1601
  */
1600
1602
  const Image2: string;
1601
1603
  /**
@@ -2331,7 +2333,10 @@ declare class FullscreenButton extends BaseCzmControl {
2331
2333
  /**
2332
2334
  * 地名查找按钮 控件 (Cesium原生)
2333
2335
  * @param [options] - 参数对象,包括以下:
2334
- * @param [service = "gaode"] - 服务处理类, string时内置支持: "gaode"高德POI服务,"ion"原生Cesium服务
2336
+ * @param [options.service = "gaode"] - 服务处理类, string时内置支持: "gaode"高德POI服务,"ion"原生Cesium服务
2337
+ * @param [options.key = mars3d.Token.gaodeArr] - "gaode"高德POI服务时,高德KEY,在实际项目中请使用自己申请的高德KEY,因为我们的key不保证长期有效。
2338
+ * @param [options.parameters] - 其他查询参数
2339
+ * @param [options.parameters.types = '110000|120000|130000|140000|180000|190000'] - 检索分类偏好,与text组合进行检索,多个分类以","分隔(POI分类),如果需要严格按分类检索,请通过text参数设置
2335
2340
  * @param [options.id = createGuid()] - 对象的id标识
2336
2341
  * @param [options.enabled = true] - 对象的启用状态
2337
2342
  * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.toolbar
@@ -2340,12 +2345,17 @@ declare class FullscreenButton extends BaseCzmControl {
2340
2345
  */
2341
2346
  declare class Geocoder extends BaseCzmControl {
2342
2347
  constructor(options?: {
2348
+ service?: string | Cesium.GeocoderService[] | undefined;
2349
+ key?: string | string[];
2350
+ parameters?: {
2351
+ types?: string;
2352
+ };
2343
2353
  id?: string | number;
2344
2354
  enabled?: boolean;
2345
2355
  parentContainer?: HTMLElement;
2346
2356
  insertIndex?: number;
2347
2357
  insertBefore?: HTMLElement | string;
2348
- }, service?: string | Cesium.GeocoderService[] | undefined);
2358
+ });
2349
2359
  /**
2350
2360
  * 父容器DOM对象
2351
2361
  */
@@ -3319,7 +3329,7 @@ declare class GroupThing extends BaseThing {
3319
3329
  getInMapChilds(): BaseThing[];
3320
3330
  /**
3321
3331
  * 根据ID或取Thing对象
3322
- * @param id - Thing对象id或uuid
3332
+ * @param id - Thing对象id
3323
3333
  * @returns Thing对象对象
3324
3334
  */
3325
3335
  getThingById(id: string | number): BaseThing | any;
@@ -6304,6 +6314,9 @@ declare namespace ConeVisibility {
6304
6314
  * @property [roll = 0] - 翻滚角(度数值,0-360度)
6305
6315
  * @property [addHeight] - 在坐标点增加的高度值,规避遮挡,效果更友好
6306
6316
  * @property [showFrustum = false] - 是否显示视椎体框线
6317
+ * @property [visibleAreaColor = new Cesium.Color(0, 1, 0)] - 可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
6318
+ * @property [hiddenAreaColor = new Cesium.Color(1, 0, 0)] - 不可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
6319
+ * @property [opacity = 0.6] - 透明度 0.0 - 1.0,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
6307
6320
  */
6308
6321
  type StyleOptions = any | {
6309
6322
  radius?: number;
@@ -6314,6 +6327,9 @@ declare namespace ConeVisibility {
6314
6327
  roll?: number;
6315
6328
  addHeight?: number;
6316
6329
  showFrustum?: boolean;
6330
+ visibleAreaColor?: Cesium.Color | string;
6331
+ hiddenAreaColor?: Cesium.Color | string;
6332
+ opacity?: number;
6317
6333
  };
6318
6334
  }
6319
6335
 
@@ -6542,7 +6558,7 @@ declare class FixedRoute extends Route {
6542
6558
  * 计算贴地线
6543
6559
  * @param [options] - 控制参数
6544
6560
  * @param [options.splitNum = 100] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
6545
- * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
6561
+ * @param [options.minDistance] - 插值最小间隔(单位:米),提示:优先级高于splitNum,用于计算splitNum(非严格按这个值分割)
6546
6562
  * @param [options.exact = false] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
6547
6563
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
6548
6564
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
@@ -6561,7 +6577,7 @@ declare class FixedRoute extends Route {
6561
6577
  * 获取剖面数据
6562
6578
  * @param [options] - 控制参数
6563
6579
  * @param [options.splitNum = 100] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
6564
- * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
6580
+ * @param [options.minDistance] - 插值最小间隔(单位:米),提示:优先级高于splitNum,用于计算splitNum(非严格按这个值分割)
6565
6581
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
6566
6582
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
6567
6583
  * @param [options.offset = 0] - 可以按需增加偏移高度(单位:米),便于可视
@@ -6786,11 +6802,17 @@ declare namespace PointVisibility {
6786
6802
  * @property [radius = 1] - 区域半径,单位米
6787
6803
  * @property [addHeight] - 在坐标点增加的高度值,规避遮挡,效果更友好
6788
6804
  * @property [showFrustum = false] - 是否显示视椎体框线
6805
+ * @property [visibleAreaColor = new Cesium.Color(0, 1, 0)] - 可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
6806
+ * @property [hiddenAreaColor = new Cesium.Color(1, 0, 0)] - 不可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
6807
+ * @property [opacity = 0.6] - 透明度 0.0 - 1.0,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
6789
6808
  */
6790
6809
  type StyleOptions = any | {
6791
6810
  radius?: number;
6792
6811
  addHeight?: number;
6793
6812
  showFrustum?: boolean;
6813
+ visibleAreaColor?: Cesium.Color | string;
6814
+ hiddenAreaColor?: Cesium.Color | string;
6815
+ opacity?: number;
6794
6816
  };
6795
6817
  }
6796
6818
 
@@ -6820,9 +6842,17 @@ declare class PointVisibility extends BasePointPrimitive {
6820
6842
  eventParent?: BaseClass | boolean;
6821
6843
  });
6822
6844
  /**
6823
- * 混合系数0-1
6845
+ * 混合系数0-1,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
6824
6846
  */
6825
6847
  opacity: number;
6848
+ /**
6849
+ * 可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
6850
+ */
6851
+ visibleAreaColor: Cesium.Color;
6852
+ /**
6853
+ * 不可视区域颜色,提示:因是合并渲染,多个时仅支持使用第1个对象的颜色
6854
+ */
6855
+ hiddenAreaColor: Cesium.Color;
6826
6856
  /**
6827
6857
  * 场景的ShadowMap阴影图
6828
6858
  */
@@ -9915,7 +9945,7 @@ declare namespace CircleEntity {
9915
9945
  * @property [distanceDisplayCondition = false] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
9916
9946
  * @property [distanceDisplayCondition_far = number.MAX_VALUE] - 最大距离
9917
9947
  * @property [distanceDisplayCondition_near = 0] - 最小距离
9918
- * @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定椭圆上各点之间的角距离。
9948
+ * @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定椭圆上各点之间的角距离,可以控制圆的平滑度(值越小越平滑)。
9919
9949
  * @property [numberOfVerticalLines = 16] - 指定沿轮廓的周长绘制的垂直线的数量。
9920
9950
  * @property [hasShadows = false] - 是否投射阴影
9921
9951
  * @property [shadows = Cesium.ShadowMode.DISABLED] - 指定椭圆是投射还是接收来自光源的阴影。
@@ -10987,7 +11017,7 @@ declare namespace EllipseEntity {
10987
11017
  * @property [distanceDisplayCondition = false] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
10988
11018
  * @property [distanceDisplayCondition_far = number.MAX_VALUE] - 最大距离
10989
11019
  * @property [distanceDisplayCondition_near = 0] - 最小距离
10990
- * @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定椭圆上各点之间的角距离。
11020
+ * @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定椭圆上各点之间的角距离,可以控制圆的平滑度(值越小越平滑)。
10991
11021
  * @property [numberOfVerticalLines = 16] - 指定沿轮廓的周长绘制的垂直线的数量。
10992
11022
  * @property [hasShadows = false] - 是否投射阴影
10993
11023
  * @property [shadows = Cesium.ShadowMode.DISABLED] - 指定椭圆是投射还是接收来自光源的阴影。
@@ -11191,22 +11221,19 @@ declare namespace EllipsoidEntity {
11191
11221
  label?: LabelEntity.StyleOptions | any;
11192
11222
  };
11193
11223
  /**
11194
- * 动态扫描面 参数
11195
- * @property planeOptions - 扫描面构造参数
11196
- * @property [planeOptions.type = 'heading'] - 扫描旋转的方向,可选值:'heading','pitch','roll'
11197
- * @property [planeOptions.step = 0.5] - 旋转的步长(角度),控制速度
11198
- * @property [planeOptions.min] - 旋转的最小值(角度)
11199
- * @property [planeOptions.max] - 旋转的最大值(角度)
11200
- * @property [planeOptions.style] - 样式信息
11224
+ * 扫描面构造参数
11225
+ * @property [type = 'heading'] - 扫描旋转的方向,可选值:'heading','pitch','roll'
11226
+ * @property [step = 0.5] - 旋转的步长(角度),控制速度
11227
+ * @property [min] - 旋转的最小值(角度)
11228
+ * @property [max] - 旋转的最大值(角度)
11229
+ * @property [style] - 样式信息
11201
11230
  */
11202
11231
  type ScanPlaneOptions = {
11203
- planeOptions: {
11204
- type?: string;
11205
- step?: number;
11206
- min?: number;
11207
- max?: number;
11208
- style?: EllipsoidEntity.StyleOptions | any;
11209
- };
11232
+ type?: string;
11233
+ step?: number;
11234
+ min?: number;
11235
+ max?: number;
11236
+ style?: EllipsoidEntity.StyleOptions | any;
11210
11237
  };
11211
11238
  }
11212
11239
 
@@ -12506,6 +12533,13 @@ declare class PointEntity extends BasePointEntity {
12506
12533
  * 矢量数据对应的 Cesium内部对象的具体类型对象
12507
12534
  */
12508
12535
  readonly entityGraphic: Cesium.PointGraphics;
12536
+ /**
12537
+ * 设置整体透明度(globalAlpha值), 不是所有类型均支持,主要看数据类型和材质类型决定。
12538
+ * 对象本身透明度请用 graphic.setStyle({ opacity: value })
12539
+ * @param value - 透明度
12540
+ * @returns 无
12541
+ */
12542
+ setOpacity(value: number): void;
12509
12543
  }
12510
12544
 
12511
12545
  declare namespace PolygonEntity {
@@ -13129,6 +13163,7 @@ declare namespace RectangleEntity {
13129
13163
  * @param options - 参数对象,包括以下:
13130
13164
  * @param [options.positions] - 坐标位置
13131
13165
  * @param [options.rectangle] - 矩形范围,与positions二选一。
13166
+ * @param [options.coordinates] - rectangle的别名
13132
13167
  * @param options.style - 样式信息
13133
13168
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
13134
13169
  * @param [options.availability] - 指定时间范围内显示该对象
@@ -13162,6 +13197,7 @@ declare class RectangleEntity extends BasePolyEntity {
13162
13197
  constructor(options: {
13163
13198
  positions?: LngLatPoint[] | Cesium.Cartesian3[] | any[] | Cesium.PositionProperty | Cesium.CallbackProperty;
13164
13199
  rectangle?: Cesium.Rectangle | Cesium.PositionProperty | Cesium.CallbackProperty;
13200
+ coordinates?: Cesium.Rectangle | Cesium.PositionProperty | Cesium.CallbackProperty;
13165
13201
  style: RectangleEntity.StyleOptions | any;
13166
13202
  attr?: any | BaseGraphic.AjaxAttr;
13167
13203
  availability?: Cesium.TimeIntervalCollection | Cesium.TimeInterval | any[] | any;
@@ -13459,6 +13495,7 @@ declare namespace Video2D {
13459
13495
  * 视频融合(投射2D平面) 支持的样式信息
13460
13496
  * @property [url] - 视频对应url地址
13461
13497
  * @property [container] - 视频对应的video标签,与url二选一
13498
+ * @property [maskImage] - 遮盖融合的图片url地址,可用于视频等场景下的四周羽化效果。
13462
13499
  * @property angle - 水平张角(度数)
13463
13500
  * @property angle2 - 垂直张角(度数)
13464
13501
  * @property distance - 投射距离
@@ -13485,6 +13522,7 @@ declare namespace Video2D {
13485
13522
  type StyleOptions = any | {
13486
13523
  url?: string;
13487
13524
  container?: HTMLVideoElement;
13525
+ maskImage?: string;
13488
13526
  angle: number;
13489
13527
  angle2: number;
13490
13528
  distance: number;
@@ -14695,7 +14733,7 @@ declare class GroupGraphic extends BaseGraphic {
14695
14733
  getInMapChilds(): BaseGraphic[] | any;
14696
14734
  /**
14697
14735
  * 根据ID或取图层
14698
- * @param id - 图层id或uuid
14736
+ * @param id - 图层id
14699
14737
  * @returns 图层对象
14700
14738
  */
14701
14739
  getGraphicById(id: string | number): BaseGraphic | any | any;
@@ -14972,6 +15010,9 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
14972
15010
  * @param [options.viewFrom] - 观察这个物体时建议的初始偏移量。
14973
15011
  * @param [options.parent] - 要与此实体关联的父实体。
14974
15012
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
15013
+ * @param [options.unit = 'auto'] - 计量单位,{@link MeasureUtil#formatDistance}可选值:auto、m、km、wm、mile、zhang 等。auto时根据距离值自动选用k或km
15014
+ * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
15015
+ * @param [options.showAddText = true] - 是否显示每一段的增加部分距离,如(+10.1km)
14975
15016
  * @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
14976
15017
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
14977
15018
  * @param [options.updateDrawPosition] - 绘制时,外部自定义更新坐标,可以自定义处理特殊业务返回修改后的新坐标。
@@ -15006,6 +15047,9 @@ declare class DistanceMeasure extends PolylineEntity {
15006
15047
  viewFrom?: Cesium.Property;
15007
15048
  parent?: Cesium.Entity;
15008
15049
  onBeforeCreate?: (...params: any[]) => any;
15050
+ unit?: string;
15051
+ addHeight?: number;
15052
+ showAddText?: boolean;
15009
15053
  minPointNum?: number;
15010
15054
  maxPointNum?: number;
15011
15055
  updateDrawPosition?: (...params: any[]) => any;
@@ -15346,7 +15390,7 @@ declare class PointMeasure extends PointEntity {
15346
15390
  * @param options.style - 样式信息
15347
15391
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
15348
15392
  * @param [options.splitNum = 200] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
15349
- * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
15393
+ * @param [options.minDistance] - 插值最小间隔(单位:米),提示:优先级高于splitNum,用于计算splitNum(非严格按这个值分割)
15350
15394
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
15351
15395
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
15352
15396
  * @param [options.exact = false] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
@@ -15440,15 +15484,16 @@ declare class SectionMeasure extends DistanceMeasure {
15440
15484
  * @param [options.showPoly = true] - 是否显示基准面
15441
15485
  * @param [options.showWall = false] - 是否显示围墙面
15442
15486
  * @param [options.polygonWallStyle] - 围墙面的样式
15443
- * @param [options.showBox = true] - 是否显示填挖盒子
15444
- * @param [options.fillColor = Cesium.Color.YELLOW.withAlpha(0.5)] - 填方盒子的颜色
15445
- * @param [options.cutColor = Cesium.Color.RED.withAlpha(0.5)] - 挖方盒子的颜色
15446
- * @param [options.offsetHeight = 0] - 盒子偏移显示的高度值,可以将盒子显示在空中来展示
15447
15487
  * @param [options.label] - 测量结果文本的样式
15448
- * @param [options.showFillVolume = true] - 是否显示填方体积结果文本
15449
- * @param [options.fillVolumeName = '填方体积'] - 填方体积结果的名称
15488
+ * @param [options.offsetHeight = 0] - 盒子偏移显示的高度值,可以将盒子显示在空中来展示
15489
+ * @param [options.showDigBox = true] - 是否显示挖方盒子
15490
+ * @param [options.digBoxColor = "rgba(255, 0, 0, 0.3)"] - 挖方盒子的颜色
15450
15491
  * @param [options.showDigVolume = true] - 是否显示挖方体积结果文本
15451
15492
  * @param [options.digVolumeName = '挖方体积'] - 挖方体积结果的名称
15493
+ * @param [options.showFillBox = true] - 是否显示填方盒子
15494
+ * @param [options.fillBoxColor = "rgba(140, 230, 50, 0.3)"] - 填方盒子的颜色
15495
+ * @param [options.showFillVolume = true] - 是否显示填方体积结果文本
15496
+ * @param [options.fillVolumeName = '填方体积'] - 填方体积结果的名称
15452
15497
  * @param [options.showArea = true] - 是否显示横切面积结果文本
15453
15498
  * @param [options.areaName = '横切面积'] - 横切面积结果的名称
15454
15499
  * @param [options.measured] - 传入历史计算的值,可以固化测量结果,避免地形精度和视角剔除带来的测量结果每次不同
@@ -15476,15 +15521,16 @@ declare class VolumeDepthMeasure extends AreaMeasure {
15476
15521
  showPoly?: boolean;
15477
15522
  showWall?: boolean;
15478
15523
  polygonWallStyle?: PolygonEntity.StyleOptions | any;
15479
- showBox?: boolean;
15480
- fillColor?: string | Cesium.Color;
15481
- cutColor?: string | Cesium.Color;
15482
- offsetHeight?: number;
15483
15524
  label?: LabelEntity.StyleOptions | any;
15484
- showFillVolume?: boolean;
15485
- fillVolumeName?: string;
15525
+ offsetHeight?: number;
15526
+ showDigBox?: boolean;
15527
+ digBoxColor?: string | Cesium.Color;
15486
15528
  showDigVolume?: boolean;
15487
15529
  digVolumeName?: string;
15530
+ showFillBox?: boolean;
15531
+ fillBoxColor?: string | Cesium.Color;
15532
+ showFillVolume?: boolean;
15533
+ fillVolumeName?: string;
15488
15534
  showArea?: boolean;
15489
15535
  areaName?: string;
15490
15536
  measured?: {
@@ -15527,9 +15573,13 @@ declare class VolumeDepthMeasure extends AreaMeasure {
15527
15573
  */
15528
15574
  maxHeight: number;
15529
15575
  /**
15530
- * 是否显示填挖盒子
15576
+ * 是否显示填方盒子
15531
15577
  */
15532
- showBox: boolean;
15578
+ showFillBox: boolean;
15579
+ /**
15580
+ * 是否显示挖方盒子
15581
+ */
15582
+ showDigBox: boolean;
15533
15583
  /**
15534
15584
  * 更新测量结果的文本
15535
15585
  * @param unit - 计量单位,{@link MeasureUtil#formatArea} 可选值:计量单位,可选值:auto、m、km、mu、ha 。auto时根据面积值自动选用m或km
@@ -16559,7 +16609,7 @@ declare namespace CirclePrimitive {
16559
16609
  * @property [extrudedHeight] - 指定圆的挤压面相对于椭球面的高度。
16560
16610
  * @property [stRotation = 0] - 椭圆纹理的角度(弧度值),正北为0,逆时针旋转
16561
16611
  * @property [stRotationDegree = 0] - 椭圆纹理的角度(度数值,0-360度),与stRotation二选一
16562
- * @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定椭圆上各点之间的角距离。
16612
+ * @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定椭圆上各点之间的角距离,可以控制圆的平滑度(值越小越平滑)。
16563
16613
  * @property [fill = true] - 是否填充
16564
16614
  * @property [materialType = "Color"] - 填充材质类型 ,可选项:{@link MaterialType}
16565
16615
  * @property [materialOptions] - materialType对应的{@link MaterialType}中材质参数
@@ -18963,6 +19013,13 @@ declare class PointPrimitive extends BasePointPrimitive {
18963
19013
  * 位置坐标 (笛卡尔坐标), 赋值时可以传入LatLngPoint对象
18964
19014
  */
18965
19015
  position: Cesium.Cartesian3 | LngLatPoint;
19016
+ /**
19017
+ * 设置整体透明度(globalAlpha值) , 非全部矢量数据都支持,具体需要对应Graphic支持才有效
19018
+ * 对象本身透明度请修改 graphic.setStyle({ opacity: value })
19019
+ * @param value - 透明度
19020
+ * @returns 无
19021
+ */
19022
+ setOpacity(value: number): void;
18966
19023
  }
18967
19024
 
18968
19025
  declare namespace PolygonPrimitive {
@@ -21034,6 +21091,12 @@ declare class CzmGeoJsonLayer extends BaseGraphicLayer {
21034
21091
  data?: any;
21035
21092
  类参数?: any;
21036
21093
  }): CzmGeoJsonLayer;
21094
+ /**
21095
+ * 根据id取矢量数据对象
21096
+ * @param id - 矢量数据id
21097
+ * @returns 矢量数据对象
21098
+ */
21099
+ getEntityById(id: string | number): Cesium.Entity | any;
21037
21100
  /**
21038
21101
  * 加载新数据 或 刷新数据
21039
21102
  * @param symbol - 设置新的symbol 矢量数据样式. {@link GraphicType}
@@ -21514,7 +21577,11 @@ declare class ArcGisWfsLayer extends LodGraphicLayer {
21514
21577
  * @param [options.token] - 用于通过ArcGIS MapServer服务进行身份验证的ArcGIS令牌。
21515
21578
  * @param [options.where] - 用于筛选数据的where查询条件
21516
21579
  * @param [options.format] - 可以对加载的geojson数据进行格式化或转换操作
21580
+ * @param [options.onCreateGraphic] - 解析geojson后,外部自定义方法来创建Graphic对象
21581
+ * @param [options.filter] - 数据筛选方法,方法体内返回false时排除数据 filter:function(feature){return true}
21582
+ * @param [options.mask] - 标识是否绘制区域边界的反选遮罩层,也可以传入object配置范围: { xmin: 73.0, xmax: 136.0, ymin: 3.0, ymax: 59.0 }
21517
21583
  * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
21584
+ * @param [options.toPrimitive] - 是否将entity类型转为primivate类型渲染(比如数据的point改为pointP展示)
21518
21585
  * @param [options.opacity = 1.0] - 透明度(部分图层),取值范围:0.0-1.0
21519
21586
  * @param [options.zIndex] - 控制图层的叠加层次(部分图层),默认按加载的顺序进行叠加,但也可以自定义叠加顺序,数字大的在上面。
21520
21587
  * @param [options.symbol] - 矢量数据的style样式,为Function时是完全自定义的回调处理 symbol(attr, style, feature)
@@ -21573,7 +21640,11 @@ declare class ArcGisWfsSingleLayer extends GeoJsonLayer {
21573
21640
  token?: string;
21574
21641
  where?: string;
21575
21642
  format?: (...params: any[]) => any;
21643
+ onCreateGraphic?: (...params: any[]) => any;
21644
+ filter?: (...params: any[]) => any;
21645
+ mask?: boolean | any;
21576
21646
  allowDrillPick?: boolean | ((...params: any[]) => any);
21647
+ toPrimitive?: boolean;
21577
21648
  opacity?: number;
21578
21649
  zIndex?: number;
21579
21650
  symbol?: {
@@ -22293,7 +22364,7 @@ declare class GraphicGroupLayer extends GroupLayer {
22293
22364
  getGraphics(): BaseGraphic[];
22294
22365
  /**
22295
22366
  * 根据id或uuid取矢量数据对象
22296
- * @param id - 矢量数据id或uuid
22367
+ * @param id - 矢量数据id
22297
22368
  * @returns 矢量数据对象
22298
22369
  */
22299
22370
  getGraphicById(id: string | number): BaseGraphic | any;
@@ -24468,7 +24539,7 @@ declare class GroupLayer extends BaseGraphicLayer {
24468
24539
  getInMapChilds(): BaseLayer[] | GraphicLayer[];
24469
24540
  /**
24470
24541
  * 根据ID或取图层
24471
- * @param id - 图层id或uuid
24542
+ * @param id - 图层id
24472
24543
  * @returns 图层对象
24473
24544
  */
24474
24545
  getLayerById(id: string | number): BaseLayer | GraphicLayer | any;
@@ -24501,6 +24572,11 @@ declare class GroupLayer extends BaseGraphicLayer {
24501
24572
  * @returns 无
24502
24573
  */
24503
24574
  toBottom(): void;
24575
+ /**
24576
+ * 重新加载图层
24577
+ * @returns 无
24578
+ */
24579
+ reload(): void;
24504
24580
  }
24505
24581
 
24506
24582
  /**
@@ -27362,9 +27438,11 @@ declare class WmsLayer extends BaseTileLayer {
27362
27438
  * @param [options.subdomains] - URL模板中用于 {s} 占位符的子域。 如果此参数是单个字符串,则字符串中的每个字符都是一个子域。如果是 一个数组,数组中的每个元素都是一个子域。
27363
27439
  * @param [options.format = 'image/jpeg'] - 要从服务器检索的瓦片图像的MIME类型。
27364
27440
  * @param options.layer - WMTS请求的层名。
27365
- * @param options.style - WMTS请求的样式名称。
27366
- * @param options.tileMatrixSetID - 用于WMTS请求的TileMatrixSet的标识符。
27441
+ * @param [options.style] - WMTS请求的样式名称。
27442
+ * @param [options.tileMatrixSet] - 用于WMTS请求的TileMatrixSet的标识符。
27443
+ * @param [options.tileMatrixSetID] - 同tileMatrixSet,Cesium原生参数
27367
27444
  * @param [options.tileMatrixLabels] - 瓦片矩阵中用于WMTS请求的标识符列表,每个瓦片矩阵级别一个。
27445
+ * @param [options.tileMatrixBefore] - 用于WMTS请求的tilematrix,当tileMatrixLabels是有规律的前缀+层级时,可以用tilematrixBefore配置前缀字符串即可。
27368
27446
  * @param [options.clock] - 一个时钟实例,用于确定时间维度的值。指定' times '时需要。
27369
27447
  * @param [options.times] - TimeIntervalCollection 的数据属性是一个包含时间动态维度及其值的对象。
27370
27448
  * @param [options.getCapabilities = true] - 是否通过服务本身的GetCapabilities来读取一些参数,减少options配置项
@@ -27435,9 +27513,11 @@ declare class WmtsLayer extends BaseTileLayer {
27435
27513
  subdomains?: string | string[];
27436
27514
  format?: string;
27437
27515
  layer: string;
27438
- style: string;
27439
- tileMatrixSetID: string;
27516
+ style?: string;
27517
+ tileMatrixSet?: string;
27518
+ tileMatrixSetID?: string;
27440
27519
  tileMatrixLabels?: string[];
27520
+ tileMatrixBefore?: string;
27441
27521
  clock?: Cesium.Clock;
27442
27522
  times?: Cesium.TimeIntervalCollection;
27443
27523
  getCapabilities?: boolean;
@@ -28272,7 +28352,7 @@ declare class Map extends BaseClass {
28272
28352
  getLayer(attrValue: string | number, attrName?: string): BaseLayer | any;
28273
28353
  /**
28274
28354
  * 根据ID或取图层 ,包括config.json配置的图层
28275
- * @param id - 图层id或uuid
28355
+ * @param id - 图层id
28276
28356
  * @returns 图层对象
28277
28357
  */
28278
28358
  getLayerById(id: string | number): BaseLayer | any;
@@ -29055,7 +29135,8 @@ declare namespace Map {
29055
29135
  * @property [terrainShadows = Cesium.ShadowMode.RECEIVE_ONLY] - 确定地形是否投射或接收来自光源的阴影。
29056
29136
  * @property [requestRenderMode = false] - 是否显式渲染,如果为真,渲染帧只会在需要时发生,这是由场景中的变化决定的。启用可以减少你的应用程序的CPU/GPU使用量,并且在移动设备上使用更少的电池,但是需要使用 {@link Scene#requestRender} 在这种模式下显式地渲染一个新帧。在许多情况下,在API的其他部分更改场景后,这是必要的。参见 {@link https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/|Improving Performance with Explicit Rendering}.
29057
29137
  * @property [maximumRenderTimeChange = 0.0] - 如果requestRenderMode为true,这个值定义了在请求渲染之前允许的模拟时间的最大变化。参见 {@link https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/|Improving Performance with Explicit Rendering}.
29058
- * @property [depthPlaneEllipsoidOffset = 0.0] - 调整DepthPlane以处理椭球体零标高以下的渲染伪影。
29138
+ * @property [blurActiveElementOnCanvasFocus = true] - 控制当用户点击或悬停在Viewer的画布上时,是否将焦点从当前DOM元素中移出。如果设置为true,则会自动将焦点从当前的DOM元素中移开,以便Viewer可以接收键盘事件和鼠标事件。这个属性对于在Web应用程序中使用Viewer时很有用,因为用户可能需要与其他DOM元素进行交互,例如输入文本或单击按钮。如果不把焦点从当前元素移开,用户将不能使用键盘或鼠标来与Viewer进行交互。需要注意的是,默认情况下,此属性被设置为true,因此当用户点击或悬停在Viewer的画布上时,焦点将会自动从当前的DOM元素中移开。如果您想要保留焦点,请将该属性设置为false。
29139
+ * @property [depthPlaneEllipsoidOffset = 0.0] - 可以指定深度测试平面相对于椭球体表面的偏移量。这个属性通常用于解决多个三维模型重叠时出现的Z-fighting问题,即两个或多个物体处于同一深度位置,导致图像闪烁或不清晰。
29059
29140
  * @property [msaaSamples = 4] - 如果提供,该值控制多样本抗混叠的速率。典型的多采样率是每像素2、4,有时是8个采样。更高的MSAA采样率可能会影响性能,以换取更好的视觉质量。这个值只适用于支持多样本渲染目标的WebGL2上下文。
29060
29141
  *
29061
29142
  * 以下是Cesium.Globe对象相关参数
@@ -29080,6 +29161,7 @@ declare namespace Map {
29080
29161
  * @property [cameraController.enableTilt = true] - 3D和哥伦布视图下,是否允许用户倾斜相机
29081
29162
  * @property [cameraController.enableZoom = true] - 是否允许 用户放大和缩小视图
29082
29163
  * @property [cameraController.enableCollisionDetection = true] - 是否允许 地形相机的碰撞检测
29164
+ * @property [cameraController.maximumTiltAngle] - 这个角度,相对于椭球法线,限制了用户可以倾斜相机的最大值。如果<code>undefined</code>,则相机倾斜的角度不受限制。
29083
29165
  *
29084
29166
  * 以下是Cesium.Clock时钟相关参数
29085
29167
  * @property [clock] - 时钟相关参数
@@ -29159,6 +29241,7 @@ declare namespace Map {
29159
29241
  terrainShadows?: Cesium.ShadowMode;
29160
29242
  requestRenderMode?: boolean;
29161
29243
  maximumRenderTimeChange?: number;
29244
+ blurActiveElementOnCanvasFocus?: boolean;
29162
29245
  depthPlaneEllipsoidOffset?: number;
29163
29246
  msaaSamples?: number;
29164
29247
  globe?: {
@@ -29181,6 +29264,7 @@ declare namespace Map {
29181
29264
  enableTilt?: boolean;
29182
29265
  enableZoom?: boolean;
29183
29266
  enableCollisionDetection?: boolean;
29267
+ maximumTiltAngle?: boolean;
29184
29268
  };
29185
29269
  clock?: {
29186
29270
  currentTime?: string | Cesium.JulianDate;
@@ -29933,6 +30017,7 @@ declare class EllipsoidWaveMaterialProperty extends BaseMaterialProperty {
29933
30017
  * @param [options.rotation = 0] - 旋转角度,0-360
29934
30018
  * @param [options.repeat = new Cesium.Cartesian2(1.0, 1.0)] - 指定图像在每个方向上重复的次数
29935
30019
  * @param [options.noWhite = true] - 是否不显示白色,true时没有加载完成前的白色闪烁,但也不支持纯白色的图片
30020
+ * @param [options.maskImage] - 遮盖融合的图片url地址,可用于视频等场景下的四周羽化效果。
29936
30021
  */
29937
30022
  declare class Image2MaterialProperty extends BaseMaterialProperty {
29938
30023
  constructor(options?: {
@@ -29945,6 +30030,7 @@ declare class Image2MaterialProperty extends BaseMaterialProperty {
29945
30030
  rotation?: number;
29946
30031
  repeat?: Cesium.Cartesian2;
29947
30032
  noWhite?: boolean;
30033
+ maskImage?: string;
29948
30034
  });
29949
30035
  /**
29950
30036
  * 背景图片URL
@@ -32277,10 +32363,18 @@ declare class ConicSensor extends BasePointPrimitive {
32277
32363
  * 俯仰角,上下摇摆的角度,0-360度角度值
32278
32364
  */
32279
32365
  pitch: number;
32366
+ /**
32367
+ * 俯仰角,弧度值
32368
+ */
32369
+ readonly pitchRadians: number;
32280
32370
  /**
32281
32371
  * 滚转角,左右摆动的角度,0-360度角度值
32282
32372
  */
32283
32373
  roll: number;
32374
+ /**
32375
+ * 滚转角,弧度值
32376
+ */
32377
+ readonly rollRadians: number;
32284
32378
  /**
32285
32379
  * 是否显示地面投影
32286
32380
  */
@@ -32654,10 +32748,18 @@ declare class RectSensor extends BasePointPrimitive {
32654
32748
  * 俯仰角,上下摇摆的角度,0-360度角度值
32655
32749
  */
32656
32750
  pitch: number;
32751
+ /**
32752
+ * 俯仰角,弧度值
32753
+ */
32754
+ readonly pitchRadians: number;
32657
32755
  /**
32658
32756
  * 滚转角,左右摆动的角度,0-360度角度值
32659
32757
  */
32660
32758
  roll: number;
32759
+ /**
32760
+ * 滚转角,弧度值
32761
+ */
32762
+ readonly rollRadians: number;
32661
32763
  /**
32662
32764
  * 获取当前转换计算模型矩阵。如果方向或位置未定义,则返回undefined。
32663
32765
  */
@@ -32917,7 +33019,7 @@ declare namespace SatelliteSensor {
32917
33019
  */
32918
33020
  declare class SatelliteSensor extends BasePointPrimitive {
32919
33021
  constructor(options?: {
32920
- position?: LngLatPoint | Cesium.Cartesian3 | number[];
33022
+ position?: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[];
32921
33023
  orientation?: Cesium.Property | any;
32922
33024
  style: SatelliteSensor.StyleOptions | any;
32923
33025
  attr?: any;
@@ -33229,6 +33331,10 @@ declare class CanvasWindLayer extends BaseLayer {
33229
33331
  * 风场数据,数据结构见类的构造方法说明
33230
33332
  */
33231
33333
  data: CanvasWindLayer.DataOptions;
33334
+ /**
33335
+ * 坐标数据对应的矩形边界
33336
+ */
33337
+ readonly rectangle: Cesium.Rectangle;
33232
33338
  /**
33233
33339
  * 设置 风场数据
33234
33340
  * @param data - 风场数据
@@ -33395,7 +33501,7 @@ declare class WindLayer extends BaseLayer {
33395
33501
  */
33396
33502
  declare class BaiduPOI {
33397
33503
  constructor(options?: {
33398
- key?: string[];
33504
+ key?: string | string[];
33399
33505
  city?: string;
33400
33506
  headers?: any;
33401
33507
  proxy?: Cesium.DefaultProxy;
@@ -33571,7 +33677,7 @@ declare class BaiduPOI {
33571
33677
  */
33572
33678
  declare class GaodePOI {
33573
33679
  constructor(options?: {
33574
- key?: string[];
33680
+ key?: string | string[];
33575
33681
  chinaCRS?: ChinaCRS | string;
33576
33682
  headers?: any;
33577
33683
  proxy?: Cesium.DefaultProxy;
@@ -33736,7 +33842,7 @@ declare class GaodePOI {
33736
33842
  */
33737
33843
  declare class GaodeRoute {
33738
33844
  constructor(options?: {
33739
- key?: string[];
33845
+ key?: string | string[];
33740
33846
  chinaCRS?: ChinaCRS | string;
33741
33847
  headers?: any;
33742
33848
  proxy?: Cesium.DefaultProxy;
@@ -34079,7 +34185,7 @@ declare class QueryGeoServer extends BaseClass {
34079
34185
  */
34080
34186
  declare class TdtPOI {
34081
34187
  constructor(options?: {
34082
- key?: string[];
34188
+ key?: string | string[];
34083
34189
  headers?: any;
34084
34190
  proxy?: Cesium.DefaultProxy;
34085
34191
  });
@@ -34422,7 +34528,7 @@ declare class Measure extends BaseThing {
34422
34528
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
34423
34529
  * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
34424
34530
  * @param [options.splitNum = 200] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
34425
- * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
34531
+ * @param [options.minDistance] - 插值最小间隔(单位:米),提示:优先级高于splitNum,用于计算splitNum(非严格按这个值分割)
34426
34532
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
34427
34533
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
34428
34534
  * @param [options.exact = false] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
@@ -34800,7 +34906,7 @@ declare class Sightline extends BaseThing {
34800
34906
  * @param [options = {}] - 控制参数,包括:
34801
34907
  * @param [options.offsetHeight = 0] - 在起点增加的高度值,比如加上人的身高
34802
34908
  * @param [options.splitNum = 50] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
34803
- * @param [options.minDistance] - 插值时的最小间隔(单位:米),优先级高于splitNum
34909
+ * @param [options.minDistance] - 插值时的最小间隔(单位:米),提示:优先级高于splitNum,用于计算splitNum(非严格按这个值分割)
34804
34910
  * @returns 分析结果完成的Promise
34805
34911
  */
34806
34912
  addAsync(origin: Cesium.Cartesian3, target: Cesium.Cartesian3, options?: {
@@ -36148,7 +36254,8 @@ declare class TilesetBoxClip extends BaseThing {
36148
36254
  * @param options.layer - 需要裁剪的对象(3dtiles图层)
36149
36255
  * @param [options.area] - 多区域数组对象, 示例: [{ positions: [[108.959062, 34.220134, 397], [108.959802, 34.220147, 397], [108.959106, 34.21953, 398]] }]
36150
36256
  * @param [options.clipOutSide = false] - 是否外裁剪
36151
- * @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false: 掩膜模式,栅格化范围,效率与范围顶点数量无关,但放大后锯齿化严重
36257
+ * @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false: 掩膜模式,栅格化范围,效率与范围顶点数量无关,但放大后锯齿化严重(模型面积越大越严重)
36258
+ * @param [options.maxCanvasSize = 4096] - 掩膜模式下最大分辨率半径(单位:像素),值过大时会WebGL报错: INVALID_VALUE: texImage2D: no canvas
36152
36259
  * @param [options.czm = true] - true:使用cesium原生clippingPolygons接口来操作,false:使用mars3d自定义方式操作
36153
36260
  * @param [options.id = createGuid()] - 对象的id标识
36154
36261
  * @param [options.enabled = true] - 对象的启用状态
@@ -36160,6 +36267,7 @@ declare class TilesetClip extends TilesetEditBase {
36160
36267
  area?: any;
36161
36268
  clipOutSide?: boolean;
36162
36269
  precise?: boolean;
36270
+ maxCanvasSize?: number;
36163
36271
  czm?: boolean;
36164
36272
  id?: string | number;
36165
36273
  enabled?: boolean;
@@ -36324,7 +36432,8 @@ declare class TilesetEditBase extends BaseThing {
36324
36432
  * @param [options.area] - 多区域数组对象, 示例: [{ positions: [[108.959062, 34.220134, 397], [108.959802, 34.220147, 397], [108.959106, 34.21953, 398]] }]
36325
36433
  * @param [options.editHeight] - 模型基准高度(单位:米),基于压平/淹没区域最低点高度的纠偏,也支持定义在模型图层中
36326
36434
  * @param [options.raise = true] - 是否开启区域抬高
36327
- * @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false: 掩膜模式,栅格化范围,效率与范围顶点数量无关,但放大后锯齿化严重
36435
+ * @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false: 掩膜模式,栅格化范围,效率与范围顶点数量无关,但放大后锯齿化严重(模型面积越大越严重)
36436
+ * @param [options.maxCanvasSize = 4096] - 掩膜模式下最大分辨率半径(单位:像素)
36328
36437
  * @param [options.id = createGuid()] - 对象的id标识
36329
36438
  * @param [options.enabled = true] - 对象的启用状态
36330
36439
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
@@ -36336,6 +36445,7 @@ declare class TilesetFlat extends TilesetEditBase {
36336
36445
  editHeight?: number;
36337
36446
  raise?: boolean;
36338
36447
  precise?: boolean;
36448
+ maxCanvasSize?: number;
36339
36449
  id?: string | number;
36340
36450
  enabled?: boolean;
36341
36451
  eventParent?: BaseClass | boolean;
@@ -36399,7 +36509,8 @@ declare namespace TilesetFlood {
36399
36509
  * @param [options.color = new Cesium.Color(0.15, 0.7, 0.95, 0.5)] - 淹没颜色
36400
36510
  * @param [options.floodAll] - 是否对整个模型进行分析
36401
36511
  * @param [options.limitMin = false] - 显示效果中是否不显示最低高度以下的部分颜色
36402
- * @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false: 掩膜模式,栅格化范围,效率与范围顶点数量无关,但放大后锯齿化严重
36512
+ * @param [options.precise = true] - true:精确模式, 直接存储范围,但传入的范围顶点数量多时,就会造成一定程度的卡顿; false: 掩膜模式,栅格化范围,效率与范围顶点数量无关,但放大后锯齿化严重(模型面积越大越严重)
36513
+ * @param [options.maxCanvasSize = 4096] - 掩膜模式下最大分辨率半径(单位:像素)
36403
36514
  * @param [options.id = createGuid()] - 对象的id标识
36404
36515
  * @param [options.enabled = true] - 对象的启用状态
36405
36516
  * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
@@ -36415,6 +36526,7 @@ declare class TilesetFlood extends TilesetEditBase {
36415
36526
  floodAll?: boolean;
36416
36527
  limitMin?: boolean;
36417
36528
  precise?: boolean;
36529
+ maxCanvasSize?: number;
36418
36530
  id?: string | number;
36419
36531
  enabled?: boolean;
36420
36532
  eventParent?: BaseClass | boolean;
@@ -37060,6 +37172,13 @@ declare class PointStyleConver extends BaseStyleConver {
37060
37172
  * @returns json简单对象
37061
37173
  */
37062
37174
  static toJSON(czmVal: any, style?: any, isEntity?: boolean): any;
37175
+ /**
37176
+ * 设置Label全局透明度
37177
+ * @param point - 文本对象
37178
+ * @param value - 透明度
37179
+ * @returns 无
37180
+ */
37181
+ static setOpacity(point: Cesium.PointGraphics | Cesium.PointPrimitive, value: number): void;
37063
37182
  }
37064
37183
 
37065
37184
  /**
@@ -38503,7 +38622,7 @@ declare namespace PolyUtil {
38503
38622
  * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
38504
38623
  * @param options.positions - 坐标数组
38505
38624
  * @param [options.splitNum = 100] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
38506
- * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
38625
+ * @param [options.minDistance] - 插值最小间隔(单位:米),提示:优先级高于splitNum,用于计算splitNum(非严格按这个值分割)
38507
38626
  * @param [options.height = 0] - 坐标的高度
38508
38627
  * @param [options.surfaceHeight = true] - 是否计算贴地高度 (非精确计算,根据当前加载的地形和模型数据情况有关)
38509
38628
  * @returns 插值后的路线坐标数组
@@ -38535,7 +38654,7 @@ declare namespace PolyUtil {
38535
38654
  * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
38536
38655
  * @param options.positions - 坐标数组
38537
38656
  * @param [options.splitNum = 100] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
38538
- * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
38657
+ * @param [options.minDistance] - 插值最小间隔(单位:米),提示:优先级高于splitNum,用于计算splitNum(非严格按这个值分割)
38539
38658
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
38540
38659
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
38541
38660
  * @param [options.exact = false] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
@@ -38589,7 +38708,7 @@ declare namespace PolyUtil {
38589
38708
  * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
38590
38709
  * @param options.positions - 坐标数组
38591
38710
  * @param [options.splitNum = 100] - 插值数,等比分割的个数(概略值,有经纬网网格来插值)
38592
- * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
38711
+ * @param [options.minDistance] - 插值最小间隔(单位:米),提示:优先级高于splitNum,用于计算splitNum(非严格按这个值分割)
38593
38712
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
38594
38713
  * @param [options.objectsToExclude] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
38595
38714
  * @param [options.exact = false] - 是否进行精确计算, 传false时是否快速概略计算方式,该方式计算精度较低,但计算速度快,仅能计算在当前视域内坐标的高度
@@ -38706,7 +38825,7 @@ declare namespace PolyUtil {
38706
38825
  * @param options.scene - 三维地图场景对象,一般用map.scene或viewer.scene
38707
38826
  * @param options.positions - 坐标数组
38708
38827
  * @param [options.splitNum = 100] - 计算的间隔长度,数据量不能大于Cesium.ContextLimits.maximumTextureSize
38709
- * @param [options.minDistance] - 插值最小间隔(单位:米),优先级高于splitNum
38828
+ * @param [options.minDistance] - 插值最小间隔(单位:米),提示:优先级高于splitNum,用于计算splitNum(非严格按这个值分割)
38710
38829
  * @param [options.cameraHeight = scene.camera.positionCartographic.height] - 相机高度
38711
38830
  * @returns 计算完成的相关数据
38712
38831
  */
@@ -39431,6 +39550,7 @@ declare namespace material {
39431
39550
  export { LineFlowColorMaterialProperty }
39432
39551
  export { LineFlowMaterialProperty }
39433
39552
  export { LineTrailMaterialProperty }
39553
+ export { LineDashArrowMaterialProperty }
39434
39554
  export { NeonLightMaterialProperty }
39435
39555
  export { ODLineMaterialProperty }
39436
39556
  export { PolyAsphaltMaterialProperty }