mars3d 3.5.6 → 3.5.7

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.5.6
6
- * 编译日期:2023-05-08 17:54:45
5
+ * 版本信息:v3.5.7
6
+ * 编译日期:2023-05-16 21:06:52
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
8
  * 使用单位:免费公开版 ,2023-03-17
9
9
  */
@@ -17,7 +17,7 @@ declare const update: string
17
17
  declare const name: string
18
18
 
19
19
  declare const proj4: any
20
-
20
+ declare const widget: any
21
21
  declare const provider: any
22
22
 
23
23
 
@@ -174,6 +174,10 @@ declare enum EventType {
174
174
  * 移除图层[map上监听时使用]
175
175
  */
176
176
  removeLayer = "removeLayer",
177
+ /**
178
+ * 底图变化了,在 map.basemap = xx 时触发
179
+ */
180
+ changeBasemap = "changeBasemap",
177
181
  /**
178
182
  * 地图上添加控件
179
183
  */
@@ -557,7 +561,6 @@ declare enum GraphicType {
557
561
  flatBillboard,
558
562
  model,
559
563
  modelP,
560
- modelC,
561
564
  plane,
562
565
  planeP,
563
566
  doubleSidedPlane,
@@ -1508,7 +1511,11 @@ declare enum State {
1508
1511
  */
1509
1512
  INITIALIZED = "inited",
1510
1513
  /**
1511
- * 已添加到地图上
1514
+ * 开始添加到地图上,添加前
1515
+ */
1516
+ ADD = "add",
1517
+ /**
1518
+ * 已添加到地图上,添加结束
1512
1519
  */
1513
1520
  ADDED = "added",
1514
1521
  /**
@@ -2481,7 +2488,7 @@ declare class BaseClass {
2481
2488
  destroy(noDel?: boolean): void;
2482
2489
  /**
2483
2490
  * 绑定指定类型事件监听器,
2484
- * 支持在监听中调用 event.stopPropagation(); 组织事件冒泡
2491
+ * 支持在监听中调用 event.stopPropagation(); 阻止事件冒泡
2485
2492
  * @param types - 事件类型
2486
2493
  * @param fn - 绑定的监听器回调方法
2487
2494
  * @param [context] - 侦听器的上下文(this关键字将指向的对象)。
@@ -3054,8 +3061,9 @@ declare class MarsArray {
3054
3061
  * 遍历每一个对象并将其作为参数传递给回调函数
3055
3062
  * @param method - 回调方法
3056
3063
  * @param [context] - 侦听器的上下文(this关键字将指向的对象)。
3064
+ * @param [reverse] - 是否倒序执行
3057
3065
  */
3058
- forEach(method: (...params: any[]) => any, context?: any): void;
3066
+ forEach(method: (...params: any[]) => any, context?: any, reverse?: boolean): void;
3059
3067
  /**
3060
3068
  * 清空集合
3061
3069
  */
@@ -4852,91 +4860,6 @@ declare class FrustumCombine extends BasePointCombine {
4852
4860
  });
4853
4861
  }
4854
4862
 
4855
- /**
4856
- * 大数据 gltf小模型集合 (合并渲染) Primitive图元 矢量对象 <br />
4857
- * 【注意:该类仅对Cesium 1.97之前版本有效,1.97后Cesium移除了 Cesium.ModelInstanceCollection 】
4858
- * @param options - 参数对象,包括以下:
4859
- * @param [options.url] - glTF模型的URI的字符串或资源属性。
4860
- * @param [options.instances] - 集合信息数组,单个对象包括:
4861
- * @param options.instances.position - 坐标位置
4862
- * @param [options.instances.style] - 样式信息(目前仅支持方向和比例参数)
4863
- * @param [options.instances.attr] - 矢量数据的 属性信息,可以任意附加属性。
4864
- * @param [options.batchTable] - 实例化的3D贴图的Cesium.Cesium3DTileBatchTable批处理表。
4865
- * @param [options.requestType] - 请求类型,用于确定请求的优先级
4866
- * @param [options.gltf] - 一个glTF JSON对象,或者一个二进制的glTF缓冲区。
4867
- * @param [options.basePath = ''] - glTF JSON中路径相对的基本路径。
4868
- * @param [options.dynamic = false] - 提示实例模型矩阵是否会频繁更新。
4869
- * @param [options.allowPicking = true] - 当true时,每个glTF和Primitive都可以用{@link Cesium.Scene#pick}来拾取。
4870
- * @param [options.asynchronous = true] - 确定模型WebGL资源创建是否将分散在几个帧或块上,直到所有glTF文件加载完成。
4871
- * @param [options.incrementallyLoadTextures = true] - 确定模型加载后纹理是否会继续流进来。
4872
- * @param [options.shadows = ShadowMode.ENABLED] - 指定模型是投射还是接收来自光源的阴影。
4873
- * @param [options.imageBasedLightingFactor = new Cartesian2(1.0, 1.0)] - 指定来自基于图像的漫反射和镜面照明的贡献。
4874
- * @param [options.lightColor] - 光的颜色当遮光模型。当undefined场景的浅色被使用代替。
4875
- * @param [options.backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;当为false时,禁用背面剔除。
4876
- * @param [options.debugShowBoundingVolume = false] - 仅供调试。查看模型的包围边界球。
4877
- * @param [options.enableDebugWireframe = false] - 仅供调试。是否可以通过debugWireframe来切换查看模型的三角网线框图。
4878
- * @param [options.debugWireframe = false] - 仅供调试。是否打开模型的三角网线框图。
4879
- *
4880
- * //以下是 模型动画相关
4881
- * @param [options.startTime] - 场景时间开始播放动画。当undefined时,动画从下一帧开始。
4882
- * @param [options.delay = 0.0] - 从startTime开始播放的延迟,以秒为单位。
4883
- * @param [options.stopTime] - 场景时间停止播放动画。当这是undefined,动画播放它的整个持续时间。
4884
- * @param [options.removeOnStop = false] - 当true时,动画在停止播放后被删除。
4885
- * @param [options.multiplier = 1.0] - 大于1.0的值增加动画播放的速度相对于场景时钟的速度;小于1.0会降低速度。
4886
- * @param [options.reverse = false] - 当true时,动画会反向播放。
4887
- * @param [options.loop = Cesium.ModelAnimationLoop.REPEAT] - 决定动画是否循环以及如何循环。
4888
- * @param [options.id = createGuid()] - 矢量数据id标识
4889
- * @param [options.name = ''] - 矢量数据名称
4890
- * @param [options.show = true] - 矢量数据是否显示
4891
- * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
4892
- * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
4893
- * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
4894
- * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
4895
- */
4896
- declare class ModelCombine extends BaseCombine {
4897
- constructor(options: {
4898
- url?: Cesium.Resource | string;
4899
- instances?: {
4900
- position: LngLatPoint | Cesium.Cartesian3 | number[];
4901
- style?: ModelPrimitive.StyleOptions | any;
4902
- attr?: any;
4903
- }[];
4904
- batchTable?: any;
4905
- requestType?: any;
4906
- gltf?: any | ArrayBuffer | Uint8Array;
4907
- basePath?: Cesium.Resource | string;
4908
- dynamic?: boolean;
4909
- allowPicking?: boolean;
4910
- asynchronous?: boolean;
4911
- incrementallyLoadTextures?: boolean;
4912
- shadows?: Cesium.ShadowMode;
4913
- imageBasedLightingFactor?: Cesium.Cartesian2;
4914
- lightColor?: Cesium.Cartesian3;
4915
- backFaceCulling?: boolean;
4916
- debugShowBoundingVolume?: boolean;
4917
- enableDebugWireframe?: boolean;
4918
- debugWireframe?: boolean;
4919
- startTime?: Cesium.JulianDate;
4920
- delay?: number;
4921
- stopTime?: Cesium.JulianDate;
4922
- removeOnStop?: boolean;
4923
- multiplier?: number;
4924
- reverse?: boolean;
4925
- loop?: Cesium.ModelAnimationLoop;
4926
- id?: string | number;
4927
- name?: string;
4928
- show?: boolean;
4929
- eventParent?: BaseClass | boolean;
4930
- allowDrillPick?: boolean | ((...params: any[]) => any);
4931
- flyTo?: boolean;
4932
- flyToOptions?: any;
4933
- });
4934
- /**
4935
- * 是否可以调整透明度
4936
- */
4937
- readonly hasOpacity: boolean;
4938
- }
4939
-
4940
4863
  /**
4941
4864
  * 大数据 平面 集合 (合并渲染) Primitive图元 矢量对象
4942
4865
  * @param options - 参数对象,包括以下:
@@ -6553,6 +6476,7 @@ declare namespace DivBoderLabel {
6553
6476
  * @param options.style - 样式信息
6554
6477
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
6555
6478
  * @param [options.hasEdit = true] - 是否允许编辑
6479
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
6556
6480
  * @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
6557
6481
  * @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
6558
6482
  * @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
@@ -6577,6 +6501,7 @@ declare class DivBoderLabel extends DivGraphic {
6577
6501
  style: DivBoderLabel.StyleOptions | any;
6578
6502
  attr?: any;
6579
6503
  hasEdit?: boolean;
6504
+ hasEditContextMenu?: boolean;
6580
6505
  testPoint?: PointEntity.StyleOptions | any;
6581
6506
  pointerEvents?: boolean;
6582
6507
  hasZIndex?: boolean;
@@ -6660,6 +6585,7 @@ declare namespace DivGraphic {
6660
6585
  * @param options.style - 样式信息
6661
6586
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
6662
6587
  * @param [options.hasEdit = true] - 是否允许编辑
6588
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
6663
6589
  * @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
6664
6590
  * @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
6665
6591
  * @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
@@ -6692,6 +6618,7 @@ declare class DivGraphic extends BaseGraphic {
6692
6618
  style: DivGraphic.StyleOptions | any;
6693
6619
  attr?: any;
6694
6620
  hasEdit?: boolean;
6621
+ hasEditContextMenu?: boolean;
6695
6622
  testPoint?: PointEntity.StyleOptions | any;
6696
6623
  pointerEvents?: boolean;
6697
6624
  hasZIndex?: boolean;
@@ -6943,6 +6870,7 @@ declare namespace DivLightPoint {
6943
6870
  * @param options.style - 样式信息
6944
6871
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
6945
6872
  * @param [options.hasEdit = true] - 是否允许编辑
6873
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
6946
6874
  * @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
6947
6875
  * @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
6948
6876
  * @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
@@ -6967,6 +6895,7 @@ declare class DivLightPoint extends DivGraphic {
6967
6895
  style: DivLightPoint.StyleOptions | any;
6968
6896
  attr?: any;
6969
6897
  hasEdit?: boolean;
6898
+ hasEditContextMenu?: boolean;
6970
6899
  testPoint?: PointEntity.StyleOptions | any;
6971
6900
  pointerEvents?: boolean;
6972
6901
  hasZIndex?: boolean;
@@ -7054,6 +6983,7 @@ declare namespace DivUpLabel {
7054
6983
  * @param options.style - 样式信息
7055
6984
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
7056
6985
  * @param [options.hasEdit = true] - 是否允许编辑
6986
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
7057
6987
  * @param [options.testPoint] - 测试点 的对应样式 ,可以进行用于比较测试div的位置,方便调试CSS。
7058
6988
  * @param [options.pointerEvents = true] - DIV是否可以鼠标交互,为false时可以穿透操作及缩放地图,但无法进行鼠标交互及触发相关事件。
7059
6989
  * @param [options.hasZIndex = false] - 是否自动调整DIV的层级顺序。
@@ -7078,6 +7008,7 @@ declare class DivUpLabel extends DivGraphic {
7078
7008
  style: DivUpLabel.StyleOptions | any;
7079
7009
  attr?: any;
7080
7010
  hasEdit?: boolean;
7011
+ hasEditContextMenu?: boolean;
7081
7012
  testPoint?: PointEntity.StyleOptions | any;
7082
7013
  pointerEvents?: boolean;
7083
7014
  hasZIndex?: boolean;
@@ -7509,6 +7440,7 @@ declare class BaseEntity extends BaseGraphic {
7509
7440
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
7510
7441
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
7511
7442
  * @param [options.hasEdit = true] - 是否允许编辑
7443
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
7512
7444
  * @param [options.maxCacheCount = 50] - 当使用addDynamicPosition设置为动画轨迹位置时,保留的坐标点数量,传-1时不限制
7513
7445
  * @param [options.forwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 当使用addDynamicPosition设置为动画轨迹位置时,在任何可用坐标之后一次请求值时要执行的推断类型,默认为最后一个坐标位置。
7514
7446
  * @param [options.backwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 当使用addDynamicPosition设置为动画轨迹位置时, 在任何可用坐标之前一次请求值时要执行的推断类型,默认为第一个坐标位置。
@@ -7544,6 +7476,7 @@ declare class BasePointEntity extends BaseEntity {
7544
7476
  onBeforeCreate?: (...params: any[]) => any;
7545
7477
  drawShow?: boolean;
7546
7478
  hasEdit?: boolean;
7479
+ hasEditContextMenu?: boolean;
7547
7480
  maxCacheCount?: number;
7548
7481
  forwardExtrapolationType?: Cesium.ExtrapolationType;
7549
7482
  backwardExtrapolationType?: Cesium.ExtrapolationType;
@@ -7692,6 +7625,7 @@ declare class BasePointEntity extends BaseEntity {
7692
7625
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
7693
7626
  * @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
7694
7627
  * @param [options.hasEdit = true] - 是否允许编辑
7628
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
7695
7629
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
7696
7630
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
7697
7631
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -7722,6 +7656,7 @@ declare class BasePolyEntity extends BaseEntity {
7722
7656
  validDrawPosition?: (...params: any[]) => any;
7723
7657
  hasDrawDelPoint?: boolean;
7724
7658
  hasEdit?: boolean;
7659
+ hasEditContextMenu?: boolean;
7725
7660
  hasMoveEdit?: boolean;
7726
7661
  hasHeightEdit?: boolean;
7727
7662
  popup?: string | any[] | ((...params: any[]) => any);
@@ -7922,6 +7857,7 @@ declare namespace BillboardEntity {
7922
7857
  * @param [options.objectsToExclude] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
7923
7858
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
7924
7859
  * @param [options.hasEdit = true] - 是否允许编辑
7860
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
7925
7861
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
7926
7862
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
7927
7863
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -7957,6 +7893,7 @@ declare class BillboardEntity extends BasePointEntity {
7957
7893
  objectsToExclude?: any;
7958
7894
  drawShow?: boolean;
7959
7895
  hasEdit?: boolean;
7896
+ hasEditContextMenu?: boolean;
7960
7897
  popup?: string | any[] | ((...params: any[]) => any);
7961
7898
  popupOptions?: Popup.StyleOptions | any;
7962
7899
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -8086,6 +8023,7 @@ declare namespace BoxEntity {
8086
8023
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
8087
8024
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
8088
8025
  * @param [options.hasEdit = true] - 是否允许编辑
8026
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
8089
8027
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
8090
8028
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
8091
8029
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -8112,6 +8050,7 @@ declare class BoxEntity {
8112
8050
  onBeforeCreate?: (...params: any[]) => any;
8113
8051
  drawShow?: boolean;
8114
8052
  hasEdit?: boolean;
8053
+ hasEditContextMenu?: boolean;
8115
8054
  popup?: string | any[] | ((...params: any[]) => any);
8116
8055
  popupOptions?: Popup.StyleOptions | any;
8117
8056
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -8238,6 +8177,7 @@ declare namespace CanvasLabelEntity {
8238
8177
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
8239
8178
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
8240
8179
  * @param [options.hasEdit = true] - 是否允许编辑
8180
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
8241
8181
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
8242
8182
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
8243
8183
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -8263,6 +8203,7 @@ declare class CanvasLabelEntity {
8263
8203
  onBeforeCreate?: (...params: any[]) => any;
8264
8204
  drawShow?: boolean;
8265
8205
  hasEdit?: boolean;
8206
+ hasEditContextMenu?: boolean;
8266
8207
  popup?: string | any[] | ((...params: any[]) => any);
8267
8208
  popupOptions?: Popup.StyleOptions | any;
8268
8209
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -8369,6 +8310,7 @@ declare namespace CircleEntity {
8369
8310
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
8370
8311
  * @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
8371
8312
  * @param [options.hasEdit = true] - 是否允许编辑
8313
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
8372
8314
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
8373
8315
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
8374
8316
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
@@ -8397,6 +8339,7 @@ declare class CircleEntity extends BasePointEntity {
8397
8339
  drawShow?: boolean;
8398
8340
  hasDrawDelPoint?: boolean;
8399
8341
  hasEdit?: boolean;
8342
+ hasEditContextMenu?: boolean;
8400
8343
  hasMoveEdit?: boolean;
8401
8344
  popup?: string | any[] | ((...params: any[]) => any);
8402
8345
  popupOptions?: Popup.StyleOptions | any;
@@ -8768,6 +8711,7 @@ declare namespace CorridorEntity {
8768
8711
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
8769
8712
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
8770
8713
  * @param [options.hasEdit = true] - 是否允许编辑
8714
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
8771
8715
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
8772
8716
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
8773
8717
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -8797,6 +8741,7 @@ declare class CorridorEntity extends BasePolyEntity {
8797
8741
  maxPointNum?: number;
8798
8742
  validDrawPosition?: (...params: any[]) => any;
8799
8743
  hasEdit?: boolean;
8744
+ hasEditContextMenu?: boolean;
8800
8745
  hasMoveEdit?: boolean;
8801
8746
  hasHeightEdit?: boolean;
8802
8747
  popup?: string | any[] | ((...params: any[]) => any);
@@ -8839,6 +8784,7 @@ declare class CorridorEntity extends BasePolyEntity {
8839
8784
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
8840
8785
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
8841
8786
  * @param [options.hasEdit = true] - 是否允许编辑
8787
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
8842
8788
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
8843
8789
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
8844
8790
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -8869,6 +8815,7 @@ declare class CurveEntity extends PolylineEntity {
8869
8815
  maxPointNum?: number;
8870
8816
  validDrawPosition?: (...params: any[]) => any;
8871
8817
  hasEdit?: boolean;
8818
+ hasEditContextMenu?: boolean;
8872
8819
  hasMoveEdit?: boolean;
8873
8820
  hasHeightEdit?: boolean;
8874
8821
  popup?: string | any[] | ((...params: any[]) => any);
@@ -9111,6 +9058,7 @@ declare namespace DivBillboardEntity {
9111
9058
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9112
9059
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
9113
9060
  * @param [options.hasEdit = true] - 是否允许编辑
9061
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
9114
9062
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
9115
9063
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
9116
9064
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -9136,6 +9084,7 @@ declare class DivBillboardEntity extends BillboardEntity {
9136
9084
  onBeforeCreate?: (...params: any[]) => any;
9137
9085
  drawShow?: boolean;
9138
9086
  hasEdit?: boolean;
9087
+ hasEditContextMenu?: boolean;
9139
9088
  popup?: string | any[] | ((...params: any[]) => any);
9140
9089
  popupOptions?: Popup.StyleOptions | any;
9141
9090
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -9395,6 +9344,7 @@ declare namespace EllipseEntity {
9395
9344
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9396
9345
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
9397
9346
  * @param [options.hasEdit = true] - 是否允许编辑
9347
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
9398
9348
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
9399
9349
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
9400
9350
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -9420,6 +9370,7 @@ declare class EllipseEntity extends CircleEntity {
9420
9370
  onBeforeCreate?: (...params: any[]) => any;
9421
9371
  drawShow?: boolean;
9422
9372
  hasEdit?: boolean;
9373
+ hasEditContextMenu?: boolean;
9423
9374
  popup?: string | any[] | ((...params: any[]) => any);
9424
9375
  popupOptions?: Popup.StyleOptions | any;
9425
9376
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -9561,6 +9512,7 @@ declare namespace EllipsoidEntity {
9561
9512
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
9562
9513
  * @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
9563
9514
  * @param [options.hasEdit = true] - 是否允许编辑
9515
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
9564
9516
  * @param [options.hasEditRadii = true] - 编辑时,是否可以编辑半径
9565
9517
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
9566
9518
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
@@ -9590,6 +9542,7 @@ declare class EllipsoidEntity extends BasePointEntity {
9590
9542
  drawShow?: boolean;
9591
9543
  hasDrawDelPoint?: boolean;
9592
9544
  hasEdit?: boolean;
9545
+ hasEditContextMenu?: boolean;
9593
9546
  hasEditRadii?: boolean;
9594
9547
  popup?: string | any[] | ((...params: any[]) => any);
9595
9548
  popupOptions?: Popup.StyleOptions | any;
@@ -9733,6 +9686,7 @@ declare namespace FontBillboardEntity {
9733
9686
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9734
9687
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
9735
9688
  * @param [options.hasEdit = true] - 是否允许编辑
9689
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
9736
9690
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
9737
9691
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
9738
9692
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -9758,6 +9712,7 @@ declare class FontBillboardEntity extends BasePointEntity {
9758
9712
  onBeforeCreate?: (...params: any[]) => any;
9759
9713
  drawShow?: boolean;
9760
9714
  hasEdit?: boolean;
9715
+ hasEditContextMenu?: boolean;
9761
9716
  popup?: string | any[] | ((...params: any[]) => any);
9762
9717
  popupOptions?: Popup.StyleOptions | any;
9763
9718
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -9878,6 +9833,7 @@ declare namespace LabelEntity {
9878
9833
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
9879
9834
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
9880
9835
  * @param [options.hasEdit = true] - 是否允许编辑
9836
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
9881
9837
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
9882
9838
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
9883
9839
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -9903,6 +9859,7 @@ declare class LabelEntity {
9903
9859
  onBeforeCreate?: (...params: any[]) => any;
9904
9860
  drawShow?: boolean;
9905
9861
  hasEdit?: boolean;
9862
+ hasEditContextMenu?: boolean;
9906
9863
  popup?: string | any[] | ((...params: any[]) => any);
9907
9864
  popupOptions?: Popup.StyleOptions | any;
9908
9865
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -10061,6 +10018,7 @@ declare namespace ModelEntity {
10061
10018
  * @param [options.autoMiddleDynamicPosition] - 当使用addDynamicPosition设置为动画轨迹位置时,如果中间缺少数据时是否自动添加中间点。
10062
10019
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
10063
10020
  * @param [options.hasEdit = true] - 是否允许编辑
10021
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
10064
10022
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
10065
10023
  * @param [options.hasEditScale = false] - 编辑时,是否自动启用调整缩放比例
10066
10024
  * @param [options.hasEditRotate = false] - 编辑时,是否自动启用调整方向
@@ -10103,6 +10061,7 @@ declare class ModelEntity extends BasePointEntity {
10103
10061
  autoMiddleDynamicPosition?: boolean;
10104
10062
  drawShow?: boolean;
10105
10063
  hasEdit?: boolean;
10064
+ hasEditContextMenu?: boolean;
10106
10065
  hasMoveEdit?: boolean;
10107
10066
  hasEditScale?: number;
10108
10067
  hasEditRotate?: number;
@@ -10138,7 +10097,7 @@ declare class ModelEntity extends BasePointEntity {
10138
10097
  /**
10139
10098
  * 获取模型完成解析加载完成的Promise承诺, 等价于load事件(区别在于load事件必须在load完成前绑定才能监听)。
10140
10099
  * @example
10141
- * model.readyPromise.then(function(layer) {
10100
+ * modelEntity.readyPromise.then(function(layer) {
10142
10101
  * console.log("load完成", layer)
10143
10102
  * })
10144
10103
  */
@@ -10560,6 +10519,7 @@ declare namespace PlaneEntity {
10560
10519
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
10561
10520
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
10562
10521
  * @param [options.hasEdit = true] - 是否允许编辑
10522
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
10563
10523
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10564
10524
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10565
10525
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -10586,6 +10546,7 @@ declare class PlaneEntity {
10586
10546
  onBeforeCreate?: (...params: any[]) => any;
10587
10547
  drawShow?: boolean;
10588
10548
  hasEdit?: boolean;
10549
+ hasEditContextMenu?: boolean;
10589
10550
  popup?: string | any[] | ((...params: any[]) => any);
10590
10551
  popupOptions?: Popup.StyleOptions | any;
10591
10552
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -10684,6 +10645,7 @@ declare namespace PointEntity {
10684
10645
  * @param [options.objectsToExclude] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
10685
10646
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
10686
10647
  * @param [options.hasEdit = true] - 是否允许编辑
10648
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
10687
10649
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
10688
10650
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
10689
10651
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -10719,6 +10681,7 @@ declare class PointEntity extends BasePointEntity {
10719
10681
  objectsToExclude?: any;
10720
10682
  drawShow?: boolean;
10721
10683
  hasEdit?: boolean;
10684
+ hasEditContextMenu?: boolean;
10722
10685
  popup?: string | any[] | ((...params: any[]) => any);
10723
10686
  popupOptions?: Popup.StyleOptions | any;
10724
10687
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -10845,6 +10808,7 @@ declare namespace PolygonEntity {
10845
10808
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
10846
10809
  * @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
10847
10810
  * @param [options.hasEdit = true] - 是否允许编辑
10811
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
10848
10812
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
10849
10813
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
10850
10814
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -10875,6 +10839,7 @@ declare class PolygonEntity extends BasePolyEntity {
10875
10839
  validDrawPosition?: (...params: any[]) => any;
10876
10840
  hasDrawDelPoint?: boolean;
10877
10841
  hasEdit?: boolean;
10842
+ hasEditContextMenu?: boolean;
10878
10843
  hasMoveEdit?: boolean;
10879
10844
  hasHeightEdit?: boolean;
10880
10845
  popup?: string | any[] | ((...params: any[]) => any);
@@ -11035,6 +11000,7 @@ declare namespace PolylineEntity {
11035
11000
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
11036
11001
  * @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
11037
11002
  * @param [options.hasEdit = true] - 是否允许编辑
11003
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
11038
11004
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
11039
11005
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
11040
11006
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -11065,6 +11031,7 @@ declare class PolylineEntity extends BasePolyEntity {
11065
11031
  validDrawPosition?: (...params: any[]) => any;
11066
11032
  hasDrawDelPoint?: boolean;
11067
11033
  hasEdit?: boolean;
11034
+ hasEditContextMenu?: boolean;
11068
11035
  hasMoveEdit?: boolean;
11069
11036
  hasHeightEdit?: boolean;
11070
11037
  popup?: string | any[] | ((...params: any[]) => any);
@@ -11167,6 +11134,7 @@ declare namespace PolylineVolumeEntity {
11167
11134
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
11168
11135
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
11169
11136
  * @param [options.hasEdit = true] - 是否允许编辑
11137
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
11170
11138
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
11171
11139
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
11172
11140
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -11196,6 +11164,7 @@ declare class PolylineVolumeEntity extends BasePolyEntity {
11196
11164
  maxPointNum?: number;
11197
11165
  validDrawPosition?: (...params: any[]) => any;
11198
11166
  hasEdit?: boolean;
11167
+ hasEditContextMenu?: boolean;
11199
11168
  hasMoveEdit?: boolean;
11200
11169
  hasHeightEdit?: boolean;
11201
11170
  popup?: string | any[] | ((...params: any[]) => any);
@@ -11311,6 +11280,7 @@ declare namespace RectangleEntity {
11311
11280
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
11312
11281
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
11313
11282
  * @param [options.hasEdit = true] - 是否允许编辑
11283
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
11314
11284
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
11315
11285
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
11316
11286
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -11341,6 +11311,7 @@ declare class RectangleEntity extends BasePolyEntity {
11341
11311
  maxPointNum?: number;
11342
11312
  validDrawPosition?: (...params: any[]) => any;
11343
11313
  hasEdit?: boolean;
11314
+ hasEditContextMenu?: boolean;
11344
11315
  hasMoveEdit?: boolean;
11345
11316
  hasHeightEdit?: boolean;
11346
11317
  popup?: string | any[] | ((...params: any[]) => any);
@@ -11558,6 +11529,7 @@ declare namespace RectangularSensor {
11558
11529
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
11559
11530
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
11560
11531
  * @param [options.hasEdit = true] - 是否允许编辑
11532
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
11561
11533
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
11562
11534
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
11563
11535
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -11584,6 +11556,7 @@ declare class RectangularSensor {
11584
11556
  onBeforeCreate?: (...params: any[]) => any;
11585
11557
  drawShow?: boolean;
11586
11558
  hasEdit?: boolean;
11559
+ hasEditContextMenu?: boolean;
11587
11560
  popup?: string | any[] | ((...params: any[]) => any);
11588
11561
  popupOptions?: Popup.StyleOptions | any;
11589
11562
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -11610,7 +11583,8 @@ declare class RectangularSensor {
11610
11583
  declare namespace Video2D {
11611
11584
  /**
11612
11585
  * 视频融合(投射2D平面) 支持的样式信息
11613
- * @property options.container - 视频对应的video标签
11586
+ * @property [url] - 视频对应url地址
11587
+ * @property [container] - 视频对应的video标签,与url二选一
11614
11588
  * @property angle - 水平张角(度数)
11615
11589
  * @property angle2 - 垂直张角(度数)
11616
11590
  * @property distance - 投射距离
@@ -11635,6 +11609,8 @@ declare namespace Video2D {
11635
11609
  * @property [showFrustum = false] - 是否显示视椎体框线
11636
11610
  */
11637
11611
  type StyleOptions = any | {
11612
+ url?: string;
11613
+ container?: HTMLVideoElement;
11638
11614
  angle: number;
11639
11615
  angle2: number;
11640
11616
  distance: number;
@@ -11858,6 +11834,7 @@ declare namespace WallEntity {
11858
11834
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
11859
11835
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
11860
11836
  * @param [options.hasEdit = true] - 是否允许编辑
11837
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
11861
11838
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
11862
11839
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
11863
11840
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -11887,6 +11864,7 @@ declare class WallEntity extends BasePolyEntity {
11887
11864
  maxPointNum?: number;
11888
11865
  validDrawPosition?: (...params: any[]) => any;
11889
11866
  hasEdit?: boolean;
11867
+ hasEditContextMenu?: boolean;
11890
11868
  hasMoveEdit?: boolean;
11891
11869
  hasHeightEdit?: boolean;
11892
11870
  popup?: string | any[] | ((...params: any[]) => any);
@@ -12738,6 +12716,7 @@ declare class StraightArrow extends PolygonEntity {
12738
12716
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
12739
12717
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
12740
12718
  * @param [options.hasEdit = true] - 是否允许编辑
12719
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
12741
12720
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
12742
12721
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
12743
12722
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -12770,6 +12749,7 @@ declare class AngleMeasure extends PolylineEntity {
12770
12749
  maxPointNum?: number;
12771
12750
  validDrawPosition?: (...params: any[]) => any;
12772
12751
  hasEdit?: boolean;
12752
+ hasEditContextMenu?: boolean;
12773
12753
  hasMoveEdit?: boolean;
12774
12754
  hasHeightEdit?: boolean;
12775
12755
  popup?: string | any[] | ((...params: any[]) => any);
@@ -12815,6 +12795,7 @@ declare class AngleMeasure extends PolylineEntity {
12815
12795
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
12816
12796
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
12817
12797
  * @param [options.hasEdit = true] - 是否允许编辑
12798
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
12818
12799
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
12819
12800
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
12820
12801
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -12846,6 +12827,7 @@ declare class AreaMeasure extends PolygonEntity {
12846
12827
  maxPointNum?: number;
12847
12828
  validDrawPosition?: (...params: any[]) => any;
12848
12829
  hasEdit?: boolean;
12830
+ hasEditContextMenu?: boolean;
12849
12831
  hasMoveEdit?: boolean;
12850
12832
  hasHeightEdit?: boolean;
12851
12833
  popup?: string | any[] | ((...params: any[]) => any);
@@ -12897,6 +12879,7 @@ declare class AreaMeasure extends PolygonEntity {
12897
12879
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
12898
12880
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
12899
12881
  * @param [options.hasEdit = true] - 是否允许编辑
12882
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
12900
12883
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
12901
12884
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
12902
12885
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -12928,6 +12911,7 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
12928
12911
  maxPointNum?: number;
12929
12912
  validDrawPosition?: (...params: any[]) => any;
12930
12913
  hasEdit?: boolean;
12914
+ hasEditContextMenu?: boolean;
12931
12915
  hasMoveEdit?: boolean;
12932
12916
  hasHeightEdit?: boolean;
12933
12917
  popup?: string | any[] | ((...params: any[]) => any);
@@ -12963,6 +12947,7 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
12963
12947
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
12964
12948
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
12965
12949
  * @param [options.hasEdit = true] - 是否允许编辑
12950
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
12966
12951
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
12967
12952
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
12968
12953
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -12994,6 +12979,7 @@ declare class DistanceMeasure extends PolylineEntity {
12994
12979
  maxPointNum?: number;
12995
12980
  validDrawPosition?: (...params: any[]) => any;
12996
12981
  hasEdit?: boolean;
12982
+ hasEditContextMenu?: boolean;
12997
12983
  hasMoveEdit?: boolean;
12998
12984
  hasHeightEdit?: boolean;
12999
12985
  popup?: string | any[] | ((...params: any[]) => any);
@@ -13039,6 +13025,7 @@ declare class DistanceMeasure extends PolylineEntity {
13039
13025
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
13040
13026
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
13041
13027
  * @param [options.hasEdit = true] - 是否允许编辑
13028
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
13042
13029
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
13043
13030
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
13044
13031
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -13070,6 +13057,7 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
13070
13057
  maxPointNum?: number;
13071
13058
  validDrawPosition?: (...params: any[]) => any;
13072
13059
  hasEdit?: boolean;
13060
+ hasEditContextMenu?: boolean;
13073
13061
  hasMoveEdit?: boolean;
13074
13062
  hasHeightEdit?: boolean;
13075
13063
  popup?: string | any[] | ((...params: any[]) => any);
@@ -13105,6 +13093,7 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
13105
13093
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
13106
13094
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
13107
13095
  * @param [options.hasEdit = true] - 是否允许编辑
13096
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
13108
13097
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
13109
13098
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
13110
13099
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -13136,6 +13125,7 @@ declare class HeightMeasure extends PolylineEntity {
13136
13125
  maxPointNum?: number;
13137
13126
  validDrawPosition?: (...params: any[]) => any;
13138
13127
  hasEdit?: boolean;
13128
+ hasEditContextMenu?: boolean;
13139
13129
  hasMoveEdit?: boolean;
13140
13130
  hasHeightEdit?: boolean;
13141
13131
  popup?: string | any[] | ((...params: any[]) => any);
@@ -13181,6 +13171,7 @@ declare class HeightMeasure extends PolylineEntity {
13181
13171
  * @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
13182
13172
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
13183
13173
  * @param [options.hasEdit = true] - 是否允许编辑
13174
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
13184
13175
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
13185
13176
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
13186
13177
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -13212,6 +13203,7 @@ declare class HeightTriangleMeasure extends HeightMeasure {
13212
13203
  maxPointNum?: number;
13213
13204
  validDrawPosition?: (...params: any[]) => any;
13214
13205
  hasEdit?: boolean;
13206
+ hasEditContextMenu?: boolean;
13215
13207
  hasMoveEdit?: boolean;
13216
13208
  hasHeightEdit?: boolean;
13217
13209
  popup?: string | any[] | ((...params: any[]) => any);
@@ -13250,6 +13242,7 @@ declare class HeightTriangleMeasure extends HeightMeasure {
13250
13242
  * @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
13251
13243
  * @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
13252
13244
  * @param [options.hasEdit = true] - 是否允许编辑
13245
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
13253
13246
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
13254
13247
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
13255
13248
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
@@ -13276,6 +13269,7 @@ declare class PointMeasure extends PointEntity {
13276
13269
  onBeforeCreate?: (...params: any[]) => any;
13277
13270
  drawShow?: boolean;
13278
13271
  hasEdit?: boolean;
13272
+ hasEditContextMenu?: boolean;
13279
13273
  popup?: string | any[] | ((...params: any[]) => any);
13280
13274
  popupOptions?: Popup.StyleOptions | any;
13281
13275
  tooltip?: string | any[] | ((...params: any[]) => any);
@@ -13310,6 +13304,7 @@ declare class PointMeasure extends PointEntity {
13310
13304
  * @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
13311
13305
  * @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
13312
13306
  * @param [options.hasEdit = true] - 是否允许编辑
13307
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单
13313
13308
  * @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
13314
13309
  * @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
13315
13310
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
@@ -13342,6 +13337,7 @@ declare class SectionMeasure extends DistanceMeasure {
13342
13337
  validDrawPosition?: (...params: any[]) => any;
13343
13338
  addHeight?: number;
13344
13339
  hasEdit?: boolean;
13340
+ hasEditContextMenu?: boolean;
13345
13341
  hasMoveEdit?: boolean;
13346
13342
  hasHeightEdit?: boolean;
13347
13343
  popup?: string | any[] | ((...params: any[]) => any);
@@ -15746,221 +15742,6 @@ declare class LightCone extends BasePointPrimitive {
15746
15742
  readonly czmObject: Cesium.Entity | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.ClassificationPrimitive | any;
15747
15743
  }
15748
15744
 
15749
- declare namespace ModelPrimitive {
15750
- /**
15751
- * gltf小模型 支持的样式信息
15752
- * @property [url] - glTF模型的URI的字符串或资源属性。
15753
- * @property [scale = 1] - 整体缩放比例
15754
- * @property [scaleX = 1] - X轴方向缩放比例
15755
- * @property [scaleY = 1] - Y轴方向缩放比例
15756
- * @property [scaleZ = 1] - Z轴方向缩放比例
15757
- * @property [heading = 0] - 方向角 (度数值,0-360度),优先级高于orientation
15758
- * @property [pitch = 0] - 俯仰角(度数值,0-360度),优先级高于orientation
15759
- * @property [roll = 0] - 翻滚角(度数值,0-360度),优先级高于orientation
15760
- * @property [mergeOrientation = false] - 当存在orientation时(如addDynamicPosition等),设置为true时,可以在orientation基础的方式值上叠加设置是heading、pitch、roll值,比如用于设置模型不是标准的方向时的处理
15761
- * @property [minimumPixelSize = 0.0] - 指定模型的近似最小像素大小,而不考虑缩放。
15762
- * @property [maximumScale] - 模型的最大比例尺寸。minimumPixelSize的上限。
15763
- * @property [fill = false] - 是否填充,指定与模型渲染颜色混合
15764
- * @property [color = "#3388ff"] - 颜色
15765
- * @property [opacity = 1.0] - 透明度,取值范围:0.0-1.0
15766
- * @property [colorBlendMode = ColorBlendMode.HIGHLIGHT] - 指定颜色如何与模型混合。
15767
- * @property [colorBlendAmount = 0.5] - 当colorBlendMode为MIX时指定颜色强度的数字属性。0.0的值表示模型渲染的颜色,1.0的值表示纯色,任何介于两者之间的值表示两者的混合。
15768
- * @property [silhouette = false] - 是否轮廓
15769
- * @property [silhouetteColor = "#ff0000"] - 轮廓颜色
15770
- * @property [silhouetteSize = 2] - 轮廓宽度
15771
- * @property [silhouetteAlpha = 0.8] - 轮廓透明度
15772
- * @property [distanceDisplayCondition = false] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
15773
- * @property [distanceDisplayCondition_near = 0] - 最小距离
15774
- * @property [distanceDisplayCondition_far = number.MAX_VALUE] - 最大距离
15775
- * @property [distanceDisplayPoint] - 当视角距离超过一定距离后(distanceDisplayCondition_far定义的) 后显示为 像素点 对象的样式,仅在distanceDisplayCondition设置时有效。
15776
- * @property [distanceDisplayBillboard] - 当视角距离超过一定距离后(distanceDisplayCondition_far定义的) 后显示为 图标 对象的样式,仅在distanceDisplayCondition设置时有效。
15777
- * @property [customShader] - 自定义shader效果
15778
- * @property [hasShadows = true] - 是否阴影
15779
- * @property [shadows = ShadowMode.ENABLED] - 指定模型是投射还是接收来自光源的阴影。
15780
- * @property [clampToGround = false] - 是否贴地
15781
- * @property [heightReference = Cesium.HeightReference.NONE] - 指定高度相对于什么的属性。
15782
- * @property [incrementallyLoadTextures = true] - 确定模型加载后纹理是否会继续流进来。
15783
- * @property [runAnimations = true] - 指定模型中指定的glTF动画是否应该启动。
15784
- * @property [clampAnimations = true] - 指定在没有关键帧的情况下,glTF动画是否应该保持最后一个姿势。
15785
- * @property [lightColor] - 在为模型着色时指定光的颜色的属性。当undefined场景的浅色被使用代替。
15786
- * @property [nodeTransformations] - 一个对象,其中键是节点的名称,值是{@link TranslationRotationScale}属性,描述要应用到该节点的转换。该转换是在节点的现有转换之后(如glTF中指定的那样)应用的,并且不会替换节点的现有转换。
15787
- * @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.
15788
- * @property [clippingPlanes] - 用于裁剪模型的Plane平面集合
15789
- * @property [allowPicking = true] - 当true时,每个glTF和Primitive都可以用{@link Cesium.Scene#pick}来拾取。
15790
- * @property [asynchronous = true] - 确定模型WebGL资源创建是否将分散在几个帧或块上,直到所有glTF文件加载完成。
15791
- * @property [dequantizeInShader = true] - 确定一个{@link https://github.com/google/draco|Draco}编码的模型是否在GPU上被去量化。这减少了编码模型的总内存使用量。
15792
- * @property [backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除是由材料的双面属性决定的;当为false时,禁用背面剔除。如果{@link Model#color}是半透明的,或者{@link Model#silhouette}大于0.0,则背面不会被剔除。
15793
- * @property [debugShowBoundingVolume = false] - 仅供调试。查看模型的包围边界球。
15794
- * @property [startTime] - 场景时间开始播放动画。当undefined时,动画从下一帧开始。
15795
- * @property [delay = 0.0] - 从startTime开始播放的延迟,以秒为单位。
15796
- * @property [stopTime] - 场景时间停止播放动画。当这是undefined,动画播放它的整个持续时间。
15797
- * @property [removeOnStop = false] - 当true时,动画在停止播放后被删除。
15798
- * @property [multiplier = 1.0] - 大于1.0的值增加动画播放的速度相对于场景时钟的速度;小于1.0会降低速度。
15799
- * @property [reverse = false] - 当true时,动画会反向播放。
15800
- * @property [loop = Cesium.ModelAnimationLoop.REPEAT] - 决定动画是否循环以及如何循环。
15801
- * @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
15802
- * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
15803
- * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
15804
- * @property [label] - 支持附带文字的显示
15805
- * @param [options.enableDebugWireframe = false] - 仅供调试。是否可以通过debugWireframe来切换查看模型的三角网线框图。
15806
- * @param [options.debugWireframe = false] - 仅供调试。是否打开模型的三角网线框图。
15807
- *
15808
- * //以下是 以下是 模型动画相关
15809
- */
15810
- type StyleOptions = any | {
15811
- url?: string | Cesium.Resource;
15812
- scale?: number;
15813
- scaleX?: number;
15814
- scaleY?: number;
15815
- scaleZ?: number;
15816
- heading?: number;
15817
- pitch?: number;
15818
- roll?: number;
15819
- mergeOrientation?: boolean;
15820
- minimumPixelSize?: number;
15821
- maximumScale?: number;
15822
- fill?: boolean;
15823
- color?: string | Cesium.Color;
15824
- opacity?: number;
15825
- colorBlendMode?: Cesium.ColorBlendMode;
15826
- colorBlendAmount?: number;
15827
- silhouette?: boolean;
15828
- silhouetteColor?: string | Cesium.Color;
15829
- silhouetteSize?: number;
15830
- silhouetteAlpha?: number;
15831
- distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
15832
- distanceDisplayCondition_near?: number;
15833
- distanceDisplayCondition_far?: number;
15834
- distanceDisplayPoint?: PointEntity.StyleOptions | any;
15835
- distanceDisplayBillboard?: BillboardEntity.StyleOptions | any;
15836
- customShader?: Cesium.CustomShader;
15837
- hasShadows?: boolean;
15838
- shadows?: Cesium.ShadowMode;
15839
- clampToGround?: boolean;
15840
- heightReference?: Cesium.HeightReference;
15841
- incrementallyLoadTextures?: boolean;
15842
- runAnimations?: boolean;
15843
- clampAnimations?: boolean;
15844
- lightColor?: Cesium.Color;
15845
- nodeTransformations?: Cesium.PropertyBag | {
15846
- [key: string]: Cesium.TranslationRotationScale;
15847
- };
15848
- articulations?: Cesium.PropertyBag | {
15849
- [key: string]: number;
15850
- };
15851
- clippingPlanes?: Cesium.ClippingPlaneCollection;
15852
- allowPicking?: boolean;
15853
- asynchronous?: boolean;
15854
- dequantizeInShader?: boolean;
15855
- backFaceCulling?: boolean;
15856
- debugShowBoundingVolume?: boolean;
15857
- startTime?: Cesium.JulianDate;
15858
- delay?: number;
15859
- stopTime?: Cesium.JulianDate;
15860
- removeOnStop?: boolean;
15861
- multiplier?: number;
15862
- reverse?: boolean;
15863
- loop?: Cesium.ModelAnimationLoop;
15864
- setHeight?: number | string;
15865
- addHeight?: number | string;
15866
- highlight?: ModelPrimitive.StyleOptions | any;
15867
- label?: LabelEntity.StyleOptions | any;
15868
- };
15869
- }
15870
-
15871
- /**
15872
- * gltf小模型 Primitive图元矢量对象
15873
- * @param options - 参数对象,包括以下:
15874
- * @param options.position - 坐标位置
15875
- * @param [options.orientation] - 实体方向,仅position是回调属性时有效
15876
- * @param [options.modelMatrix] - 将图元(所有几何实例)从模型转换为世界坐标的4x4变换矩阵,可以替代position。
15877
- * @param options.style - 样式信息
15878
- * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
15879
- * @param [options.frameRate = 1] - 当postion为CallbackProperty时,多少帧获取一次数据。用于控制效率,如果卡顿就把该数值调大一些。
15880
- * @param [options.appearance] - [cesium原生]用于渲染图元的外观。
15881
- * @param [options.attributes] - [cesium原生]每个实例的属性。
15882
- * @param [options.maxCacheCount = 50] - 当使用addDynamicPosition设置为动画轨迹位置时,保留的坐标点数量,传-1时不限制
15883
- * @param [options.forwardExtrapolationType = Cesium.ExtrapolationType.NONE] - 当使用addDynamicPosition设置为动画轨迹位置时,在任何可用坐标之后一次请求值时要执行的推断类型,默认为最后一个坐标位置。
15884
- * @param [options.backwardExtrapolationType = Cesium.ExtrapolationType.NONE] - 当使用addDynamicPosition设置为动画轨迹位置时, 在任何可用坐标之前一次请求值时要执行的推断类型,默认为第一个坐标位置。
15885
- * @param [options.clampToTileset] - 当使用addDynamicPosition设置为动画轨迹位置时,是否进行贴模型。
15886
- * @param [options.frameRateHeight = 30] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,多少帧计算一次贴模型高度
15887
- * @param [options.objectsToExclude] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
15888
- * @param [options.referenceFrame = Cesium.ReferenceFrame.FIXED] - 当使用addDynamicPosition设置为动画轨迹位置时,position位置被定义的参考系。
15889
- * @param [options.numberOfDerivatives = 0] - 当使用addDynamicPosition设置为动画轨迹位置时,每个位置的导数的数量;即速度、加速度等。
15890
- * @param [options.autoMiddleDynamicPosition] - 当使用addDynamicPosition设置为动画轨迹位置时,如果中间缺少数据时是否自动添加中间点。
15891
- * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
15892
- * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
15893
- * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
15894
- * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
15895
- * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
15896
- * @param [options.id = createGuid()] - 矢量数据id标识
15897
- * @param [options.name = ''] - 矢量数据名称
15898
- * @param [options.show = true] - 矢量数据是否显示
15899
- * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
15900
- * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
15901
- * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
15902
- * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
15903
- */
15904
- declare class ModelPrimitive extends BasePointPrimitive {
15905
- constructor(options: {
15906
- position: LngLatPoint | Cesium.Cartesian3 | number[] | Cesium.PositionProperty;
15907
- orientation?: Cesium.Property;
15908
- modelMatrix?: Cesium.Matrix4;
15909
- style: ModelPrimitive.StyleOptions | any;
15910
- attr?: any;
15911
- frameRate?: number;
15912
- appearance?: Cesium.Appearance;
15913
- attributes?: Cesium.Appearance;
15914
- maxCacheCount?: number;
15915
- forwardExtrapolationType?: Cesium.ExtrapolationType;
15916
- backwardExtrapolationType?: Cesium.ExtrapolationType;
15917
- clampToTileset?: boolean;
15918
- frameRateHeight?: number;
15919
- objectsToExclude?: any;
15920
- referenceFrame?: Cesium.ReferenceFrame;
15921
- numberOfDerivatives?: number;
15922
- autoMiddleDynamicPosition?: boolean;
15923
- popup?: string | any[] | ((...params: any[]) => any);
15924
- popupOptions?: Popup.StyleOptions | any;
15925
- tooltip?: string | any[] | ((...params: any[]) => any);
15926
- tooltipOptions?: Tooltip.StyleOptions | any;
15927
- contextmenuItems?: any;
15928
- id?: string | number;
15929
- name?: string;
15930
- show?: boolean;
15931
- eventParent?: BaseClass | boolean;
15932
- allowDrillPick?: boolean | ((...params: any[]) => any);
15933
- flyTo?: boolean;
15934
- flyToOptions?: any;
15935
- });
15936
- /**
15937
- * 模型整体的缩放比例
15938
- */
15939
- scale: number;
15940
- /**
15941
- * X轴方向缩放比例
15942
- */
15943
- scaleX: number;
15944
- /**
15945
- * Y轴方向缩放比例
15946
- */
15947
- scaleY: number;
15948
- /**
15949
- * Z轴方向缩放比例
15950
- */
15951
- scaleZ: number;
15952
- /**
15953
- * 获取图层完成解析加载完成的Promise承诺, 等价于load事件(区别在于load事件必须在load完成前绑定才能监听)。
15954
- */
15955
- readonly readyPromise: Promise<Cesium.Model>;
15956
- /**
15957
- * 设置透明度
15958
- * @param value - 透明度
15959
- * @returns 无
15960
- */
15961
- setOpacity(value: number): void;
15962
- }
15963
-
15964
15745
  declare namespace Pit {
15965
15746
  /**
15966
15747
  * 井 支持的样式信息,
@@ -17167,6 +16948,107 @@ declare class ThickWall extends BasePolyPrimitive {
17167
16948
  readonly czmObject: Cesium.Entity | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.ClassificationPrimitive | any;
17168
16949
  }
17169
16950
 
16951
+ declare namespace VideoPrimitive {
16952
+ /**
16953
+ * 视频面 Primitive图元 支持的样式信息
16954
+ * @property [url] - 视频对应url地址
16955
+ * @property [container] - 视频对应的video标签,与url二选一
16956
+ * @property [opacity = 1.0] - 透明度
16957
+ * @property [distanceDisplayCondition_far = number.MAX_VALUE] - 最大距离
16958
+ * @property [distanceDisplayCondition_near = 0] - 最小距离
16959
+ */
16960
+ type StyleOptions = any | {
16961
+ url?: string;
16962
+ container?: HTMLVideoElement;
16963
+ opacity?: number;
16964
+ distanceDisplayCondition_far?: number;
16965
+ distanceDisplayCondition_near?: number;
16966
+ };
16967
+ }
16968
+
16969
+ /**
16970
+ * 视频面 Primitive图元 矢量对象
16971
+ * @param options - 参数对象,包括以下:
16972
+ * @param options.positions - 坐标位置
16973
+ * @param options.style - 样式信息
16974
+ * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
16975
+ * @param [options.appearance] - [cesium原生]用于渲染图元的外观。
16976
+ * @param [options.attributes] - [cesium原生]每个实例的属性。
16977
+ * @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
16978
+ * @param [options.vertexCacheOptimize = false] - 当true,几何顶点优化前和后顶点着色缓存。
16979
+ * @param [options.interleave = false] - 当true时,几何顶点属性被交叉,这可以略微提高渲染性能,但会增加加载时间。
16980
+ * @param [options.compressVertices = true] - 当true时,几何顶点被压缩,这将节省内存。提升效率。
16981
+ * @param [options.releaseGeometryInstances = true] - 当true时,图元不保留对输入geometryInstances的引用以节省内存。
16982
+ * @param [options.allowPicking = true] - 当true时,每个几何图形实例只能通过{@link Scene#pick}进行挑选。当false时,保存GPU内存。
16983
+ * @param [options.cull = true] - 当true时,渲染器会根据图元的边界体积来剔除它们的截锥和地平线。设置为false,如果你手动剔除图元,可以获得较小的性能提升。
16984
+ * @param [options.asynchronous = true] - 确定该图元是异步创建还是阻塞创建,直到就绪。
16985
+ * @param [options.debugShowBoundingVolume = false] - 仅供调试。确定该图元命令的边界球是否显示。
16986
+ * @param [options.debugShowShadowVolume = false] - 仅供调试。贴地时,确定是否绘制了图元中每个几何图形的阴影体积。必须是true创建卷之前要释放几何图形或选项。releaseGeometryInstance必须是false。
16987
+ * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
16988
+ * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
16989
+ * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
16990
+ * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
16991
+ * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
16992
+ * @param [options.id = createGuid()] - 矢量数据id标识
16993
+ * @param [options.name = ''] - 矢量数据名称
16994
+ * @param [options.show = true] - 矢量数据是否显示
16995
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的图层对象,false时不冒泡事件
16996
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
16997
+ * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
16998
+ * @param [options.flyToOptions] - 加载完成数据后是否自动飞行定位到数据所在的区域的对应 {@link BaseGraphic#flyTo}方法参数。
16999
+ */
17000
+ declare class VideoPrimitive extends BasePolyPrimitive {
17001
+ constructor(options: {
17002
+ positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
17003
+ style: VideoPrimitive.StyleOptions | any;
17004
+ attr?: any;
17005
+ appearance?: Cesium.Appearance;
17006
+ attributes?: Cesium.Appearance;
17007
+ depthFailAppearance?: Cesium.Appearance;
17008
+ vertexCacheOptimize?: boolean;
17009
+ interleave?: boolean;
17010
+ compressVertices?: boolean;
17011
+ releaseGeometryInstances?: boolean;
17012
+ allowPicking?: boolean;
17013
+ cull?: boolean;
17014
+ asynchronous?: boolean;
17015
+ debugShowBoundingVolume?: boolean;
17016
+ debugShowShadowVolume?: boolean;
17017
+ popup?: string | any[] | ((...params: any[]) => any);
17018
+ popupOptions?: Popup.StyleOptions | any;
17019
+ tooltip?: string | any[] | ((...params: any[]) => any);
17020
+ tooltipOptions?: Tooltip.StyleOptions | any;
17021
+ contextmenuItems?: any;
17022
+ id?: string | number;
17023
+ name?: string;
17024
+ show?: boolean;
17025
+ eventParent?: BaseClass | boolean;
17026
+ allowDrillPick?: boolean | ((...params: any[]) => any);
17027
+ flyTo?: boolean;
17028
+ flyToOptions?: any;
17029
+ });
17030
+ /**
17031
+ * 裁切范围(用UV坐标定义)
17032
+ */
17033
+ rois: number[];
17034
+ /**
17035
+ * 是否正在编辑状态,不是所有子类均支持编辑
17036
+ */
17037
+ readonly isEditingGrid: boolean;
17038
+ /**
17039
+ * 开启编辑网格点
17040
+ */
17041
+ startEditingGrid(): void;
17042
+ /**
17043
+ * 停止编辑网格点
17044
+ */
17045
+ stopEditingGrid(): void;
17046
+ /**
17047
+ * 矢量数据对应的 Cesium内部对象 (不同子类中实现)
17048
+ */
17049
+ readonly czmObject: Cesium.Entity | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.ClassificationPrimitive | any;
17050
+ }
17051
+
17170
17052
  declare namespace WallPrimitive {
17171
17053
  /**
17172
17054
  * 墙 Primitive图元 支持的样式信息
@@ -17834,12 +17716,6 @@ declare class BaseLayer extends BaseClass {
17834
17716
  * @returns 无
17835
17717
  */
17836
17718
  _mountedHook(): void;
17837
- /**
17838
- * 对象添加到地图上的创建钩子方法,
17839
- * 每次add时都会调用
17840
- * @returns 无
17841
- */
17842
- _addedHook(): void;
17843
17719
  /**
17844
17720
  * 对象从地图上移除的创建钩子方法,
17845
17721
  * 每次remove时都会调用
@@ -20679,7 +20555,8 @@ declare namespace TilesetLayer {
20679
20555
  * @param [options.tooltipOptions.titleField] - 标题对应的属性字段名称
20680
20556
  * @param [options.tooltipOptions.noTitle] - 不显示标题
20681
20557
  * @param [options.contextmenuItems] - 绑定的右键菜单值,也可以bindContextMenu方法绑定
20682
- * @param [options.hasEdit = true] - 是否允许编辑,且需要transform是true的模型才支持编辑
20558
+ * @param [options.hasEdit = true] - 是否允许编辑
20559
+ * @param [options.hasEditContextMenu = true] - 编辑时,是否绑定右键编辑菜单,且需要transform是true的模型才支持编辑
20683
20560
  * @param [options.proxy] - 加载资源时要使用的代理服务url。
20684
20561
  * @param [options.templateValues] - 一个对象,用于替换Url中的模板值的键/值对
20685
20562
  * @param [options.queryParameters] - 一个对象,其中包含在检索资源时将发送的查询参数。比如:queryParameters: {'access_token': '123-435-456-000'},
@@ -20783,6 +20660,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
20783
20660
  };
20784
20661
  contextmenuItems?: any;
20785
20662
  hasEdit?: boolean;
20663
+ hasEditContextMenu?: boolean;
20786
20664
  proxy?: string;
20787
20665
  templateValues?: any;
20788
20666
  queryParameters?: any;
@@ -21569,7 +21447,7 @@ declare class ArcGisCacheLayer extends BaseTileLayer {
21569
21447
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
21570
21448
  * @returns 创建完成的 ImageryProvider 对象
21571
21449
  */
21572
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
21450
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
21573
21451
  }
21574
21452
 
21575
21453
  declare namespace ArcGisLayer {
@@ -21777,13 +21655,7 @@ declare class ArcGisLayer extends BaseTileLayer {
21777
21655
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
21778
21656
  * @returns 创建完成的 ImageryProvider 对象
21779
21657
  */
21780
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
21781
- /**
21782
- * 对象添加到地图上的创建钩子方法,
21783
- * 每次add时都会调用
21784
- * @returns 无
21785
- */
21786
- _addedHook(): void;
21658
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
21787
21659
  }
21788
21660
 
21789
21661
  /**
@@ -21925,7 +21797,7 @@ declare class ArcGisTileLayer extends BaseTileLayer {
21925
21797
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
21926
21798
  * @returns 创建完成的 ImageryProvider 对象
21927
21799
  */
21928
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
21800
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
21929
21801
  }
21930
21802
 
21931
21803
  /**
@@ -22064,7 +21936,7 @@ declare class BaiduLayer extends BaseTileLayer {
22064
21936
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
22065
21937
  * @returns 创建完成的 ImageryProvider 对象
22066
21938
  */
22067
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
21939
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
22068
21940
  }
22069
21941
 
22070
21942
  declare namespace BaseTileLayer {
@@ -22285,7 +22157,7 @@ declare class BaseTileLayer extends BaseLayer {
22285
22157
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
22286
22158
  * @returns 创建完成的 ImageryProvider 对象
22287
22159
  */
22288
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
22160
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
22289
22161
  /**
22290
22162
  * 重新加载图层
22291
22163
  * @returns 无
@@ -22337,12 +22209,6 @@ declare class BaseTileLayer extends BaseLayer {
22337
22209
  * 透明度,取值范围:0.0-1.0
22338
22210
  */
22339
22211
  opacity: number;
22340
- /**
22341
- * 对象添加到地图上的创建钩子方法,
22342
- * 每次add时都会调用
22343
- * @returns 无
22344
- */
22345
- _addedHook(): void;
22346
22212
  /**
22347
22213
  * 飞行定位至图层数据所在的视角
22348
22214
  * @param [options = {}] - 参数对象:
@@ -22523,7 +22389,7 @@ declare class BingLayer extends BaseTileLayer {
22523
22389
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
22524
22390
  * @returns 创建完成的 ImageryProvider 对象
22525
22391
  */
22526
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
22392
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
22527
22393
  /**
22528
22394
  * 要加载的必应地图图像的类型。
22529
22395
  */
@@ -22612,7 +22478,7 @@ declare class EmptyTileLayer extends BaseTileLayer {
22612
22478
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
22613
22479
  * @returns 创建完成的 ImageryProvider 对象
22614
22480
  */
22615
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
22481
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
22616
22482
  }
22617
22483
 
22618
22484
  /**
@@ -22752,7 +22618,7 @@ declare class GaodeLayer extends BaseTileLayer {
22752
22618
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
22753
22619
  * @returns 创建完成的 ImageryProvider 对象
22754
22620
  */
22755
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
22621
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
22756
22622
  }
22757
22623
 
22758
22624
  /**
@@ -22884,7 +22750,7 @@ declare class GeeLayer extends BaseTileLayer {
22884
22750
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
22885
22751
  * @returns 创建完成的 ImageryProvider 对象
22886
22752
  */
22887
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
22753
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
22888
22754
  }
22889
22755
 
22890
22756
  /**
@@ -23024,7 +22890,7 @@ declare class GoogleLayer extends BaseTileLayer {
23024
22890
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
23025
22891
  * @returns 创建完成的 ImageryProvider 对象
23026
22892
  */
23027
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
22893
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
23028
22894
  }
23029
22895
 
23030
22896
  /**
@@ -23143,7 +23009,7 @@ declare class GridLayer extends BaseTileLayer {
23143
23009
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
23144
23010
  * @returns 创建完成的 ImageryProvider 对象
23145
23011
  */
23146
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
23012
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
23147
23013
  }
23148
23014
 
23149
23015
  /**
@@ -23270,7 +23136,7 @@ declare class ImageLayer extends BaseTileLayer {
23270
23136
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
23271
23137
  * @returns 创建完成的 ImageryProvider 对象
23272
23138
  */
23273
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
23139
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
23274
23140
  }
23275
23141
 
23276
23142
  /**
@@ -23406,7 +23272,7 @@ declare class IonLayer extends BaseTileLayer {
23406
23272
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
23407
23273
  * @returns 创建完成的 ImageryProvider 对象
23408
23274
  */
23409
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
23275
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
23410
23276
  }
23411
23277
 
23412
23278
  /**
@@ -23550,7 +23416,7 @@ declare class MapboxLayer extends BaseTileLayer {
23550
23416
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
23551
23417
  * @returns 创建完成的 ImageryProvider 对象
23552
23418
  */
23553
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
23419
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
23554
23420
  }
23555
23421
 
23556
23422
  /**
@@ -23673,7 +23539,7 @@ declare class OsmLayer extends BaseTileLayer {
23673
23539
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
23674
23540
  * @returns 创建完成的 ImageryProvider 对象
23675
23541
  */
23676
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
23542
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
23677
23543
  }
23678
23544
 
23679
23545
  /**
@@ -23814,7 +23680,7 @@ declare class TdtLayer extends BaseTileLayer {
23814
23680
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
23815
23681
  * @returns 创建完成的 ImageryProvider 对象
23816
23682
  */
23817
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
23683
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
23818
23684
  }
23819
23685
 
23820
23686
  /**
@@ -23949,7 +23815,7 @@ declare class TencentLayer extends BaseTileLayer {
23949
23815
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
23950
23816
  * @returns 创建完成的 ImageryProvider 对象
23951
23817
  */
23952
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
23818
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
23953
23819
  }
23954
23820
 
23955
23821
  /**
@@ -24054,7 +23920,7 @@ declare class TileInfoLayer extends BaseTileLayer {
24054
23920
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
24055
23921
  * @returns 创建完成的 ImageryProvider 对象
24056
23922
  */
24057
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
23923
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
24058
23924
  }
24059
23925
 
24060
23926
  /**
@@ -24190,7 +24056,7 @@ declare class TmsLayer extends BaseTileLayer {
24190
24056
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
24191
24057
  * @returns 创建完成的 ImageryProvider 对象
24192
24058
  */
24193
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
24059
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
24194
24060
  }
24195
24061
 
24196
24062
  /**
@@ -24389,13 +24255,7 @@ declare class WmsLayer extends BaseTileLayer {
24389
24255
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
24390
24256
  * @returns 创建完成的 ImageryProvider 对象
24391
24257
  */
24392
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
24393
- /**
24394
- * 对象添加到地图上的创建钩子方法,
24395
- * 每次add时都会调用
24396
- * @returns 无
24397
- */
24398
- _addedHook(): void;
24258
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
24399
24259
  }
24400
24260
 
24401
24261
  /**
@@ -24549,13 +24409,7 @@ declare class WmtsLayer extends BaseTileLayer {
24549
24409
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
24550
24410
  * @returns 创建完成的 ImageryProvider 对象
24551
24411
  */
24552
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
24553
- /**
24554
- * 对象添加到地图上的创建钩子方法,
24555
- * 每次add时都会调用
24556
- * @returns 无
24557
- */
24558
- _addedHook(): void;
24412
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
24559
24413
  }
24560
24414
 
24561
24415
  /**
@@ -24734,7 +24588,7 @@ declare class XyzLayer extends BaseTileLayer {
24734
24588
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
24735
24589
  * @returns 创建完成的 ImageryProvider 对象
24736
24590
  */
24737
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
24591
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
24738
24592
  }
24739
24593
 
24740
24594
  /**
@@ -25489,7 +25343,7 @@ declare class Map extends BaseClass {
25489
25343
  /**
25490
25344
  * 获取或设置当前的地形服务
25491
25345
  */
25492
- terrainProvider: Cesium.TerrainProvider;
25346
+ terrainProvider: Cesium.TerrainProvider | any;
25493
25347
  /**
25494
25348
  * 是否开启地形
25495
25349
  */
@@ -26343,6 +26197,12 @@ declare class Map extends BaseClass {
26343
26197
  * @returns 当前对象本身,可以链式调用
26344
26198
  */
26345
26199
  closeSmallTooltip(): Map;
26200
+ /**
26201
+ * 清除所有加载的图层、控件、对象
26202
+ * @param [hasDestroy = true] - 是否释放对象
26203
+ * @returns 无
26204
+ */
26205
+ clear(hasDestroy?: boolean): void;
26346
26206
  /**
26347
26207
  * 销毁地图
26348
26208
  * @returns 无
@@ -26350,7 +26210,7 @@ declare class Map extends BaseClass {
26350
26210
  destroy(): void;
26351
26211
  /**
26352
26212
  * 绑定指定类型事件监听器,
26353
- * 支持在监听中调用 event.stopPropagation(); 组织事件冒泡
26213
+ * 支持在监听中调用 event.stopPropagation(); 阻止事件冒泡
26354
26214
  * @param types - 事件类型
26355
26215
  * @param fn - 绑定的监听器回调方法
26356
26216
  * @param [context] - 侦听器的上下文(this关键字将指向的对象)。
@@ -28179,6 +28039,7 @@ declare class EchartsLayer extends BaseLayer {
28179
28039
  * @param [options.center.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
28180
28040
  * @param [options.center.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
28181
28041
  * @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
28042
+ * @param [options.allowDrillPick] - 是否允许鼠标穿透拾取
28182
28043
  */
28183
28044
  declare class HeatLayer extends BaseLayer {
28184
28045
  constructor(options: {
@@ -28226,6 +28087,7 @@ declare class HeatLayer extends BaseLayer {
28226
28087
  roll?: number;
28227
28088
  };
28228
28089
  flyTo?: boolean;
28090
+ allowDrillPick?: boolean | ((...params: any[]) => any);
28229
28091
  });
28230
28092
  /**
28231
28093
  * 矢量数据图层
@@ -29630,13 +29492,7 @@ declare class SmImgLayer extends BaseTileLayer {
29630
29492
  * @param [options = {}] - 参数对象,具体每类瓦片图层都不一样。
29631
29493
  * @returns 创建完成的 ImageryProvider 对象
29632
29494
  */
29633
- _createImageryProvider(options?: any): Cesium.UrlTemplateImageryProvider | any;
29634
- /**
29635
- * 对象添加到地图上的创建钩子方法,
29636
- * 每次add时都会调用
29637
- * @returns 无
29638
- */
29639
- _addedHook(): void;
29495
+ _createImageryProvider(options?: any): Promise<Cesium.UrlTemplateImageryProvider | any>;
29640
29496
  }
29641
29497
 
29642
29498
  /**
@@ -29782,12 +29638,6 @@ declare class TdtDmLayer extends BaseLayer {
29782
29638
  };
29783
29639
  flyTo?: boolean;
29784
29640
  });
29785
- /**
29786
- * 对象添加到地图上的创建钩子方法,
29787
- * 每次add时都会调用
29788
- * @returns 无
29789
- */
29790
- _addedHook(): void;
29791
29641
  /**
29792
29642
  * 对象从地图上移除的创建钩子方法,
29793
29643
  * 每次remove时都会调用
@@ -34439,7 +34289,7 @@ declare namespace LayerUtil {
34439
34289
  * @param options - Provider参数,具体见各Provider类的构造方法参数说明
34440
34290
  * @returns ImageryProvider类
34441
34291
  */
34442
- function createImageryProvider(options: any): any;
34292
+ function createImageryProvider(options: any): Promise<any>;
34443
34293
  /**
34444
34294
  * 获取baseLayerPicker使用的绑定图层列表配置,
34445
34295
  * 用于将config.json的配置basemaps数据转换为imageryProviderViewModels
@@ -34484,7 +34334,7 @@ declare namespace LayerUtil {
34484
34334
  requestVertexNormals?: boolean;
34485
34335
  requestWaterMask?: boolean;
34486
34336
  requestMetadata?: boolean;
34487
- }): Cesium.CesiumTerrainProvider;
34337
+ }): Promise<Cesium.CesiumTerrainProvider | any>;
34488
34338
  /**
34489
34339
  * 获取baseLayerPicker使用的绑定地形列表
34490
34340
  * @param options - 地形参数,同{@link createTerrainProvider}方法参数
@@ -34743,7 +34593,7 @@ declare namespace MeasureUtil {
34743
34593
  * @param [options.unit = 'auto'] - 计量单位,当前无用,备用参数
34744
34594
  * @param [options.lang = 0] - 使用的语言
34745
34595
  * @param [options.decimal = 2] - 保留的小数位
34746
- * @returns 带单位的格式化体积值字符串,如:20.21
34596
+ * @returns 带单位的格式化体积值字符串,如:20.21立方米
34747
34597
  */
34748
34598
  function formatVolume(val: number, options?: {
34749
34599
  unit?: string;
@@ -36369,7 +36219,6 @@ declare namespace graphic {
36369
36219
  //批量大数据primitive
36370
36220
  export { BaseCombine }
36371
36221
  export { FlatBillboard }
36372
- export { ModelCombine }
36373
36222
  export { PlaneCombine }
36374
36223
  export { BoxCombine }
36375
36224
  export { CircleCombine }
@@ -36527,7 +36376,7 @@ declare namespace thing {
36527
36376
  }
36528
36377
 
36529
36378
  export {
36530
- name, update, version, proj4, Tle,
36379
+ name, update, version, proj4, Tle, widget,
36531
36380
  BaseClass, BaseThing, LngLatPoint, LngLatArray, GroundSkyBox, MultipleSkyBox, LocalWorldTransform, CRS, ChinaCRS, EventType, State, Token, MaterialType, GraphicType, LayerType, ControlType, EffectType, Lang, LangType, MoveType, ClipType, Icon,
36532
36381
  DomUtil, MeasureUtil, PointUtil, PolyUtil, PointTrans, Util, Log, MaterialUtil, GraphicUtil, DrawUtil, LayerUtil, ControlUtil, EffectUtil,
36533
36382
  BaseMaterialConver, BaseStyleConver, BillboardStyleConver, CloudStyleConver, BoxStyleConver, CircleStyleConver, CorridorStyleConver, CylinderStyleConver, DivGraphicStyleConver, EllipsoidStyleConver, LabelStyleConver, ModelStyleConver, PathStyleConver, PlaneStyleConver, PointStyleConver, PolygonStyleConver, PolylineStyleConver, PolylineVolumeStyleConver, RectangleStyleConver, RectangularSensorStyleConver, WallStyleConver,