mars3d 3.3.8 → 3.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/mars3d.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.3.8
6
- * 编译日期:2022-05-09 21:31:02
5
+ * 版本信息:v3.3.9
6
+ * 编译日期:2022-05-16 20:53:57
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
8
  * 使用单位:免费公开版 ,2022-02-01
9
9
  */
@@ -1975,7 +1975,7 @@ declare class OverviewMap extends BaseControl {
1975
1975
  basemap: Map.basemapOptions;
1976
1976
  layers?: Map.layerOptions[];
1977
1977
  scene?: Map.sceneOptions;
1978
- rectangle?: RectangleEntity.StyleOptions;
1978
+ rectangle?: RectangleEntity.StyleOptions | any;
1979
1979
  style?: {
1980
1980
  top?: string;
1981
1981
  bottom?: string;
@@ -2757,6 +2757,18 @@ declare class BaseEffect extends BaseThing {
2757
2757
  * </p>
2758
2758
  */
2759
2759
  readonly uniforms: any;
2760
+ /**
2761
+ * 添加到地图上,同 map.addEffect
2762
+ * @param map - 地图对象
2763
+ * @returns 当前对象本身,可以链式调用
2764
+ */
2765
+ addTo(map: Map): BaseEffect;
2766
+ /**
2767
+ * 从地图上移除,同map.removeEffect
2768
+ * @param [destroy] - 是否调用destroy释放
2769
+ * @returns 无
2770
+ */
2771
+ remove(destroy?: boolean): void;
2760
2772
  }
2761
2773
 
2762
2774
  /**
@@ -2817,51 +2829,6 @@ declare class BloomEffect extends BaseEffect {
2817
2829
  stepSize: number;
2818
2830
  }
2819
2831
 
2820
- /**
2821
- * 选中对象的 泛光效果。
2822
- * @param [options] - 参数对象
2823
- * @param [options.eventType = "click"] - 高亮触发的事件类型,默认为单击。可选值:单击、鼠标移入,false时不内部控制
2824
- * @param [options.color = Cesium.Color.WHITE] - 泛光颜色
2825
- * @param [options.contrast = 128] - 对比度,取值范围[-255.0,255.0]
2826
- * @param [options.brightness = -0.3] - 亮度, 将输入纹理的RGB值转换为色相、饱和度和亮度(HSB),然后将该值添加到亮度中。
2827
- * @param [options.blurSamples = 32] - 模糊样本
2828
- * @param [options.delta = 1.0] - 增量
2829
- * @param [options.sigma = 3.78] - delta和sigma用于计算高斯滤波器的权值。方程是 <code>exp((-0.5 * delta * delta) / (sigma * sigma))</code>。
2830
- * @param [options.stepSize = 5.0] - 步长,是下一个texel的距离
2831
- * @param [options.ratio = 2.0] - 亮度增强比例
2832
- * @param [options.threshold = 0.0] - 亮度阈值
2833
- * @param [options.smoothWidth = 0.01] - 亮度光滑的宽度
2834
- * @param [options.enabled = true] - 对象的启用状态
2835
- */
2836
- declare class BloomTargetEffect extends BaseEffect {
2837
- constructor(options?: {
2838
- eventType?: EventType | boolean;
2839
- color?: Cesium.Color;
2840
- contrast?: number;
2841
- brightness?: number;
2842
- blurSamples?: number;
2843
- delta?: number;
2844
- sigma?: number;
2845
- stepSize?: number;
2846
- ratio?: number;
2847
- threshold?: number;
2848
- smoothWidth?: number;
2849
- enabled?: boolean;
2850
- });
2851
- /**
2852
- * 发光颜色
2853
- */
2854
- color: Cesium.Color;
2855
- /**
2856
- * 高亮触发的事件类型,默认为单击。
2857
- */
2858
- eventType: EventType | string;
2859
- /**
2860
- * 选中对象
2861
- */
2862
- selected: any | any | undefined;
2863
- }
2864
-
2865
2832
  /**
2866
2833
  * 亮度
2867
2834
  * @param [options] - 参数对象,包括以下:
@@ -3234,9 +3201,9 @@ declare class BaseGraphic extends BaseClass {
3234
3201
  style: any;
3235
3202
  attr?: any;
3236
3203
  popup?: string | any[] | ((...params: any[]) => any);
3237
- popupOptions?: Popup.StyleOptions;
3204
+ popupOptions?: Popup.StyleOptions | any;
3238
3205
  tooltip?: string | any[] | ((...params: any[]) => any);
3239
- tooltipOptions?: Tooltip.StyleOptions;
3206
+ tooltipOptions?: Tooltip.StyleOptions | any;
3240
3207
  contextmenuItems?: any;
3241
3208
  id?: string | number;
3242
3209
  name?: string;
@@ -3445,7 +3412,7 @@ declare class BaseGraphic extends BaseClass {
3445
3412
  * @param [options] - 控制参数
3446
3413
  * @returns 当前对象本身,可以链式调用
3447
3414
  */
3448
- bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions): BaseGraphic | any;
3415
+ bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions | any): BaseGraphic | any;
3449
3416
  /**
3450
3417
  * 解除绑定的鼠标单击对象后的弹窗。
3451
3418
  * @param [bubbling = false] - 单击事件中是否继续冒泡往上级查找
@@ -3476,7 +3443,7 @@ declare class BaseGraphic extends BaseClass {
3476
3443
  * @param [options] - 控制参数
3477
3444
  * @returns 当前对象本身,可以链式调用
3478
3445
  */
3479
- bindTooltip(content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions): BaseGraphic | any;
3446
+ bindTooltip(content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions | any): BaseGraphic | any;
3480
3447
  /**
3481
3448
  * 解除绑定的鼠标移入对象后的弹窗。
3482
3449
  * @param [bubbling = false] - 单击事件中是否继续冒泡查找
@@ -3658,10 +3625,10 @@ declare class BasePolyCombine extends BaseCombine {
3658
3625
  constructor(options: {
3659
3626
  instances?: {
3660
3627
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
3661
- style?: PolygonPrimitive.StyleOptions;
3628
+ style?: PolygonPrimitive.StyleOptions | any;
3662
3629
  attr?: any;
3663
3630
  }[];
3664
- style?: PolygonPrimitive.StyleOptions;
3631
+ style?: PolygonPrimitive.StyleOptions | any;
3665
3632
  highlight?: {
3666
3633
  type?: string;
3667
3634
  };
@@ -3678,9 +3645,9 @@ declare class BasePolyCombine extends BaseCombine {
3678
3645
  debugShowBoundingVolume?: boolean;
3679
3646
  debugShowShadowVolume?: boolean;
3680
3647
  popup?: string | any[] | ((...params: any[]) => any);
3681
- popupOptions?: Popup.StyleOptions;
3648
+ popupOptions?: Popup.StyleOptions | any;
3682
3649
  tooltip?: string | any[] | ((...params: any[]) => any);
3683
- tooltipOptions?: Tooltip.StyleOptions;
3650
+ tooltipOptions?: Tooltip.StyleOptions | any;
3684
3651
  contextmenuItems?: any;
3685
3652
  id?: string | number;
3686
3653
  name?: string;
@@ -3743,10 +3710,10 @@ declare class BoxCombine extends BasePolyCombine {
3743
3710
  constructor(options: {
3744
3711
  instances?: {
3745
3712
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
3746
- style?: BoxPrimitive.StyleOptions;
3713
+ style?: BoxPrimitive.StyleOptions | any;
3747
3714
  attr?: any;
3748
3715
  }[];
3749
- style?: BoxPrimitive.StyleOptions;
3716
+ style?: BoxPrimitive.StyleOptions | any;
3750
3717
  highlight?: {
3751
3718
  type?: string;
3752
3719
  };
@@ -3763,9 +3730,9 @@ declare class BoxCombine extends BasePolyCombine {
3763
3730
  debugShowBoundingVolume?: boolean;
3764
3731
  debugShowShadowVolume?: boolean;
3765
3732
  popup?: string | any[] | ((...params: any[]) => any);
3766
- popupOptions?: Popup.StyleOptions;
3733
+ popupOptions?: Popup.StyleOptions | any;
3767
3734
  tooltip?: string | any[] | ((...params: any[]) => any);
3768
- tooltipOptions?: Tooltip.StyleOptions;
3735
+ tooltipOptions?: Tooltip.StyleOptions | any;
3769
3736
  contextmenuItems?: any;
3770
3737
  id?: string | number;
3771
3738
  name?: string;
@@ -3812,10 +3779,10 @@ declare class CircleCombine extends BasePolyCombine {
3812
3779
  constructor(options: {
3813
3780
  instances?: {
3814
3781
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
3815
- style?: CirclePrimitive.StyleOptions;
3782
+ style?: CirclePrimitive.StyleOptions | any;
3816
3783
  attr?: any;
3817
3784
  }[];
3818
- style?: CirclePrimitive.StyleOptions;
3785
+ style?: CirclePrimitive.StyleOptions | any;
3819
3786
  highlight?: {
3820
3787
  type?: string;
3821
3788
  };
@@ -3832,9 +3799,9 @@ declare class CircleCombine extends BasePolyCombine {
3832
3799
  debugShowBoundingVolume?: boolean;
3833
3800
  debugShowShadowVolume?: boolean;
3834
3801
  popup?: string | any[] | ((...params: any[]) => any);
3835
- popupOptions?: Popup.StyleOptions;
3802
+ popupOptions?: Popup.StyleOptions | any;
3836
3803
  tooltip?: string | any[] | ((...params: any[]) => any);
3837
- tooltipOptions?: Tooltip.StyleOptions;
3804
+ tooltipOptions?: Tooltip.StyleOptions | any;
3838
3805
  contextmenuItems?: any;
3839
3806
  id?: string | number;
3840
3807
  name?: string;
@@ -3879,10 +3846,10 @@ declare class CorridorCombine extends BasePolyCombine {
3879
3846
  constructor(options: {
3880
3847
  instances?: {
3881
3848
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
3882
- style?: CorridorPrimitive.StyleOptions;
3849
+ style?: CorridorPrimitive.StyleOptions | any;
3883
3850
  attr?: any;
3884
3851
  }[];
3885
- style?: CorridorPrimitive.StyleOptions;
3852
+ style?: CorridorPrimitive.StyleOptions | any;
3886
3853
  appearance?: Cesium.Appearance;
3887
3854
  attributes?: Cesium.Appearance;
3888
3855
  depthFailAppearance?: Cesium.Appearance;
@@ -3896,9 +3863,9 @@ declare class CorridorCombine extends BasePolyCombine {
3896
3863
  debugShowBoundingVolume?: boolean;
3897
3864
  debugShowShadowVolume?: boolean;
3898
3865
  popup?: string | any[] | ((...params: any[]) => any);
3899
- popupOptions?: Popup.StyleOptions;
3866
+ popupOptions?: Popup.StyleOptions | any;
3900
3867
  tooltip?: string | any[] | ((...params: any[]) => any);
3901
- tooltipOptions?: Tooltip.StyleOptions;
3868
+ tooltipOptions?: Tooltip.StyleOptions | any;
3902
3869
  contextmenuItems?: any;
3903
3870
  id?: string | number;
3904
3871
  name?: string;
@@ -3945,10 +3912,10 @@ declare class CylinderCombine extends BasePolyCombine {
3945
3912
  constructor(options: {
3946
3913
  instances?: {
3947
3914
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
3948
- style?: CylinderPrimitive.StyleOptions;
3915
+ style?: CylinderPrimitive.StyleOptions | any;
3949
3916
  attr?: any;
3950
3917
  }[];
3951
- style?: CylinderPrimitive.StyleOptions;
3918
+ style?: CylinderPrimitive.StyleOptions | any;
3952
3919
  highlight?: {
3953
3920
  type?: string;
3954
3921
  };
@@ -3965,9 +3932,9 @@ declare class CylinderCombine extends BasePolyCombine {
3965
3932
  debugShowBoundingVolume?: boolean;
3966
3933
  debugShowShadowVolume?: boolean;
3967
3934
  popup?: string | any[] | ((...params: any[]) => any);
3968
- popupOptions?: Popup.StyleOptions;
3935
+ popupOptions?: Popup.StyleOptions | any;
3969
3936
  tooltip?: string | any[] | ((...params: any[]) => any);
3970
- tooltipOptions?: Tooltip.StyleOptions;
3937
+ tooltipOptions?: Tooltip.StyleOptions | any;
3971
3938
  contextmenuItems?: any;
3972
3939
  id?: string | number;
3973
3940
  name?: string;
@@ -4014,10 +3981,10 @@ declare class EllipsoidCombine extends BasePolyCombine {
4014
3981
  constructor(options: {
4015
3982
  instances?: {
4016
3983
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
4017
- style?: EllipsoidPrimitive.StyleOptions;
3984
+ style?: EllipsoidPrimitive.StyleOptions | any;
4018
3985
  attr?: any;
4019
3986
  }[];
4020
- style?: EllipsoidPrimitive.StyleOptions;
3987
+ style?: EllipsoidPrimitive.StyleOptions | any;
4021
3988
  highlight?: {
4022
3989
  type?: string;
4023
3990
  };
@@ -4034,9 +4001,9 @@ declare class EllipsoidCombine extends BasePolyCombine {
4034
4001
  debugShowBoundingVolume?: boolean;
4035
4002
  debugShowShadowVolume?: boolean;
4036
4003
  popup?: string | any[] | ((...params: any[]) => any);
4037
- popupOptions?: Popup.StyleOptions;
4004
+ popupOptions?: Popup.StyleOptions | any;
4038
4005
  tooltip?: string | any[] | ((...params: any[]) => any);
4039
- tooltipOptions?: Tooltip.StyleOptions;
4006
+ tooltipOptions?: Tooltip.StyleOptions | any;
4040
4007
  contextmenuItems?: any;
4041
4008
  id?: string | number;
4042
4009
  name?: string;
@@ -4148,10 +4115,10 @@ declare class FrustumCombine extends BasePolyCombine {
4148
4115
  constructor(options: {
4149
4116
  instances?: {
4150
4117
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
4151
- style?: FrustumPrimitive.StyleOptions;
4118
+ style?: FrustumPrimitive.StyleOptions | any;
4152
4119
  attr?: any;
4153
4120
  }[];
4154
- style?: FrustumPrimitive.StyleOptions;
4121
+ style?: FrustumPrimitive.StyleOptions | any;
4155
4122
  highlight?: {
4156
4123
  type?: string;
4157
4124
  };
@@ -4168,9 +4135,9 @@ declare class FrustumCombine extends BasePolyCombine {
4168
4135
  debugShowBoundingVolume?: boolean;
4169
4136
  debugShowShadowVolume?: boolean;
4170
4137
  popup?: string | any[] | ((...params: any[]) => any);
4171
- popupOptions?: Popup.StyleOptions;
4138
+ popupOptions?: Popup.StyleOptions | any;
4172
4139
  tooltip?: string | any[] | ((...params: any[]) => any);
4173
- tooltipOptions?: Tooltip.StyleOptions;
4140
+ tooltipOptions?: Tooltip.StyleOptions | any;
4174
4141
  contextmenuItems?: any;
4175
4142
  id?: string | number;
4176
4143
  name?: string;
@@ -4274,7 +4241,7 @@ declare class ModelCombine extends BaseCombine {
4274
4241
  url?: Cesium.Resource | string;
4275
4242
  instances?: {
4276
4243
  position: LngLatPoint | Cesium.Cartesian3 | number[];
4277
- style?: ModelPrimitive.StyleOptions;
4244
+ style?: ModelPrimitive.StyleOptions | any;
4278
4245
  attr?: any;
4279
4246
  }[];
4280
4247
  batchTable?: any;
@@ -4346,10 +4313,10 @@ declare class PlaneCombine extends BasePolyCombine {
4346
4313
  constructor(options: {
4347
4314
  instances?: {
4348
4315
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
4349
- style?: PlanePrimitive.StyleOptions;
4316
+ style?: PlanePrimitive.StyleOptions | any;
4350
4317
  attr?: any;
4351
4318
  }[];
4352
- style?: PlanePrimitive.StyleOptions;
4319
+ style?: PlanePrimitive.StyleOptions | any;
4353
4320
  highlight?: {
4354
4321
  type?: string;
4355
4322
  };
@@ -4366,9 +4333,9 @@ declare class PlaneCombine extends BasePolyCombine {
4366
4333
  debugShowBoundingVolume?: boolean;
4367
4334
  debugShowShadowVolume?: boolean;
4368
4335
  popup?: string | any[] | ((...params: any[]) => any);
4369
- popupOptions?: Popup.StyleOptions;
4336
+ popupOptions?: Popup.StyleOptions | any;
4370
4337
  tooltip?: string | any[] | ((...params: any[]) => any);
4371
- tooltipOptions?: Tooltip.StyleOptions;
4338
+ tooltipOptions?: Tooltip.StyleOptions | any;
4372
4339
  contextmenuItems?: any;
4373
4340
  id?: string | number;
4374
4341
  name?: string;
@@ -4415,10 +4382,10 @@ declare class PolygonCombine extends BasePolyCombine {
4415
4382
  constructor(options: {
4416
4383
  instances?: {
4417
4384
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
4418
- style?: PolygonPrimitive.StyleOptions;
4385
+ style?: PolygonPrimitive.StyleOptions | any;
4419
4386
  attr?: any;
4420
4387
  }[];
4421
- style?: PolygonPrimitive.StyleOptions;
4388
+ style?: PolygonPrimitive.StyleOptions | any;
4422
4389
  highlight?: {
4423
4390
  type?: string;
4424
4391
  };
@@ -4435,9 +4402,9 @@ declare class PolygonCombine extends BasePolyCombine {
4435
4402
  debugShowBoundingVolume?: boolean;
4436
4403
  debugShowShadowVolume?: boolean;
4437
4404
  popup?: string | any[] | ((...params: any[]) => any);
4438
- popupOptions?: Popup.StyleOptions;
4405
+ popupOptions?: Popup.StyleOptions | any;
4439
4406
  tooltip?: string | any[] | ((...params: any[]) => any);
4440
- tooltipOptions?: Tooltip.StyleOptions;
4407
+ tooltipOptions?: Tooltip.StyleOptions | any;
4441
4408
  contextmenuItems?: any;
4442
4409
  id?: string | number;
4443
4410
  name?: string;
@@ -4482,10 +4449,10 @@ declare class PolylineCombine extends BasePolyCombine {
4482
4449
  constructor(options: {
4483
4450
  instances?: {
4484
4451
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
4485
- style?: PolylinePrimitive.StyleOptions;
4452
+ style?: PolylinePrimitive.StyleOptions | any;
4486
4453
  attr?: any;
4487
4454
  }[];
4488
- style?: PolylinePrimitive.StyleOptions;
4455
+ style?: PolylinePrimitive.StyleOptions | any;
4489
4456
  appearance?: Cesium.Appearance;
4490
4457
  attributes?: Cesium.Appearance;
4491
4458
  depthFailAppearance?: Cesium.Appearance;
@@ -4499,9 +4466,9 @@ declare class PolylineCombine extends BasePolyCombine {
4499
4466
  debugShowBoundingVolume?: boolean;
4500
4467
  debugShowShadowVolume?: boolean;
4501
4468
  popup?: string | any[] | ((...params: any[]) => any);
4502
- popupOptions?: Popup.StyleOptions;
4469
+ popupOptions?: Popup.StyleOptions | any;
4503
4470
  tooltip?: string | any[] | ((...params: any[]) => any);
4504
- tooltipOptions?: Tooltip.StyleOptions;
4471
+ tooltipOptions?: Tooltip.StyleOptions | any;
4505
4472
  contextmenuItems?: any;
4506
4473
  id?: string | number;
4507
4474
  name?: string;
@@ -4546,10 +4513,10 @@ declare class PolylineVolumeCombine extends BasePolyCombine {
4546
4513
  constructor(options: {
4547
4514
  instances?: {
4548
4515
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
4549
- style?: PolylineVolumePrimitive.StyleOptions;
4516
+ style?: PolylineVolumePrimitive.StyleOptions | any;
4550
4517
  attr?: any;
4551
4518
  }[];
4552
- style?: PolylineVolumePrimitive.StyleOptions;
4519
+ style?: PolylineVolumePrimitive.StyleOptions | any;
4553
4520
  appearance?: Cesium.Appearance;
4554
4521
  attributes?: Cesium.Appearance;
4555
4522
  depthFailAppearance?: Cesium.Appearance;
@@ -4563,9 +4530,9 @@ declare class PolylineVolumeCombine extends BasePolyCombine {
4563
4530
  debugShowBoundingVolume?: boolean;
4564
4531
  debugShowShadowVolume?: boolean;
4565
4532
  popup?: string | any[] | ((...params: any[]) => any);
4566
- popupOptions?: Popup.StyleOptions;
4533
+ popupOptions?: Popup.StyleOptions | any;
4567
4534
  tooltip?: string | any[] | ((...params: any[]) => any);
4568
- tooltipOptions?: Tooltip.StyleOptions;
4535
+ tooltipOptions?: Tooltip.StyleOptions | any;
4569
4536
  contextmenuItems?: any;
4570
4537
  id?: string | number;
4571
4538
  name?: string;
@@ -4612,10 +4579,10 @@ declare class RectangleCombine extends BasePolyCombine {
4612
4579
  constructor(options: {
4613
4580
  instances?: {
4614
4581
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
4615
- style?: RectanglePrimitive.StyleOptions;
4582
+ style?: RectanglePrimitive.StyleOptions | any;
4616
4583
  attr?: any;
4617
4584
  }[];
4618
- style?: RectanglePrimitive.StyleOptions;
4585
+ style?: RectanglePrimitive.StyleOptions | any;
4619
4586
  highlight?: {
4620
4587
  type?: string;
4621
4588
  };
@@ -4632,9 +4599,9 @@ declare class RectangleCombine extends BasePolyCombine {
4632
4599
  debugShowBoundingVolume?: boolean;
4633
4600
  debugShowShadowVolume?: boolean;
4634
4601
  popup?: string | any[] | ((...params: any[]) => any);
4635
- popupOptions?: Popup.StyleOptions;
4602
+ popupOptions?: Popup.StyleOptions | any;
4636
4603
  tooltip?: string | any[] | ((...params: any[]) => any);
4637
- tooltipOptions?: Tooltip.StyleOptions;
4604
+ tooltipOptions?: Tooltip.StyleOptions | any;
4638
4605
  contextmenuItems?: any;
4639
4606
  id?: string | number;
4640
4607
  name?: string;
@@ -4679,10 +4646,10 @@ declare class WallCombine extends BasePolyCombine {
4679
4646
  constructor(options: {
4680
4647
  instances?: {
4681
4648
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
4682
- style?: WallPrimitive.StyleOptions;
4649
+ style?: WallPrimitive.StyleOptions | any;
4683
4650
  attr?: any;
4684
4651
  }[];
4685
- style?: WallPrimitive.StyleOptions;
4652
+ style?: WallPrimitive.StyleOptions | any;
4686
4653
  appearance?: Cesium.Appearance;
4687
4654
  attributes?: Cesium.Appearance;
4688
4655
  depthFailAppearance?: Cesium.Appearance;
@@ -4696,9 +4663,9 @@ declare class WallCombine extends BasePolyCombine {
4696
4663
  debugShowBoundingVolume?: boolean;
4697
4664
  debugShowShadowVolume?: boolean;
4698
4665
  popup?: string | any[] | ((...params: any[]) => any);
4699
- popupOptions?: Popup.StyleOptions;
4666
+ popupOptions?: Popup.StyleOptions | any;
4700
4667
  tooltip?: string | any[] | ((...params: any[]) => any);
4701
- tooltipOptions?: Tooltip.StyleOptions;
4668
+ tooltipOptions?: Tooltip.StyleOptions | any;
4702
4669
  contextmenuItems?: any;
4703
4670
  id?: string | number;
4704
4671
  name?: string;
@@ -4745,10 +4712,10 @@ declare class WaterCombine extends PolygonCombine {
4745
4712
  constructor(options: {
4746
4713
  instances?: {
4747
4714
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
4748
- style?: PolygonPrimitive.StyleOptions;
4715
+ style?: PolygonPrimitive.StyleOptions | any;
4749
4716
  attr?: any;
4750
4717
  }[];
4751
- style?: PolygonPrimitive.StyleOptions;
4718
+ style?: PolygonPrimitive.StyleOptions | any;
4752
4719
  highlight?: {
4753
4720
  type?: string;
4754
4721
  };
@@ -4765,9 +4732,9 @@ declare class WaterCombine extends PolygonCombine {
4765
4732
  debugShowBoundingVolume?: boolean;
4766
4733
  debugShowShadowVolume?: boolean;
4767
4734
  popup?: string | any[] | ((...params: any[]) => any);
4768
- popupOptions?: Popup.StyleOptions;
4735
+ popupOptions?: Popup.StyleOptions | any;
4769
4736
  tooltip?: string | any[] | ((...params: any[]) => any);
4770
- tooltipOptions?: Tooltip.StyleOptions;
4737
+ tooltipOptions?: Tooltip.StyleOptions | any;
4771
4738
  contextmenuItems?: any;
4772
4739
  id?: string | number;
4773
4740
  name?: string;
@@ -4788,7 +4755,7 @@ declare namespace ArcFrustum {
4788
4755
  * @property [roll = 0] - 翻滚角(度数值,0-360度)
4789
4756
  * @property [color = Cesium.Color.WHITE] - 颜色
4790
4757
  */
4791
- type StyleOptions = {
4758
+ type StyleOptions = any | {
4792
4759
  angle?: number;
4793
4760
  angle2?: number;
4794
4761
  distance: number;
@@ -4816,7 +4783,7 @@ declare class ArcFrustum extends BasePointPrimitive {
4816
4783
  constructor(options: {
4817
4784
  position: LngLatPoint | Cesium.Cartesian3 | number[];
4818
4785
  modelMatrix?: Cesium.Matrix4;
4819
- style: ArcFrustum.StyleOptions;
4786
+ style: ArcFrustum.StyleOptions | any;
4820
4787
  attr?: any;
4821
4788
  id?: string | number;
4822
4789
  name?: string;
@@ -4872,7 +4839,7 @@ declare namespace ParticleSystem {
4872
4839
  * @property [maximumMass] - 设置粒子的最大质量,单位为千克。一个粒子的实际质量将被选为低于这个值的随机数量。
4873
4840
  * @property [updateCallback] - 每一帧调用一个回调函数来更新一个粒子。
4874
4841
  */
4875
- type StyleOptions = {
4842
+ type StyleOptions = any | {
4876
4843
  image?: string;
4877
4844
  emitter?: Cesium.ParticleEmitter;
4878
4845
  emissionRate?: number;
@@ -4925,7 +4892,7 @@ declare class ParticleSystem extends BasePointPrimitive {
4925
4892
  constructor(options: {
4926
4893
  position: LngLatPoint | Cesium.Cartesian3 | number[];
4927
4894
  modelMatrix?: Cesium.Matrix4;
4928
- style: ParticleSystem.StyleOptions;
4895
+ style: ParticleSystem.StyleOptions | any;
4929
4896
  attr?: any;
4930
4897
  gravity?: number;
4931
4898
  target?: Cesium.Cartesian3;
@@ -4979,7 +4946,7 @@ declare namespace Tetrahedron {
4979
4946
  * @property [moveDuration = 2] - 动画时,上下移动的单程总时长,单位:秒
4980
4947
  * @property [rotationAngle = 1] - 动画时,每帧旋转的角度值,单位:度
4981
4948
  */
4982
- type StyleOptions = {
4949
+ type StyleOptions = any | {
4983
4950
  width?: number;
4984
4951
  height?: number;
4985
4952
  color?: string | Cesium.Color;
@@ -5006,7 +4973,7 @@ declare class Tetrahedron extends BasePointPrimitive {
5006
4973
  constructor(options: {
5007
4974
  position: LngLatPoint | Cesium.Cartesian3 | number[];
5008
4975
  modelMatrix?: Cesium.Matrix4;
5009
- style: Tetrahedron.StyleOptions;
4976
+ style: Tetrahedron.StyleOptions | any;
5010
4977
  attr?: any;
5011
4978
  id?: string | number;
5012
4979
  name?: string;
@@ -5039,7 +5006,7 @@ declare namespace Video3D {
5039
5006
  * @property [hiddenAreaColor = new Cesium.Color(0, 0, 0, 0.5)] - 无视频投影区域的颜色
5040
5007
  * @property [showFrustum = false] - 是否显示视椎体框线
5041
5008
  */
5042
- type StyleOptions = {
5009
+ type StyleOptions = any | {
5043
5010
  container?: HTMLVideoElement;
5044
5011
  url?: string;
5045
5012
  maskImage?: string;
@@ -5071,7 +5038,7 @@ declare class Video3D extends ViewShed {
5071
5038
  constructor(options: {
5072
5039
  position: LngLatPoint | Cesium.Cartesian3 | number[];
5073
5040
  targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
5074
- style: Video3D.StyleOptions;
5041
+ style: Video3D.StyleOptions | any;
5075
5042
  attr?: any;
5076
5043
  id?: string | number;
5077
5044
  name?: string;
@@ -5114,7 +5081,7 @@ declare namespace ViewShed {
5114
5081
  * @property [addHeight] - 在坐标点增加的高度值,规避遮挡,效果更友好
5115
5082
  * @property [showFrustum = false] - 是否显示视椎体框线
5116
5083
  */
5117
- type StyleOptions = {
5084
+ type StyleOptions = any | {
5118
5085
  angle?: number;
5119
5086
  angle2?: number;
5120
5087
  distance?: number;
@@ -5146,7 +5113,7 @@ declare class ViewShed extends BasePointPrimitive {
5146
5113
  constructor(options: {
5147
5114
  position: LngLatPoint | Cesium.Cartesian3 | number[];
5148
5115
  targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
5149
- style: ViewShed.StyleOptions;
5116
+ style: ViewShed.StyleOptions | any;
5150
5117
  attr?: any;
5151
5118
  terrain?: boolean;
5152
5119
  id?: string | number;
@@ -5248,7 +5215,7 @@ declare namespace DivBoderLabel {
5248
5215
  * @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
5249
5216
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
5250
5217
  */
5251
- type StyleOptions = {
5218
+ type StyleOptions = any | {
5252
5219
  text: string;
5253
5220
  font_size?: number;
5254
5221
  font_family?: string;
@@ -5303,19 +5270,19 @@ declare namespace DivBoderLabel {
5303
5270
  declare class DivBoderLabel extends DivGraphic {
5304
5271
  constructor(options: {
5305
5272
  position: LngLatPoint | Cesium.Cartesian3 | number[];
5306
- style: DivBoderLabel.StyleOptions;
5273
+ style: DivBoderLabel.StyleOptions | any;
5307
5274
  attr?: any;
5308
5275
  hasEdit?: boolean;
5309
- testPoint?: PointEntity.StyleOptions;
5276
+ testPoint?: PointEntity.StyleOptions | any;
5310
5277
  pointerEvents?: boolean;
5311
5278
  hasZIndex?: boolean;
5312
5279
  zIndex?: number | string;
5313
5280
  depthTest?: boolean;
5314
5281
  hasCache?: boolean;
5315
5282
  popup?: string | any[] | ((...params: any[]) => any);
5316
- popupOptions?: Popup.StyleOptions;
5283
+ popupOptions?: Popup.StyleOptions | any;
5317
5284
  tooltip?: string | any[] | ((...params: any[]) => any);
5318
- tooltipOptions?: Tooltip.StyleOptions;
5285
+ tooltipOptions?: Tooltip.StyleOptions | any;
5319
5286
  contextmenuItems?: any;
5320
5287
  id?: string | number;
5321
5288
  name?: string;
@@ -5356,7 +5323,7 @@ declare namespace DivGraphic {
5356
5323
  * @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
5357
5324
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
5358
5325
  */
5359
- type StyleOptions = {
5326
+ type StyleOptions = any | {
5360
5327
  html: string | HTMLDivElement | ((...params: any[]) => any);
5361
5328
  horizontalOrigin?: Cesium.HorizontalOrigin;
5362
5329
  verticalOrigin?: Cesium.VerticalOrigin;
@@ -5466,10 +5433,10 @@ declare namespace DivGraphic {
5466
5433
  declare class DivGraphic extends BaseGraphic {
5467
5434
  constructor(options: {
5468
5435
  position: LngLatPoint | Cesium.Cartesian3 | number[];
5469
- style: DivGraphic.StyleOptions;
5436
+ style: DivGraphic.StyleOptions | any;
5470
5437
  attr?: any;
5471
5438
  hasEdit?: boolean;
5472
- testPoint?: PointEntity.StyleOptions;
5439
+ testPoint?: PointEntity.StyleOptions | any;
5473
5440
  pointerEvents?: boolean;
5474
5441
  hasZIndex?: boolean;
5475
5442
  zIndex?: number | string;
@@ -5477,9 +5444,9 @@ declare class DivGraphic extends BaseGraphic {
5477
5444
  hasCache?: boolean;
5478
5445
  parentContainer?: HTMLElement;
5479
5446
  popup?: string | any[] | ((...params: any[]) => any);
5480
- popupOptions?: Popup.StyleOptions;
5447
+ popupOptions?: Popup.StyleOptions | any;
5481
5448
  tooltip?: string | any[] | ((...params: any[]) => any);
5482
- tooltipOptions?: Tooltip.StyleOptions;
5449
+ tooltipOptions?: Tooltip.StyleOptions | any;
5483
5450
  contextmenuItems?: any;
5484
5451
  id?: string | number;
5485
5452
  name?: string;
@@ -5660,7 +5627,7 @@ declare namespace DivLightPoint {
5660
5627
  * @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
5661
5628
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
5662
5629
  */
5663
- type StyleOptions = {
5630
+ type StyleOptions = any | {
5664
5631
  color?: string;
5665
5632
  horizontalOrigin?: Cesium.HorizontalOrigin;
5666
5633
  verticalOrigin?: Cesium.VerticalOrigin;
@@ -5709,19 +5676,19 @@ declare namespace DivLightPoint {
5709
5676
  declare class DivLightPoint extends DivGraphic {
5710
5677
  constructor(options: {
5711
5678
  position: LngLatPoint | Cesium.Cartesian3 | number[];
5712
- style: DivLightPoint.StyleOptions;
5679
+ style: DivLightPoint.StyleOptions | any;
5713
5680
  attr?: any;
5714
5681
  hasEdit?: boolean;
5715
- testPoint?: PointEntity.StyleOptions;
5682
+ testPoint?: PointEntity.StyleOptions | any;
5716
5683
  pointerEvents?: boolean;
5717
5684
  hasZIndex?: boolean;
5718
5685
  zIndex?: number | string;
5719
5686
  depthTest?: boolean;
5720
5687
  hasCache?: boolean;
5721
5688
  popup?: string | any[] | ((...params: any[]) => any);
5722
- popupOptions?: Popup.StyleOptions;
5689
+ popupOptions?: Popup.StyleOptions | any;
5723
5690
  tooltip?: string | any[] | ((...params: any[]) => any);
5724
- tooltipOptions?: Tooltip.StyleOptions;
5691
+ tooltipOptions?: Tooltip.StyleOptions | any;
5725
5692
  contextmenuItems?: any;
5726
5693
  id?: string | number;
5727
5694
  name?: string;
@@ -5765,7 +5732,7 @@ declare namespace DivUpLabel {
5765
5732
  * @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
5766
5733
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
5767
5734
  */
5768
- type StyleOptions = {
5735
+ type StyleOptions = any | {
5769
5736
  text: string;
5770
5737
  color?: string;
5771
5738
  font_size?: number;
@@ -5819,19 +5786,19 @@ declare namespace DivUpLabel {
5819
5786
  declare class DivUpLabel extends DivGraphic {
5820
5787
  constructor(options: {
5821
5788
  position: LngLatPoint | Cesium.Cartesian3 | number[];
5822
- style: DivUpLabel.StyleOptions;
5789
+ style: DivUpLabel.StyleOptions | any;
5823
5790
  attr?: any;
5824
5791
  hasEdit?: boolean;
5825
- testPoint?: PointEntity.StyleOptions;
5792
+ testPoint?: PointEntity.StyleOptions | any;
5826
5793
  pointerEvents?: boolean;
5827
5794
  hasZIndex?: boolean;
5828
5795
  zIndex?: number | string;
5829
5796
  depthTest?: boolean;
5830
5797
  hasCache?: boolean;
5831
5798
  popup?: string | any[] | ((...params: any[]) => any);
5832
- popupOptions?: Popup.StyleOptions;
5799
+ popupOptions?: Popup.StyleOptions | any;
5833
5800
  tooltip?: string | any[] | ((...params: any[]) => any);
5834
- tooltipOptions?: Tooltip.StyleOptions;
5801
+ tooltipOptions?: Tooltip.StyleOptions | any;
5835
5802
  contextmenuItems?: any;
5836
5803
  id?: string | number;
5837
5804
  name?: string;
@@ -5896,7 +5863,7 @@ declare namespace Popup {
5896
5863
  * @property [minWidth = 50] - 弹窗的最小宽度,单位为像素
5897
5864
  * @property [maxHeight = 550] - 如果设置,如果内容超过此高度时,则在弹出窗口中显示滚动条。
5898
5865
  */
5899
- type StyleOptions = {
5866
+ type StyleOptions = any | {
5900
5867
  html?: string;
5901
5868
  template?: string;
5902
5869
  horizontalOrigin?: Cesium.HorizontalOrigin;
@@ -5942,10 +5909,10 @@ declare namespace Popup {
5942
5909
  declare class Popup extends DivGraphic {
5943
5910
  constructor(options: {
5944
5911
  position: LngLatPoint | Cesium.Cartesian3 | number[];
5945
- style: Popup.StyleOptions;
5912
+ style: Popup.StyleOptions | any;
5946
5913
  attr?: any;
5947
5914
  animation?: boolean;
5948
- testPoint?: PointEntity.StyleOptions;
5915
+ testPoint?: PointEntity.StyleOptions | any;
5949
5916
  pointerEvents?: boolean;
5950
5917
  hasZIndex?: boolean;
5951
5918
  zIndex?: number | string;
@@ -5991,7 +5958,7 @@ declare namespace Tooltip {
5991
5958
  * @property [css_transform_origin = 'left bottom 0'] - DIV的 transform-origin css值
5992
5959
  * @property [timeRender] - 是否实时刷新全部HTML,此时需要绑定html需传入回调方法。
5993
5960
  */
5994
- type StyleOptions = {
5961
+ type StyleOptions = any | {
5995
5962
  html?: string;
5996
5963
  template?: string | boolean;
5997
5964
  direction?: string;
@@ -6033,9 +6000,9 @@ declare namespace Tooltip {
6033
6000
  declare class Tooltip extends Popup {
6034
6001
  constructor(options: {
6035
6002
  position: LngLatPoint | Cesium.Cartesian3 | number[];
6036
- style: Tooltip.StyleOptions;
6003
+ style: Tooltip.StyleOptions | any;
6037
6004
  attr?: any;
6038
- testPoint?: PointEntity.StyleOptions;
6005
+ testPoint?: PointEntity.StyleOptions | any;
6039
6006
  pointerEvents?: boolean;
6040
6007
  hasZIndex?: boolean;
6041
6008
  zIndex?: number | string;
@@ -6160,9 +6127,9 @@ declare class BaseEntity extends BaseGraphic {
6160
6127
  parent?: Cesium.Entity;
6161
6128
  onBeforeCreate?: (...params: any[]) => any;
6162
6129
  popup?: string | any[] | ((...params: any[]) => any);
6163
- popupOptions?: Popup.StyleOptions;
6130
+ popupOptions?: Popup.StyleOptions | any;
6164
6131
  tooltip?: string | any[] | ((...params: any[]) => any);
6165
- tooltipOptions?: Tooltip.StyleOptions;
6132
+ tooltipOptions?: Tooltip.StyleOptions | any;
6166
6133
  contextmenuItems?: any;
6167
6134
  id?: string | number;
6168
6135
  name?: string;
@@ -6325,9 +6292,9 @@ declare class BasePointEntity extends BaseEntity {
6325
6292
  referenceFrame?: Cesium.ReferenceFrame;
6326
6293
  numberOfDerivatives?: number;
6327
6294
  popup?: string | any[] | ((...params: any[]) => any);
6328
- popupOptions?: Popup.StyleOptions;
6295
+ popupOptions?: Popup.StyleOptions | any;
6329
6296
  tooltip?: string | any[] | ((...params: any[]) => any);
6330
- tooltipOptions?: Tooltip.StyleOptions;
6297
+ tooltipOptions?: Tooltip.StyleOptions | any;
6331
6298
  contextmenuItems?: any;
6332
6299
  id?: string | number;
6333
6300
  name?: string;
@@ -6487,9 +6454,9 @@ declare class BasePolyEntity extends BaseEntity {
6487
6454
  hasMoveEdit?: boolean;
6488
6455
  hasHeightEdit?: boolean;
6489
6456
  popup?: string | any[] | ((...params: any[]) => any);
6490
- popupOptions?: Popup.StyleOptions;
6457
+ popupOptions?: Popup.StyleOptions | any;
6491
6458
  tooltip?: string | any[] | ((...params: any[]) => any);
6492
- tooltipOptions?: Tooltip.StyleOptions;
6459
+ tooltipOptions?: Tooltip.StyleOptions | any;
6493
6460
  contextmenuItems?: any;
6494
6461
  id?: string | number;
6495
6462
  name?: string;
@@ -6568,15 +6535,13 @@ declare class BasePolyEntity extends BaseEntity {
6568
6535
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
6569
6536
  * @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
6570
6537
  * @param [options.offset = 0] - 可以按需增加偏移高度(单位:米),便于可视
6571
- * @param options.callback - 异步计算高度完成后 的回调方法
6572
- * @returns 当前对象本身,可以链式调用
6538
+ * @returns 异步计算完成的Promise
6573
6539
  */
6574
6540
  autoSurfaceHeight(options?: {
6575
6541
  has3dtiles?: boolean;
6576
6542
  objectsToExclude?: any;
6577
6543
  offset?: number;
6578
- callback: Globe.surfaceLineWork_callback;
6579
- }): BasePolyEntity;
6544
+ }): Promise<any>;
6580
6545
  /**
6581
6546
  * 按Cesium.CallbackProperty的方式 更新坐标集合(更加平滑)
6582
6547
  * @param positions - 坐标数组
@@ -6624,7 +6589,7 @@ declare namespace BillboardEntity {
6624
6589
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
6625
6590
  * @property [label] - 支持附带文字的显示
6626
6591
  */
6627
- type StyleOptions = {
6592
+ type StyleOptions = any | {
6628
6593
  image?: string | HTMLCanvasElement;
6629
6594
  opacity?: number;
6630
6595
  scale?: number;
@@ -6659,8 +6624,8 @@ declare namespace BillboardEntity {
6659
6624
  imageSubRegion?: Cesium.BoundingRectangle;
6660
6625
  setHeight?: number | string;
6661
6626
  addHeight?: number | string;
6662
- highlight?: BillboardEntity.StyleOptions;
6663
- label?: LabelEntity.StyleOptions;
6627
+ highlight?: BillboardEntity.StyleOptions | any;
6628
+ label?: LabelEntity.StyleOptions | any;
6664
6629
  };
6665
6630
  }
6666
6631
 
@@ -6688,6 +6653,10 @@ declare namespace BillboardEntity {
6688
6653
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
6689
6654
  * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
6690
6655
  * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
6656
+ * @param [options.model] - 设置附加的 gltf模型 和对应的样式
6657
+ * @param [options.point] - 设置附加的 像素点 和对应的样式
6658
+ * @param [options.circle] - 设置附加的 圆 和对应的样式
6659
+ * @param [options.path] - 设置附加的 轨迹路线 和对应的样式
6691
6660
  * @param [options.id = uuid()] - 矢量数据id标识
6692
6661
  * @param [options.name = ''] - 矢量数据名称
6693
6662
  * @param [options.show = true] - 矢量数据是否显示
@@ -6697,7 +6666,7 @@ declare namespace BillboardEntity {
6697
6666
  declare class BillboardEntity extends BasePointEntity {
6698
6667
  constructor(options: {
6699
6668
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
6700
- style: BillboardEntity.StyleOptions;
6669
+ style: BillboardEntity.StyleOptions | any;
6701
6670
  attr?: any;
6702
6671
  availability?: Cesium.TimeIntervalCollection;
6703
6672
  description?: Cesium.Property | string;
@@ -6713,10 +6682,14 @@ declare class BillboardEntity extends BasePointEntity {
6713
6682
  drawShow?: boolean;
6714
6683
  addHeight?: number;
6715
6684
  popup?: string | any[] | ((...params: any[]) => any);
6716
- popupOptions?: Popup.StyleOptions;
6685
+ popupOptions?: Popup.StyleOptions | any;
6717
6686
  tooltip?: string | any[] | ((...params: any[]) => any);
6718
- tooltipOptions?: Tooltip.StyleOptions;
6687
+ tooltipOptions?: Tooltip.StyleOptions | any;
6719
6688
  contextmenuItems?: any;
6689
+ model?: ModelEntity.StyleOptions | any | any;
6690
+ point?: PointEntity.StyleOptions | any | any;
6691
+ circle?: CircleEntity.StyleOptions | any | any;
6692
+ path?: PathEntity.StyleOptions | any | any;
6720
6693
  id?: string | number;
6721
6694
  name?: string;
6722
6695
  show?: boolean;
@@ -6796,7 +6769,7 @@ declare namespace BoxEntity {
6796
6769
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
6797
6770
  * @property [label] - 支持附带文字的显示
6798
6771
  */
6799
- type StyleOptions = {
6772
+ type StyleOptions = any | {
6800
6773
  dimensions?: Cesium.Cartesian3 | Cesium.Property;
6801
6774
  dimensions_x?: number;
6802
6775
  dimensions_y?: number;
@@ -6823,8 +6796,8 @@ declare namespace BoxEntity {
6823
6796
  heightReference?: Cesium.HeightReference;
6824
6797
  setHeight?: number | string;
6825
6798
  addHeight?: number | string;
6826
- highlight?: BoxEntity.StyleOptions;
6827
- label?: LabelEntity.StyleOptions;
6799
+ highlight?: BoxEntity.StyleOptions | any;
6800
+ label?: LabelEntity.StyleOptions | any;
6828
6801
  };
6829
6802
  }
6830
6803
 
@@ -6856,7 +6829,7 @@ declare namespace BoxEntity {
6856
6829
  declare class BoxEntity extends BasePointEntity {
6857
6830
  constructor(options: {
6858
6831
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
6859
- style: BoxEntity.StyleOptions;
6832
+ style: BoxEntity.StyleOptions | any;
6860
6833
  attr?: any;
6861
6834
  orientation?: Cesium.Property;
6862
6835
  availability?: Cesium.TimeIntervalCollection;
@@ -6867,9 +6840,9 @@ declare class BoxEntity extends BasePointEntity {
6867
6840
  drawShow?: boolean;
6868
6841
  addHeight?: number;
6869
6842
  popup?: string | any[] | ((...params: any[]) => any);
6870
- popupOptions?: Popup.StyleOptions;
6843
+ popupOptions?: Popup.StyleOptions | any;
6871
6844
  tooltip?: string | any[] | ((...params: any[]) => any);
6872
- tooltipOptions?: Tooltip.StyleOptions;
6845
+ tooltipOptions?: Tooltip.StyleOptions | any;
6873
6846
  contextmenuItems?: any;
6874
6847
  id?: string | number;
6875
6848
  name?: string;
@@ -6938,7 +6911,7 @@ declare namespace CanvasLabelEntity {
6938
6911
  * @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
6939
6912
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
6940
6913
  */
6941
- type StyleOptions = {
6914
+ type StyleOptions = any | {
6942
6915
  text?: string;
6943
6916
  scale?: number;
6944
6917
  horizontalOrigin?: Cesium.HorizontalOrigin;
@@ -7009,7 +6982,7 @@ declare namespace CanvasLabelEntity {
7009
6982
  declare class CanvasLabelEntity extends BasePointEntity {
7010
6983
  constructor(options: {
7011
6984
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
7012
- style: CanvasLabelEntity.StyleOptions;
6985
+ style: CanvasLabelEntity.StyleOptions | any;
7013
6986
  attr?: any;
7014
6987
  availability?: Cesium.TimeIntervalCollection;
7015
6988
  description?: Cesium.Property | string;
@@ -7019,9 +6992,9 @@ declare class CanvasLabelEntity extends BasePointEntity {
7019
6992
  drawShow?: boolean;
7020
6993
  addHeight?: number;
7021
6994
  popup?: string | any[] | ((...params: any[]) => any);
7022
- popupOptions?: Popup.StyleOptions;
6995
+ popupOptions?: Popup.StyleOptions | any;
7023
6996
  tooltip?: string | any[] | ((...params: any[]) => any);
7024
- tooltipOptions?: Tooltip.StyleOptions;
6997
+ tooltipOptions?: Tooltip.StyleOptions | any;
7025
6998
  contextmenuItems?: any;
7026
6999
  id?: string | number;
7027
7000
  name?: string;
@@ -7076,7 +7049,7 @@ declare namespace CircleEntity {
7076
7049
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
7077
7050
  * @property [label] - 支持附带文字的显示
7078
7051
  */
7079
- type StyleOptions = {
7052
+ type StyleOptions = any | {
7080
7053
  radius?: number;
7081
7054
  height?: number;
7082
7055
  heightReference?: Cesium.HeightReference;
@@ -7093,7 +7066,7 @@ declare namespace CircleEntity {
7093
7066
  outlineWidth?: number;
7094
7067
  outlineColor?: string | Cesium.Color;
7095
7068
  outlineOpacity?: number;
7096
- outlineStyle?: PolylineEntity.StyleOptions;
7069
+ outlineStyle?: PolylineEntity.StyleOptions | any;
7097
7070
  rotation?: number | Cesium.Property;
7098
7071
  rotationDegree?: number;
7099
7072
  stRotation?: number | Cesium.Property;
@@ -7109,8 +7082,8 @@ declare namespace CircleEntity {
7109
7082
  classificationType?: Cesium.ClassificationType;
7110
7083
  zIndex?: number;
7111
7084
  addHeight?: number | string;
7112
- highlight?: CircleEntity.StyleOptions;
7113
- label?: LabelEntity.StyleOptions;
7085
+ highlight?: CircleEntity.StyleOptions | any;
7086
+ label?: LabelEntity.StyleOptions | any;
7114
7087
  };
7115
7088
  }
7116
7089
 
@@ -7142,7 +7115,7 @@ declare namespace CircleEntity {
7142
7115
  declare class CircleEntity extends BasePointEntity {
7143
7116
  constructor(options: {
7144
7117
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
7145
- style: CircleEntity.StyleOptions;
7118
+ style: CircleEntity.StyleOptions | any;
7146
7119
  attr?: any;
7147
7120
  availability?: Cesium.TimeIntervalCollection;
7148
7121
  description?: Cesium.Property | string;
@@ -7153,9 +7126,9 @@ declare class CircleEntity extends BasePointEntity {
7153
7126
  drawShow?: boolean;
7154
7127
  addHeight?: number;
7155
7128
  popup?: string | any[] | ((...params: any[]) => any);
7156
- popupOptions?: Popup.StyleOptions;
7129
+ popupOptions?: Popup.StyleOptions | any;
7157
7130
  tooltip?: string | any[] | ((...params: any[]) => any);
7158
- tooltipOptions?: Tooltip.StyleOptions;
7131
+ tooltipOptions?: Tooltip.StyleOptions | any;
7159
7132
  contextmenuItems?: any;
7160
7133
  id?: string | number;
7161
7134
  name?: string;
@@ -7318,7 +7291,7 @@ declare namespace ConeTrack {
7318
7291
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
7319
7292
  * @property [label] - 支持附带文字的显示
7320
7293
  */
7321
- type StyleOptions = {
7294
+ type StyleOptions = any | {
7322
7295
  angle?: number;
7323
7296
  bottomRadius?: number;
7324
7297
  length?: number;
@@ -7345,8 +7318,8 @@ declare namespace ConeTrack {
7345
7318
  heightReference?: Cesium.HeightReference;
7346
7319
  setHeight?: number | string;
7347
7320
  addHeight?: number | string;
7348
- highlight?: CylinderEntity.StyleOptions;
7349
- label?: LabelEntity.StyleOptions;
7321
+ highlight?: CylinderEntity.StyleOptions | any;
7322
+ label?: LabelEntity.StyleOptions | any;
7350
7323
  };
7351
7324
  }
7352
7325
 
@@ -7377,7 +7350,7 @@ declare class ConeTrack extends CylinderEntity {
7377
7350
  constructor(options: {
7378
7351
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
7379
7352
  targetPosition?: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
7380
- style: ConeTrack.StyleOptions;
7353
+ style: ConeTrack.StyleOptions | any;
7381
7354
  attr?: any;
7382
7355
  availability?: Cesium.TimeIntervalCollection;
7383
7356
  description?: Cesium.Property | string;
@@ -7385,9 +7358,9 @@ declare class ConeTrack extends CylinderEntity {
7385
7358
  parent?: Cesium.Entity;
7386
7359
  onBeforeCreate?: (...params: any[]) => any;
7387
7360
  popup?: string | any[] | ((...params: any[]) => any);
7388
- popupOptions?: Popup.StyleOptions;
7361
+ popupOptions?: Popup.StyleOptions | any;
7389
7362
  tooltip?: string | any[] | ((...params: any[]) => any);
7390
- tooltipOptions?: Tooltip.StyleOptions;
7363
+ tooltipOptions?: Tooltip.StyleOptions | any;
7391
7364
  contextmenuItems?: any;
7392
7365
  id?: string | number;
7393
7366
  name?: string;
@@ -7470,7 +7443,7 @@ declare namespace CorridorEntity {
7470
7443
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
7471
7444
  * @property [label] - 支持附带文字的显示
7472
7445
  */
7473
- type StyleOptions = {
7446
+ type StyleOptions = any | {
7474
7447
  width?: number;
7475
7448
  cornerType?: string | Cesium.CornerType;
7476
7449
  height?: number | Cesium.Property;
@@ -7499,8 +7472,8 @@ declare namespace CorridorEntity {
7499
7472
  zIndex?: number;
7500
7473
  setHeight?: number | string;
7501
7474
  addHeight?: number | string;
7502
- highlight?: CorridorEntity.StyleOptions;
7503
- label?: LabelEntity.StyleOptions;
7475
+ highlight?: CorridorEntity.StyleOptions | any;
7476
+ label?: LabelEntity.StyleOptions | any;
7504
7477
  };
7505
7478
  }
7506
7479
 
@@ -7535,7 +7508,7 @@ declare namespace CorridorEntity {
7535
7508
  declare class CorridorEntity extends BasePolyEntity {
7536
7509
  constructor(options: {
7537
7510
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
7538
- style: CorridorEntity.StyleOptions;
7511
+ style: CorridorEntity.StyleOptions | any;
7539
7512
  attr?: any;
7540
7513
  availability?: Cesium.TimeIntervalCollection;
7541
7514
  description?: Cesium.Property | string;
@@ -7549,9 +7522,9 @@ declare class CorridorEntity extends BasePolyEntity {
7549
7522
  hasMoveEdit?: boolean;
7550
7523
  hasHeightEdit?: boolean;
7551
7524
  popup?: string | any[] | ((...params: any[]) => any);
7552
- popupOptions?: Popup.StyleOptions;
7525
+ popupOptions?: Popup.StyleOptions | any;
7553
7526
  tooltip?: string | any[] | ((...params: any[]) => any);
7554
- tooltipOptions?: Tooltip.StyleOptions;
7527
+ tooltipOptions?: Tooltip.StyleOptions | any;
7555
7528
  contextmenuItems?: any;
7556
7529
  id?: string | number;
7557
7530
  name?: string;
@@ -7611,7 +7584,7 @@ declare class CorridorEntity extends BasePolyEntity {
7611
7584
  declare class CurveEntity extends PolylineEntity {
7612
7585
  constructor(options: {
7613
7586
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
7614
- style: PolylineEntity.StyleOptions;
7587
+ style: PolylineEntity.StyleOptions | any;
7615
7588
  attr?: any;
7616
7589
  availability?: Cesium.TimeIntervalCollection;
7617
7590
  description?: Cesium.Property | string;
@@ -7625,9 +7598,9 @@ declare class CurveEntity extends PolylineEntity {
7625
7598
  hasMoveEdit?: boolean;
7626
7599
  hasHeightEdit?: boolean;
7627
7600
  popup?: string | any[] | ((...params: any[]) => any);
7628
- popupOptions?: Popup.StyleOptions;
7601
+ popupOptions?: Popup.StyleOptions | any;
7629
7602
  tooltip?: string | any[] | ((...params: any[]) => any);
7630
- tooltipOptions?: Tooltip.StyleOptions;
7603
+ tooltipOptions?: Tooltip.StyleOptions | any;
7631
7604
  contextmenuItems?: any;
7632
7605
  id?: string | number;
7633
7606
  name?: string;
@@ -7676,7 +7649,7 @@ declare namespace CylinderEntity {
7676
7649
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
7677
7650
  * @property [label] - 支持附带文字的显示
7678
7651
  */
7679
- type StyleOptions = {
7652
+ type StyleOptions = any | {
7680
7653
  topRadius?: number;
7681
7654
  bottomRadius?: number;
7682
7655
  length?: number;
@@ -7703,8 +7676,8 @@ declare namespace CylinderEntity {
7703
7676
  heightReference?: Cesium.HeightReference;
7704
7677
  setHeight?: number | string;
7705
7678
  addHeight?: number | string;
7706
- highlight?: CylinderEntity.StyleOptions;
7707
- label?: LabelEntity.StyleOptions;
7679
+ highlight?: CylinderEntity.StyleOptions | any;
7680
+ label?: LabelEntity.StyleOptions | any;
7708
7681
  };
7709
7682
  }
7710
7683
 
@@ -7736,7 +7709,7 @@ declare namespace CylinderEntity {
7736
7709
  declare class CylinderEntity extends BasePointEntity {
7737
7710
  constructor(options: {
7738
7711
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
7739
- style: CylinderEntity.StyleOptions;
7712
+ style: CylinderEntity.StyleOptions | any;
7740
7713
  attr?: any;
7741
7714
  orientation?: Cesium.Property;
7742
7715
  availability?: Cesium.TimeIntervalCollection;
@@ -7747,9 +7720,9 @@ declare class CylinderEntity extends BasePointEntity {
7747
7720
  drawShow?: boolean;
7748
7721
  addHeight?: number;
7749
7722
  popup?: string | any[] | ((...params: any[]) => any);
7750
- popupOptions?: Popup.StyleOptions;
7723
+ popupOptions?: Popup.StyleOptions | any;
7751
7724
  tooltip?: string | any[] | ((...params: any[]) => any);
7752
- tooltipOptions?: Tooltip.StyleOptions;
7725
+ tooltipOptions?: Tooltip.StyleOptions | any;
7753
7726
  contextmenuItems?: any;
7754
7727
  id?: string | number;
7755
7728
  name?: string;
@@ -7818,7 +7791,7 @@ declare namespace DivBillboardEntity {
7818
7791
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
7819
7792
  * @property [label] - 支持附带文字的显示
7820
7793
  */
7821
- type StyleOptions = {
7794
+ type StyleOptions = any | {
7822
7795
  html: string;
7823
7796
  opacity?: number;
7824
7797
  scale?: number;
@@ -7853,8 +7826,8 @@ declare namespace DivBillboardEntity {
7853
7826
  imageSubRegion?: Cesium.BoundingRectangle;
7854
7827
  setHeight?: number | string;
7855
7828
  addHeight?: number | string;
7856
- highlight?: BillboardEntity.StyleOptions;
7857
- label?: LabelEntity.StyleOptions;
7829
+ highlight?: BillboardEntity.StyleOptions | any;
7830
+ label?: LabelEntity.StyleOptions | any;
7858
7831
  };
7859
7832
  }
7860
7833
 
@@ -7886,7 +7859,7 @@ declare namespace DivBillboardEntity {
7886
7859
  declare class DivBillboardEntity extends BillboardEntity {
7887
7860
  constructor(options: {
7888
7861
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
7889
- style: DivBillboardEntity.StyleOptions;
7862
+ style: DivBillboardEntity.StyleOptions | any;
7890
7863
  attr?: any;
7891
7864
  availability?: Cesium.TimeIntervalCollection;
7892
7865
  description?: Cesium.Property | string;
@@ -7896,9 +7869,9 @@ declare class DivBillboardEntity extends BillboardEntity {
7896
7869
  drawShow?: boolean;
7897
7870
  addHeight?: number;
7898
7871
  popup?: string | any[] | ((...params: any[]) => any);
7899
- popupOptions?: Popup.StyleOptions;
7872
+ popupOptions?: Popup.StyleOptions | any;
7900
7873
  tooltip?: string | any[] | ((...params: any[]) => any);
7901
- tooltipOptions?: Tooltip.StyleOptions;
7874
+ tooltipOptions?: Tooltip.StyleOptions | any;
7902
7875
  contextmenuItems?: any;
7903
7876
  id?: string | number;
7904
7877
  name?: string;
@@ -8057,7 +8030,7 @@ declare namespace EllipseEntity {
8057
8030
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
8058
8031
  * @property [label] - 支持附带文字的显示
8059
8032
  */
8060
- type StyleOptions = {
8033
+ type StyleOptions = any | {
8061
8034
  semiMinorAxis?: number | Cesium.Property;
8062
8035
  semiMajorAxis?: number | Cesium.Property;
8063
8036
  height?: number;
@@ -8075,7 +8048,7 @@ declare namespace EllipseEntity {
8075
8048
  outlineWidth?: number;
8076
8049
  outlineColor?: string | Cesium.Color;
8077
8050
  outlineOpacity?: number;
8078
- outlineStyle?: PolylineEntity.StyleOptions;
8051
+ outlineStyle?: PolylineEntity.StyleOptions | any;
8079
8052
  rotation?: number;
8080
8053
  rotationDegree?: number;
8081
8054
  stRotation?: number;
@@ -8091,8 +8064,8 @@ declare namespace EllipseEntity {
8091
8064
  classificationType?: Cesium.ClassificationType;
8092
8065
  zIndex?: number;
8093
8066
  addHeight?: number | string;
8094
- highlight?: CircleEntity.StyleOptions;
8095
- label?: LabelEntity.StyleOptions;
8067
+ highlight?: CircleEntity.StyleOptions | any;
8068
+ label?: LabelEntity.StyleOptions | any;
8096
8069
  };
8097
8070
  }
8098
8071
 
@@ -8123,7 +8096,7 @@ declare namespace EllipseEntity {
8123
8096
  declare class EllipseEntity extends CircleEntity {
8124
8097
  constructor(options: {
8125
8098
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
8126
- style: EllipseEntity.StyleOptions;
8099
+ style: EllipseEntity.StyleOptions | any;
8127
8100
  attr?: any;
8128
8101
  availability?: Cesium.TimeIntervalCollection;
8129
8102
  description?: Cesium.Property | string;
@@ -8133,9 +8106,9 @@ declare class EllipseEntity extends CircleEntity {
8133
8106
  drawShow?: boolean;
8134
8107
  addHeight?: number;
8135
8108
  popup?: string | any[] | ((...params: any[]) => any);
8136
- popupOptions?: Popup.StyleOptions;
8109
+ popupOptions?: Popup.StyleOptions | any;
8137
8110
  tooltip?: string | any[] | ((...params: any[]) => any);
8138
- tooltipOptions?: Tooltip.StyleOptions;
8111
+ tooltipOptions?: Tooltip.StyleOptions | any;
8139
8112
  contextmenuItems?: any;
8140
8113
  id?: string | number;
8141
8114
  name?: string;
@@ -8198,7 +8171,7 @@ declare namespace EllipsoidEntity {
8198
8171
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
8199
8172
  * @property [label] - 支持附带文字的显示
8200
8173
  */
8201
- type StyleOptions = {
8174
+ type StyleOptions = any | {
8202
8175
  radii?: Cesium.Cartesian3;
8203
8176
  radii_x?: number;
8204
8177
  radii_y?: number;
@@ -8239,8 +8212,8 @@ declare namespace EllipsoidEntity {
8239
8212
  shadows?: Cesium.ShadowMode;
8240
8213
  setHeight?: number | string;
8241
8214
  addHeight?: number | string;
8242
- highlight?: EllipsoidEntity.StyleOptions;
8243
- label?: LabelEntity.StyleOptions;
8215
+ highlight?: EllipsoidEntity.StyleOptions | any;
8216
+ label?: LabelEntity.StyleOptions | any;
8244
8217
  };
8245
8218
  /**
8246
8219
  * 动态扫描面 参数
@@ -8253,7 +8226,7 @@ declare namespace EllipsoidEntity {
8253
8226
  planeOptions: {
8254
8227
  type?: string;
8255
8228
  step?: number;
8256
- style?: EllipsoidEntity.StyleOptions;
8229
+ style?: EllipsoidEntity.StyleOptions | any;
8257
8230
  };
8258
8231
  };
8259
8232
  }
@@ -8287,7 +8260,7 @@ declare namespace EllipsoidEntity {
8287
8260
  declare class EllipsoidEntity extends BasePointEntity {
8288
8261
  constructor(options: {
8289
8262
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
8290
- style: EllipsoidEntity.StyleOptions;
8263
+ style: EllipsoidEntity.StyleOptions | any;
8291
8264
  attr?: any;
8292
8265
  orientation?: Cesium.Property;
8293
8266
  scanPlane: EllipsoidEntity.ScanPlaneOptions | EllipsoidEntity.ScanPlaneOptions[];
@@ -8299,9 +8272,9 @@ declare class EllipsoidEntity extends BasePointEntity {
8299
8272
  drawShow?: boolean;
8300
8273
  addHeight?: number;
8301
8274
  popup?: string | any[] | ((...params: any[]) => any);
8302
- popupOptions?: Popup.StyleOptions;
8275
+ popupOptions?: Popup.StyleOptions | any;
8303
8276
  tooltip?: string | any[] | ((...params: any[]) => any);
8304
- tooltipOptions?: Tooltip.StyleOptions;
8277
+ tooltipOptions?: Tooltip.StyleOptions | any;
8305
8278
  contextmenuItems?: any;
8306
8279
  id?: string | number;
8307
8280
  name?: string;
@@ -8388,7 +8361,7 @@ declare namespace FontBillboardEntity {
8388
8361
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
8389
8362
  * @property [label] - 支持附带文字的显示
8390
8363
  */
8391
- type StyleOptions = {
8364
+ type StyleOptions = any | {
8392
8365
  iconClass?: string;
8393
8366
  iconSize?: number;
8394
8367
  color?: string;
@@ -8424,8 +8397,8 @@ declare namespace FontBillboardEntity {
8424
8397
  imageSubRegion?: Cesium.BoundingRectangle;
8425
8398
  setHeight?: number | string;
8426
8399
  addHeight?: number | string;
8427
- highlight?: BillboardEntity.StyleOptions;
8428
- label?: LabelEntity.StyleOptions;
8400
+ highlight?: BillboardEntity.StyleOptions | any;
8401
+ label?: LabelEntity.StyleOptions | any;
8429
8402
  };
8430
8403
  }
8431
8404
 
@@ -8457,7 +8430,7 @@ declare namespace FontBillboardEntity {
8457
8430
  declare class FontBillboardEntity extends BasePointEntity {
8458
8431
  constructor(options: {
8459
8432
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
8460
- style: FontBillboardEntity.StyleOptions;
8433
+ style: FontBillboardEntity.StyleOptions | any;
8461
8434
  attr?: any;
8462
8435
  availability?: Cesium.TimeIntervalCollection;
8463
8436
  description?: Cesium.Property | string;
@@ -8467,9 +8440,9 @@ declare class FontBillboardEntity extends BasePointEntity {
8467
8440
  drawShow?: boolean;
8468
8441
  addHeight?: number;
8469
8442
  popup?: string | any[] | ((...params: any[]) => any);
8470
- popupOptions?: Popup.StyleOptions;
8443
+ popupOptions?: Popup.StyleOptions | any;
8471
8444
  tooltip?: string | any[] | ((...params: any[]) => any);
8472
- tooltipOptions?: Tooltip.StyleOptions;
8445
+ tooltipOptions?: Tooltip.StyleOptions | any;
8473
8446
  contextmenuItems?: any;
8474
8447
  id?: string | number;
8475
8448
  name?: string;
@@ -8531,7 +8504,7 @@ declare namespace LabelEntity {
8531
8504
  * @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
8532
8505
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
8533
8506
  */
8534
- type StyleOptions = {
8507
+ type StyleOptions = any | {
8535
8508
  text?: string;
8536
8509
  scale?: number;
8537
8510
  horizontalOrigin?: Cesium.HorizontalOrigin;
@@ -8603,7 +8576,7 @@ declare namespace LabelEntity {
8603
8576
  declare class LabelEntity extends BasePointEntity {
8604
8577
  constructor(options: {
8605
8578
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
8606
- style: LabelEntity.StyleOptions;
8579
+ style: LabelEntity.StyleOptions | any;
8607
8580
  attr?: any;
8608
8581
  availability?: Cesium.TimeIntervalCollection;
8609
8582
  description?: Cesium.Property | string;
@@ -8613,9 +8586,9 @@ declare class LabelEntity extends BasePointEntity {
8613
8586
  drawShow?: boolean;
8614
8587
  addHeight?: number;
8615
8588
  popup?: string | any[] | ((...params: any[]) => any);
8616
- popupOptions?: Popup.StyleOptions;
8589
+ popupOptions?: Popup.StyleOptions | any;
8617
8590
  tooltip?: string | any[] | ((...params: any[]) => any);
8618
- tooltipOptions?: Tooltip.StyleOptions;
8591
+ tooltipOptions?: Tooltip.StyleOptions | any;
8619
8592
  contextmenuItems?: any;
8620
8593
  id?: string | number;
8621
8594
  name?: string;
@@ -8705,7 +8678,7 @@ declare namespace ModelEntity {
8705
8678
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
8706
8679
  * @property [label] - 支持附带文字的显示
8707
8680
  */
8708
- type StyleOptions = {
8681
+ type StyleOptions = any | {
8709
8682
  url?: string | Cesium.Resource;
8710
8683
  scale?: number;
8711
8684
  heading?: number;
@@ -8727,8 +8700,8 @@ declare namespace ModelEntity {
8727
8700
  distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
8728
8701
  distanceDisplayCondition_near?: number;
8729
8702
  distanceDisplayCondition_far?: number;
8730
- distanceDisplayPoint?: PointEntity.StyleOptions;
8731
- distanceDisplayBillboard?: BillboardEntity.StyleOptions;
8703
+ distanceDisplayPoint?: PointEntity.StyleOptions | any;
8704
+ distanceDisplayBillboard?: BillboardEntity.StyleOptions | any;
8732
8705
  hasShadows?: boolean;
8733
8706
  shadows?: Cesium.ShadowMode;
8734
8707
  clampToGround?: boolean;
@@ -8747,8 +8720,8 @@ declare namespace ModelEntity {
8747
8720
  clippingPlanes?: Cesium.ClippingPlaneCollection;
8748
8721
  setHeight?: number | string;
8749
8722
  addHeight?: number | string;
8750
- highlight?: ModelEntity.StyleOptions;
8751
- label?: LabelEntity.StyleOptions;
8723
+ highlight?: ModelEntity.StyleOptions | any;
8724
+ label?: LabelEntity.StyleOptions | any;
8752
8725
  };
8753
8726
  /**
8754
8727
  * 当前类支持的{@link EventType}事件类型
@@ -8815,6 +8788,10 @@ declare namespace ModelEntity {
8815
8788
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
8816
8789
  * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
8817
8790
  * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
8791
+ * @param [options.billboard] - 设置附加的 图标 和对应的样式。
8792
+ * @param [options.point] - 设置附加的 像素点 和对应的样式
8793
+ * @param [options.circle] - 设置附加的 圆 和对应的样式
8794
+ * @param [options.path] - 设置附加的 轨迹路线 和对应的样式
8818
8795
  * @param [options.id = uuid()] - 矢量数据id标识
8819
8796
  * @param [options.name = ''] - 矢量数据名称
8820
8797
  * @param [options.show = true] - 矢量数据是否显示
@@ -8824,7 +8801,7 @@ declare namespace ModelEntity {
8824
8801
  declare class ModelEntity extends BasePointEntity {
8825
8802
  constructor(options: {
8826
8803
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
8827
- style: ModelEntity.StyleOptions;
8804
+ style: ModelEntity.StyleOptions | any;
8828
8805
  attr?: any;
8829
8806
  orientation?: Cesium.Property;
8830
8807
  availability?: Cesium.TimeIntervalCollection;
@@ -8843,10 +8820,14 @@ declare class ModelEntity extends BasePointEntity {
8843
8820
  drawShow?: boolean;
8844
8821
  addHeight?: number;
8845
8822
  popup?: string | any[] | ((...params: any[]) => any);
8846
- popupOptions?: Popup.StyleOptions;
8823
+ popupOptions?: Popup.StyleOptions | any;
8847
8824
  tooltip?: string | any[] | ((...params: any[]) => any);
8848
- tooltipOptions?: Tooltip.StyleOptions;
8825
+ tooltipOptions?: Tooltip.StyleOptions | any;
8849
8826
  contextmenuItems?: any;
8827
+ billboard?: BillboardEntity.StyleOptions | any | any;
8828
+ point?: PointEntity.StyleOptions | any | any;
8829
+ circle?: CircleEntity.StyleOptions | any | any;
8830
+ path?: PathEntity.StyleOptions | any | any;
8850
8831
  id?: string | number;
8851
8832
  name?: string;
8852
8833
  show?: boolean;
@@ -8978,7 +8959,7 @@ declare namespace PathEntity {
8978
8959
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
8979
8960
  * @property [label] - 支持附带文字的显示
8980
8961
  */
8981
- type StyleOptions = {
8962
+ type StyleOptions = any | {
8982
8963
  width?: number;
8983
8964
  color?: string | Cesium.Color;
8984
8965
  opacity?: number;
@@ -8991,7 +8972,7 @@ declare namespace PathEntity {
8991
8972
  distanceDisplayCondition_near?: number;
8992
8973
  setHeight?: number | string;
8993
8974
  addHeight?: number | string;
8994
- label?: LabelEntity.StyleOptions;
8975
+ label?: LabelEntity.StyleOptions | any;
8995
8976
  };
8996
8977
  }
8997
8978
 
@@ -9002,10 +8983,6 @@ declare namespace PathEntity {
9002
8983
  * @param [options.orientation] - 实体方向
9003
8984
  * @param options.style - 样式信息
9004
8985
  * @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
9005
- * @param [options.label] - 设置是否显示 文本 和对应的样式
9006
- * @param [options.model] - 设置是否显示 gltf模型 和对应的样式
9007
- * @param [options.point] - 设置是否显示 像素点 和对应的样式,如果不设置gltf模型时,可以选择该项。
9008
- * @param [options.billboard] - 设置是否显示 图标 和对应的样式,如果不设置gltf模型时,可以选择该项。
9009
8986
  * @param [options.availability] - 与该对象关联的可用性(如果有的话)。
9010
8987
  * @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
9011
8988
  * @param [options.viewFrom] - 观察这个物体时建议的初始偏移量。
@@ -9016,6 +8993,11 @@ declare namespace PathEntity {
9016
8993
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
9017
8994
  * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
9018
8995
  * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
8996
+ * @param [options.label] - 设置是否显示 文本 和对应的样式
8997
+ * @param [options.model] - 设置附加的 gltf模型 和对应的样式
8998
+ * @param [options.billboard] - 设置附加的 图标 和对应的样式。
8999
+ * @param [options.point] - 设置附加的 像素点 和对应的样式
9000
+ * @param [options.circle] - 设置附加的 圆 和对应的样式
9019
9001
  * @param [options.id = uuid()] - 矢量数据id标识
9020
9002
  * @param [options.name = ''] - 矢量数据名称
9021
9003
  * @param [options.show = true] - 矢量数据是否显示
@@ -9026,22 +9008,23 @@ declare class PathEntity extends BasePointEntity {
9026
9008
  constructor(options: {
9027
9009
  position: Cesium.SampledPositionProperty;
9028
9010
  orientation?: Cesium.Property;
9029
- style: PathEntity.StyleOptions;
9011
+ style: PathEntity.StyleOptions | any;
9030
9012
  attr?: any;
9031
- label?: LabelEntity.StyleOptions;
9032
- model?: ModelEntity.StyleOptions;
9033
- point?: PointEntity.StyleOptions;
9034
- billboard?: BillboardEntity.StyleOptions;
9035
9013
  availability?: Cesium.TimeIntervalCollection;
9036
9014
  description?: Cesium.Property | string;
9037
9015
  viewFrom?: Cesium.Property;
9038
9016
  parent?: Cesium.Entity;
9039
9017
  onBeforeCreate?: (...params: any[]) => any;
9040
9018
  popup?: string | any[] | ((...params: any[]) => any);
9041
- popupOptions?: Popup.StyleOptions;
9019
+ popupOptions?: Popup.StyleOptions | any;
9042
9020
  tooltip?: string | any[] | ((...params: any[]) => any);
9043
- tooltipOptions?: Tooltip.StyleOptions;
9021
+ tooltipOptions?: Tooltip.StyleOptions | any;
9044
9022
  contextmenuItems?: any;
9023
+ label?: LabelEntity.StyleOptions | any;
9024
+ model?: ModelEntity.StyleOptions | any | any;
9025
+ billboard?: BillboardEntity.StyleOptions | any | any;
9026
+ point?: PointEntity.StyleOptions | any | any;
9027
+ circle?: CircleEntity.StyleOptions | any | any;
9045
9028
  id?: string | number;
9046
9029
  name?: string;
9047
9030
  show?: boolean;
@@ -9142,7 +9125,7 @@ declare namespace PlaneEntity {
9142
9125
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
9143
9126
  * @property [label] - 支持附带文字的显示
9144
9127
  */
9145
- type StyleOptions = {
9128
+ type StyleOptions = any | {
9146
9129
  dimensions?: Cesium.Cartesian2;
9147
9130
  dimensions_x?: number;
9148
9131
  dimensions_y?: number;
@@ -9170,8 +9153,8 @@ declare namespace PlaneEntity {
9170
9153
  shadows?: Cesium.ShadowMode;
9171
9154
  setHeight?: number | string;
9172
9155
  addHeight?: number | string;
9173
- highlight?: PlaneEntity.StyleOptions;
9174
- label?: LabelEntity.StyleOptions;
9156
+ highlight?: PlaneEntity.StyleOptions | any;
9157
+ label?: LabelEntity.StyleOptions | any;
9175
9158
  };
9176
9159
  }
9177
9160
 
@@ -9203,7 +9186,7 @@ declare namespace PlaneEntity {
9203
9186
  declare class PlaneEntity extends BasePointEntity {
9204
9187
  constructor(options: {
9205
9188
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
9206
- style: PlaneEntity.StyleOptions;
9189
+ style: PlaneEntity.StyleOptions | any;
9207
9190
  attr?: any;
9208
9191
  orientation?: Cesium.Property;
9209
9192
  availability?: Cesium.TimeIntervalCollection;
@@ -9214,9 +9197,9 @@ declare class PlaneEntity extends BasePointEntity {
9214
9197
  drawShow?: boolean;
9215
9198
  addHeight?: number;
9216
9199
  popup?: string | any[] | ((...params: any[]) => any);
9217
- popupOptions?: Popup.StyleOptions;
9200
+ popupOptions?: Popup.StyleOptions | any;
9218
9201
  tooltip?: string | any[] | ((...params: any[]) => any);
9219
- tooltipOptions?: Tooltip.StyleOptions;
9202
+ tooltipOptions?: Tooltip.StyleOptions | any;
9220
9203
  contextmenuItems?: any;
9221
9204
  id?: string | number;
9222
9205
  name?: string;
@@ -9269,7 +9252,7 @@ declare namespace PointEntity {
9269
9252
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
9270
9253
  * @property [label] - 支持附带文字的显示
9271
9254
  */
9272
- type StyleOptions = {
9255
+ type StyleOptions = any | {
9273
9256
  pixelSize?: number;
9274
9257
  color?: string | Cesium.Color;
9275
9258
  opacity?: number;
@@ -9292,8 +9275,8 @@ declare namespace PointEntity {
9292
9275
  heightReference?: Cesium.HeightReference;
9293
9276
  setHeight?: number | string;
9294
9277
  addHeight?: number | string;
9295
- highlight?: PointEntity.StyleOptions;
9296
- label?: LabelEntity.StyleOptions;
9278
+ highlight?: PointEntity.StyleOptions | any;
9279
+ label?: LabelEntity.StyleOptions | any;
9297
9280
  };
9298
9281
  }
9299
9282
 
@@ -9321,6 +9304,10 @@ declare namespace PointEntity {
9321
9304
  * @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
9322
9305
  * @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
9323
9306
  * @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
9307
+ * @param [options.model] - 设置附加的 gltf模型 和对应的样式
9308
+ * @param [options.billboard] - 设置附加的 图标 和对应的样式
9309
+ * @param [options.circle] - 设置附加的 圆 和对应的样式
9310
+ * @param [options.path] - 设置附加的 轨迹路线 和对应的样式
9324
9311
  * @param [options.id = uuid()] - 矢量数据id标识
9325
9312
  * @param [options.name = ''] - 矢量数据名称
9326
9313
  * @param [options.show = true] - 矢量数据是否显示
@@ -9330,7 +9317,7 @@ declare namespace PointEntity {
9330
9317
  declare class PointEntity extends BasePointEntity {
9331
9318
  constructor(options: {
9332
9319
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
9333
- style: PointEntity.StyleOptions;
9320
+ style: PointEntity.StyleOptions | any;
9334
9321
  attr?: any;
9335
9322
  availability?: Cesium.TimeIntervalCollection;
9336
9323
  description?: Cesium.Property | string;
@@ -9346,10 +9333,14 @@ declare class PointEntity extends BasePointEntity {
9346
9333
  drawShow?: boolean;
9347
9334
  addHeight?: number;
9348
9335
  popup?: string | any[] | ((...params: any[]) => any);
9349
- popupOptions?: Popup.StyleOptions;
9336
+ popupOptions?: Popup.StyleOptions | any;
9350
9337
  tooltip?: string | any[] | ((...params: any[]) => any);
9351
- tooltipOptions?: Tooltip.StyleOptions;
9338
+ tooltipOptions?: Tooltip.StyleOptions | any;
9352
9339
  contextmenuItems?: any;
9340
+ model?: ModelEntity.StyleOptions | any | any;
9341
+ billboard?: BillboardEntity.StyleOptions | any | any;
9342
+ circle?: CircleEntity.StyleOptions | any | any;
9343
+ path?: PathEntity.StyleOptions | any | any;
9353
9344
  id?: string | number;
9354
9345
  name?: string;
9355
9346
  show?: boolean;
@@ -9408,11 +9399,11 @@ declare namespace PolygonEntity {
9408
9399
  * @property [setHeight = 0] - 指定坐标高度值,或数组指定每个点的高度(常用于图层中配置)
9409
9400
  * @property [addHeight = 0] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
9410
9401
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
9411
- * @property [label] - 支持附带文字的显示,额外支持:
9412
- * @property [label.position] - 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
9413
- * @property [label.showAll] - MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
9402
+ * @property [label] - 支持附带文字的显示,额外支持:<br />
9403
+ * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
9404
+ * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
9414
9405
  */
9415
- type StyleOptions = {
9406
+ type StyleOptions = any | {
9416
9407
  fill?: boolean;
9417
9408
  materialType?: string;
9418
9409
  material的多个参数?: any;
@@ -9426,7 +9417,7 @@ declare namespace PolygonEntity {
9426
9417
  outlineWidth?: number;
9427
9418
  outlineColor?: string | Cesium.Color;
9428
9419
  outlineOpacity?: number;
9429
- outlineStyle?: PolylineEntity.StyleOptions;
9420
+ outlineStyle?: PolylineEntity.StyleOptions | any;
9430
9421
  distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
9431
9422
  distanceDisplayCondition_far?: number;
9432
9423
  distanceDisplayCondition_near?: number;
@@ -9448,11 +9439,8 @@ declare namespace PolygonEntity {
9448
9439
  buffer?: number;
9449
9440
  setHeight?: number | number[];
9450
9441
  addHeight?: number | number[];
9451
- highlight?: PolygonEntity.StyleOptions;
9452
- label?: {
9453
- position?: string | LngLatPoint;
9454
- showAll?: boolean;
9455
- };
9442
+ highlight?: PolygonEntity.StyleOptions | any;
9443
+ label?: LabelEntity.StyleOptions | any | any;
9456
9444
  };
9457
9445
  }
9458
9446
 
@@ -9487,7 +9475,7 @@ declare namespace PolygonEntity {
9487
9475
  declare class PolygonEntity extends BasePolyEntity {
9488
9476
  constructor(options: {
9489
9477
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
9490
- style: PolygonEntity.StyleOptions;
9478
+ style: PolygonEntity.StyleOptions | any;
9491
9479
  attr?: any;
9492
9480
  availability?: Cesium.TimeIntervalCollection;
9493
9481
  description?: Cesium.Property | string;
@@ -9501,9 +9489,9 @@ declare class PolygonEntity extends BasePolyEntity {
9501
9489
  hasMoveEdit?: boolean;
9502
9490
  hasHeightEdit?: boolean;
9503
9491
  popup?: string | any[] | ((...params: any[]) => any);
9504
- popupOptions?: Popup.StyleOptions;
9492
+ popupOptions?: Popup.StyleOptions | any;
9505
9493
  tooltip?: string | any[] | ((...params: any[]) => any);
9506
- tooltipOptions?: Tooltip.StyleOptions;
9494
+ tooltipOptions?: Tooltip.StyleOptions | any;
9507
9495
  contextmenuItems?: any;
9508
9496
  id?: string | number;
9509
9497
  name?: string;
@@ -9599,12 +9587,12 @@ declare namespace PolylineEntity {
9599
9587
  * @property [setHeight = 0] - 指定坐标高度值,或数组指定每个点的高度(常用于图层中配置)
9600
9588
  * @property [addHeight = 0] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
9601
9589
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
9602
- * @property [label] - 支持附带文字的显示,额外支持:
9603
- * @property [label.text = "文字"] - 文本内容,换行可以用换行符'\n'。
9604
- * @property [label.position] - 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
9605
- * @property [label.showAll] - MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
9590
+ * @property [label] - 支持附带文字的显示,额外支持:<br />
9591
+ * // * @property {String} [label.text = "文字"] 文本内容,换行可以用换行符'\n'。
9592
+ * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
9593
+ * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
9606
9594
  */
9607
- type StyleOptions = {
9595
+ type StyleOptions = any | {
9608
9596
  materialType?: string;
9609
9597
  material的多个参数?: any;
9610
9598
  material?: Cesium.MaterialProperty | BaseMaterialProperty | Cesium.Color;
@@ -9632,12 +9620,8 @@ declare namespace PolylineEntity {
9632
9620
  zIndex?: number;
9633
9621
  setHeight?: number | number[];
9634
9622
  addHeight?: number | number[];
9635
- highlight?: PolylineEntity.StyleOptions;
9636
- label?: {
9637
- text?: string;
9638
- position?: string | LngLatPoint;
9639
- showAll?: boolean;
9640
- };
9623
+ highlight?: PolylineEntity.StyleOptions | any;
9624
+ label?: LabelEntity.StyleOptions | any | any;
9641
9625
  };
9642
9626
  }
9643
9627
 
@@ -9672,7 +9656,7 @@ declare namespace PolylineEntity {
9672
9656
  declare class PolylineEntity extends BasePolyEntity {
9673
9657
  constructor(options: {
9674
9658
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
9675
- style: PolylineEntity.StyleOptions;
9659
+ style: PolylineEntity.StyleOptions | any;
9676
9660
  attr?: any;
9677
9661
  availability?: Cesium.TimeIntervalCollection;
9678
9662
  description?: Cesium.Property | string;
@@ -9686,9 +9670,9 @@ declare class PolylineEntity extends BasePolyEntity {
9686
9670
  hasMoveEdit?: boolean;
9687
9671
  hasHeightEdit?: boolean;
9688
9672
  popup?: string | any[] | ((...params: any[]) => any);
9689
- popupOptions?: Popup.StyleOptions;
9673
+ popupOptions?: Popup.StyleOptions | any;
9690
9674
  tooltip?: string | any[] | ((...params: any[]) => any);
9691
- tooltipOptions?: Tooltip.StyleOptions;
9675
+ tooltipOptions?: Tooltip.StyleOptions | any;
9692
9676
  contextmenuItems?: any;
9693
9677
  id?: string | number;
9694
9678
  name?: string;
@@ -9738,7 +9722,7 @@ declare namespace PolylineVolumeEntity {
9738
9722
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
9739
9723
  * @property [label] - 支持附带文字的显示
9740
9724
  */
9741
- type StyleOptions = {
9725
+ type StyleOptions = any | {
9742
9726
  radius?: number;
9743
9727
  shape?: string | Cesium.Cartesian2[];
9744
9728
  fill?: boolean;
@@ -9758,8 +9742,8 @@ declare namespace PolylineVolumeEntity {
9758
9742
  shadows?: Cesium.ShadowMode;
9759
9743
  setHeight?: number | number[];
9760
9744
  addHeight?: number | number[];
9761
- highlight?: PolylineVolumeEntity.StyleOptions;
9762
- label?: LabelEntity.StyleOptions;
9745
+ highlight?: PolylineVolumeEntity.StyleOptions | any;
9746
+ label?: LabelEntity.StyleOptions | any;
9763
9747
  };
9764
9748
  }
9765
9749
 
@@ -9794,7 +9778,7 @@ declare namespace PolylineVolumeEntity {
9794
9778
  declare class PolylineVolumeEntity extends BasePolyEntity {
9795
9779
  constructor(options: {
9796
9780
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
9797
- style: PolylineVolumeEntity.StyleOptions;
9781
+ style: PolylineVolumeEntity.StyleOptions | any;
9798
9782
  attr?: any;
9799
9783
  availability?: Cesium.TimeIntervalCollection;
9800
9784
  description?: Cesium.Property | string;
@@ -9808,9 +9792,9 @@ declare class PolylineVolumeEntity extends BasePolyEntity {
9808
9792
  hasMoveEdit?: boolean;
9809
9793
  hasHeightEdit?: boolean;
9810
9794
  popup?: string | any[] | ((...params: any[]) => any);
9811
- popupOptions?: Popup.StyleOptions;
9795
+ popupOptions?: Popup.StyleOptions | any;
9812
9796
  tooltip?: string | any[] | ((...params: any[]) => any);
9813
- tooltipOptions?: Tooltip.StyleOptions;
9797
+ tooltipOptions?: Tooltip.StyleOptions | any;
9814
9798
  contextmenuItems?: any;
9815
9799
  id?: string | number;
9816
9800
  name?: string;
@@ -9876,7 +9860,7 @@ declare namespace RectangleEntity {
9876
9860
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
9877
9861
  * @property [label] - 支持附带文字的显示
9878
9862
  */
9879
- type StyleOptions = {
9863
+ type StyleOptions = any | {
9880
9864
  fill?: boolean;
9881
9865
  materialType?: string;
9882
9866
  material的多个参数?: any;
@@ -9887,7 +9871,7 @@ declare namespace RectangleEntity {
9887
9871
  outlineWidth?: number;
9888
9872
  outlineColor?: string | Cesium.Color;
9889
9873
  outlineOpacity?: number;
9890
- outlineStyle?: PolylineEntity.StyleOptions;
9874
+ outlineStyle?: PolylineEntity.StyleOptions | any;
9891
9875
  height?: number;
9892
9876
  heightReference?: Cesium.HeightReference;
9893
9877
  diffHeight?: number;
@@ -9908,8 +9892,8 @@ declare namespace RectangleEntity {
9908
9892
  zIndex?: number;
9909
9893
  setHeight?: number | string;
9910
9894
  addHeight?: number | string;
9911
- highlight?: RectangleEntity.StyleOptions;
9912
- label?: LabelEntity.StyleOptions;
9895
+ highlight?: RectangleEntity.StyleOptions | any;
9896
+ label?: LabelEntity.StyleOptions | any;
9913
9897
  };
9914
9898
  }
9915
9899
 
@@ -9946,7 +9930,7 @@ declare class RectangleEntity extends BasePolyEntity {
9946
9930
  constructor(options: {
9947
9931
  positions?: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
9948
9932
  rectangle?: Cesium.Rectangle | Cesium.PositionProperty;
9949
- style: RectangleEntity.StyleOptions;
9933
+ style: RectangleEntity.StyleOptions | any;
9950
9934
  attr?: any;
9951
9935
  availability?: Cesium.TimeIntervalCollection;
9952
9936
  description?: Cesium.Property | string;
@@ -9960,9 +9944,9 @@ declare class RectangleEntity extends BasePolyEntity {
9960
9944
  hasMoveEdit?: boolean;
9961
9945
  hasHeightEdit?: boolean;
9962
9946
  popup?: string | any[] | ((...params: any[]) => any);
9963
- popupOptions?: Popup.StyleOptions;
9947
+ popupOptions?: Popup.StyleOptions | any;
9964
9948
  tooltip?: string | any[] | ((...params: any[]) => any);
9965
- tooltipOptions?: Tooltip.StyleOptions;
9949
+ tooltipOptions?: Tooltip.StyleOptions | any;
9966
9950
  contextmenuItems?: any;
9967
9951
  id?: string | number;
9968
9952
  name?: string;
@@ -10135,7 +10119,7 @@ declare namespace RectangularSensor {
10135
10119
  * @property [slice = 32] - 切分程度
10136
10120
  * @property [depthTest = true] - 是否被遮挡
10137
10121
  */
10138
- type StyleOptions = {
10122
+ type StyleOptions = any | {
10139
10123
  radius: number;
10140
10124
  xHalfAngle?: number;
10141
10125
  xHalfAngleDegree?: number;
@@ -10197,7 +10181,7 @@ declare namespace RectangularSensor {
10197
10181
  declare class RectangularSensor extends BasePointEntity {
10198
10182
  constructor(options: {
10199
10183
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
10200
- style: RectangularSensor.StyleOptions;
10184
+ style: RectangularSensor.StyleOptions | any;
10201
10185
  attr?: any;
10202
10186
  orientation?: Cesium.Property;
10203
10187
  availability?: Cesium.TimeIntervalCollection;
@@ -10208,9 +10192,9 @@ declare class RectangularSensor extends BasePointEntity {
10208
10192
  drawShow?: boolean;
10209
10193
  addHeight?: number;
10210
10194
  popup?: string | any[] | ((...params: any[]) => any);
10211
- popupOptions?: Popup.StyleOptions;
10195
+ popupOptions?: Popup.StyleOptions | any;
10212
10196
  tooltip?: string | any[] | ((...params: any[]) => any);
10213
- tooltipOptions?: Tooltip.StyleOptions;
10197
+ tooltipOptions?: Tooltip.StyleOptions | any;
10214
10198
  contextmenuItems?: any;
10215
10199
  id?: string | number;
10216
10200
  name?: string;
@@ -10261,7 +10245,7 @@ declare namespace Video2D {
10261
10245
  * @property [shadows = Cesium.ShadowMode.DISABLED] - 指定多边形是投射还是接收来自光源的阴影。
10262
10246
  * @property [showFrustum = false] - 是否显示视椎体框线
10263
10247
  */
10264
- type StyleOptions = {
10248
+ type StyleOptions = any | {
10265
10249
  angle: number;
10266
10250
  angle2: number;
10267
10251
  distance: number;
@@ -10276,7 +10260,7 @@ declare namespace Video2D {
10276
10260
  outlineWidth?: number;
10277
10261
  outlineColor?: string | Cesium.Color;
10278
10262
  outlineOpacity?: number;
10279
- outlineStyle?: PolylineEntity.StyleOptions;
10263
+ outlineStyle?: PolylineEntity.StyleOptions | any;
10280
10264
  distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
10281
10265
  distanceDisplayCondition_far?: number;
10282
10266
  distanceDisplayCondition_near?: number;
@@ -10309,12 +10293,12 @@ declare class Video2D extends PolygonEntity {
10309
10293
  constructor(options: {
10310
10294
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
10311
10295
  targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
10312
- style: Video2D.StyleOptions;
10296
+ style: Video2D.StyleOptions | any;
10313
10297
  attr?: any;
10314
10298
  popup?: string | any[] | ((...params: any[]) => any);
10315
- popupOptions?: Popup.StyleOptions;
10299
+ popupOptions?: Popup.StyleOptions | any;
10316
10300
  tooltip?: string | any[] | ((...params: any[]) => any);
10317
- tooltipOptions?: Tooltip.StyleOptions;
10301
+ tooltipOptions?: Tooltip.StyleOptions | any;
10318
10302
  contextmenuItems?: any;
10319
10303
  id?: string | number;
10320
10304
  name?: string;
@@ -10428,11 +10412,11 @@ declare namespace WallEntity {
10428
10412
  * @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
10429
10413
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
10430
10414
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
10431
- * @property [label] - 支持附带文字的显示,额外支持:
10432
- * @property [label.position] - 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
10433
- * @property [label.showAll] - MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
10415
+ * @property [label] - 支持附带文字的显示,额外支持:<br />
10416
+ * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
10417
+ * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
10434
10418
  */
10435
- type StyleOptions = {
10419
+ type StyleOptions = any | {
10436
10420
  diffHeight?: number;
10437
10421
  minimumHeights?: number[];
10438
10422
  maximumHeights?: number[];
@@ -10455,11 +10439,8 @@ declare namespace WallEntity {
10455
10439
  granularity?: number;
10456
10440
  setHeight?: number | string;
10457
10441
  addHeight?: number | string;
10458
- highlight?: WallEntity.StyleOptions;
10459
- label?: {
10460
- position?: string | LngLatPoint;
10461
- showAll?: boolean;
10462
- };
10442
+ highlight?: WallEntity.StyleOptions | any;
10443
+ label?: LabelEntity.StyleOptions | any | any;
10463
10444
  };
10464
10445
  }
10465
10446
 
@@ -10494,7 +10475,7 @@ declare namespace WallEntity {
10494
10475
  declare class WallEntity extends BasePolyEntity {
10495
10476
  constructor(options: {
10496
10477
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
10497
- style: WallEntity.StyleOptions;
10478
+ style: WallEntity.StyleOptions | any;
10498
10479
  attr?: any;
10499
10480
  availability?: Cesium.TimeIntervalCollection;
10500
10481
  description?: Cesium.Property | string;
@@ -10508,9 +10489,9 @@ declare class WallEntity extends BasePolyEntity {
10508
10489
  hasMoveEdit?: boolean;
10509
10490
  hasHeightEdit?: boolean;
10510
10491
  popup?: string | any[] | ((...params: any[]) => any);
10511
- popupOptions?: Popup.StyleOptions;
10492
+ popupOptions?: Popup.StyleOptions | any;
10512
10493
  tooltip?: string | any[] | ((...params: any[]) => any);
10513
- tooltipOptions?: Tooltip.StyleOptions;
10494
+ tooltipOptions?: Tooltip.StyleOptions | any;
10514
10495
  contextmenuItems?: any;
10515
10496
  id?: string | number;
10516
10497
  name?: string;
@@ -10566,7 +10547,7 @@ declare class WallEntity extends BasePolyEntity {
10566
10547
  declare class AttackArrow extends PolygonEntity {
10567
10548
  constructor(options: {
10568
10549
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
10569
- style: PolygonEntity.StyleOptions;
10550
+ style: PolygonEntity.StyleOptions | any;
10570
10551
  attr?: any;
10571
10552
  availability?: Cesium.TimeIntervalCollection;
10572
10553
  description?: Cesium.Property | string;
@@ -10576,9 +10557,9 @@ declare class AttackArrow extends PolygonEntity {
10576
10557
  hasMoveEdit?: boolean;
10577
10558
  addHeight?: number;
10578
10559
  popup?: string | any[] | ((...params: any[]) => any);
10579
- popupOptions?: Popup.StyleOptions;
10560
+ popupOptions?: Popup.StyleOptions | any;
10580
10561
  tooltip?: string | any[] | ((...params: any[]) => any);
10581
- tooltipOptions?: Tooltip.StyleOptions;
10562
+ tooltipOptions?: Tooltip.StyleOptions | any;
10582
10563
  contextmenuItems?: any;
10583
10564
  id?: string | number;
10584
10565
  name?: string;
@@ -10629,7 +10610,7 @@ declare class AttackArrow extends PolygonEntity {
10629
10610
  declare class AttackArrowPW extends PolygonEntity {
10630
10611
  constructor(options: {
10631
10612
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
10632
- style: PolygonEntity.StyleOptions;
10613
+ style: PolygonEntity.StyleOptions | any;
10633
10614
  attr?: any;
10634
10615
  availability?: Cesium.TimeIntervalCollection;
10635
10616
  description?: Cesium.Property | string;
@@ -10639,9 +10620,9 @@ declare class AttackArrowPW extends PolygonEntity {
10639
10620
  hasMoveEdit?: boolean;
10640
10621
  addHeight?: number;
10641
10622
  popup?: string | any[] | ((...params: any[]) => any);
10642
- popupOptions?: Popup.StyleOptions;
10623
+ popupOptions?: Popup.StyleOptions | any;
10643
10624
  tooltip?: string | any[] | ((...params: any[]) => any);
10644
- tooltipOptions?: Tooltip.StyleOptions;
10625
+ tooltipOptions?: Tooltip.StyleOptions | any;
10645
10626
  contextmenuItems?: any;
10646
10627
  id?: string | number;
10647
10628
  name?: string;
@@ -10692,7 +10673,7 @@ declare class AttackArrowPW extends PolygonEntity {
10692
10673
  declare class AttackArrowYW extends PolygonEntity {
10693
10674
  constructor(options: {
10694
10675
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
10695
- style: PolygonEntity.StyleOptions;
10676
+ style: PolygonEntity.StyleOptions | any;
10696
10677
  attr?: any;
10697
10678
  availability?: Cesium.TimeIntervalCollection;
10698
10679
  description?: Cesium.Property | string;
@@ -10702,9 +10683,9 @@ declare class AttackArrowYW extends PolygonEntity {
10702
10683
  hasMoveEdit?: boolean;
10703
10684
  addHeight?: number;
10704
10685
  popup?: string | any[] | ((...params: any[]) => any);
10705
- popupOptions?: Popup.StyleOptions;
10686
+ popupOptions?: Popup.StyleOptions | any;
10706
10687
  tooltip?: string | any[] | ((...params: any[]) => any);
10707
- tooltipOptions?: Tooltip.StyleOptions;
10688
+ tooltipOptions?: Tooltip.StyleOptions | any;
10708
10689
  contextmenuItems?: any;
10709
10690
  id?: string | number;
10710
10691
  name?: string;
@@ -10755,7 +10736,7 @@ declare class AttackArrowYW extends PolygonEntity {
10755
10736
  declare class CloseVurve extends PolygonEntity {
10756
10737
  constructor(options: {
10757
10738
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
10758
- style: PolygonEntity.StyleOptions;
10739
+ style: PolygonEntity.StyleOptions | any;
10759
10740
  attr?: any;
10760
10741
  availability?: Cesium.TimeIntervalCollection;
10761
10742
  description?: Cesium.Property | string;
@@ -10765,9 +10746,9 @@ declare class CloseVurve extends PolygonEntity {
10765
10746
  hasMoveEdit?: boolean;
10766
10747
  addHeight?: number;
10767
10748
  popup?: string | any[] | ((...params: any[]) => any);
10768
- popupOptions?: Popup.StyleOptions;
10749
+ popupOptions?: Popup.StyleOptions | any;
10769
10750
  tooltip?: string | any[] | ((...params: any[]) => any);
10770
- tooltipOptions?: Tooltip.StyleOptions;
10751
+ tooltipOptions?: Tooltip.StyleOptions | any;
10771
10752
  contextmenuItems?: any;
10772
10753
  id?: string | number;
10773
10754
  name?: string;
@@ -10818,7 +10799,7 @@ declare class CloseVurve extends PolygonEntity {
10818
10799
  declare class DoubleArrow extends PolygonEntity {
10819
10800
  constructor(options: {
10820
10801
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
10821
- style: PolygonEntity.StyleOptions;
10802
+ style: PolygonEntity.StyleOptions | any;
10822
10803
  attr?: any;
10823
10804
  availability?: Cesium.TimeIntervalCollection;
10824
10805
  description?: Cesium.Property | string;
@@ -10828,9 +10809,9 @@ declare class DoubleArrow extends PolygonEntity {
10828
10809
  hasMoveEdit?: boolean;
10829
10810
  addHeight?: number;
10830
10811
  popup?: string | any[] | ((...params: any[]) => any);
10831
- popupOptions?: Popup.StyleOptions;
10812
+ popupOptions?: Popup.StyleOptions | any;
10832
10813
  tooltip?: string | any[] | ((...params: any[]) => any);
10833
- tooltipOptions?: Tooltip.StyleOptions;
10814
+ tooltipOptions?: Tooltip.StyleOptions | any;
10834
10815
  contextmenuItems?: any;
10835
10816
  id?: string | number;
10836
10817
  name?: string;
@@ -10893,7 +10874,7 @@ declare class EditSector extends EditPolygon {
10893
10874
  declare class FineArrow extends PolygonEntity {
10894
10875
  constructor(options: {
10895
10876
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
10896
- style: PolygonEntity.StyleOptions;
10877
+ style: PolygonEntity.StyleOptions | any;
10897
10878
  attr?: any;
10898
10879
  availability?: Cesium.TimeIntervalCollection;
10899
10880
  description?: Cesium.Property | string;
@@ -10903,9 +10884,9 @@ declare class FineArrow extends PolygonEntity {
10903
10884
  hasMoveEdit?: boolean;
10904
10885
  addHeight?: number;
10905
10886
  popup?: string | any[] | ((...params: any[]) => any);
10906
- popupOptions?: Popup.StyleOptions;
10887
+ popupOptions?: Popup.StyleOptions | any;
10907
10888
  tooltip?: string | any[] | ((...params: any[]) => any);
10908
- tooltipOptions?: Tooltip.StyleOptions;
10889
+ tooltipOptions?: Tooltip.StyleOptions | any;
10909
10890
  contextmenuItems?: any;
10910
10891
  id?: string | number;
10911
10892
  name?: string;
@@ -10956,7 +10937,7 @@ declare class FineArrow extends PolygonEntity {
10956
10937
  declare class FineArrowYW extends PolygonEntity {
10957
10938
  constructor(options: {
10958
10939
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
10959
- style: PolygonEntity.StyleOptions;
10940
+ style: PolygonEntity.StyleOptions | any;
10960
10941
  attr?: any;
10961
10942
  availability?: Cesium.TimeIntervalCollection;
10962
10943
  description?: Cesium.Property | string;
@@ -10966,9 +10947,9 @@ declare class FineArrowYW extends PolygonEntity {
10966
10947
  hasMoveEdit?: boolean;
10967
10948
  addHeight?: number;
10968
10949
  popup?: string | any[] | ((...params: any[]) => any);
10969
- popupOptions?: Popup.StyleOptions;
10950
+ popupOptions?: Popup.StyleOptions | any;
10970
10951
  tooltip?: string | any[] | ((...params: any[]) => any);
10971
- tooltipOptions?: Tooltip.StyleOptions;
10952
+ tooltipOptions?: Tooltip.StyleOptions | any;
10972
10953
  contextmenuItems?: any;
10973
10954
  id?: string | number;
10974
10955
  name?: string;
@@ -11019,7 +11000,7 @@ declare class FineArrowYW extends PolygonEntity {
11019
11000
  declare class GatheringPlace extends PolygonEntity {
11020
11001
  constructor(options: {
11021
11002
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
11022
- style: PolygonEntity.StyleOptions;
11003
+ style: PolygonEntity.StyleOptions | any;
11023
11004
  attr?: any;
11024
11005
  availability?: Cesium.TimeIntervalCollection;
11025
11006
  description?: Cesium.Property | string;
@@ -11029,9 +11010,9 @@ declare class GatheringPlace extends PolygonEntity {
11029
11010
  hasMoveEdit?: boolean;
11030
11011
  addHeight?: number;
11031
11012
  popup?: string | any[] | ((...params: any[]) => any);
11032
- popupOptions?: Popup.StyleOptions;
11013
+ popupOptions?: Popup.StyleOptions | any;
11033
11014
  tooltip?: string | any[] | ((...params: any[]) => any);
11034
- tooltipOptions?: Tooltip.StyleOptions;
11015
+ tooltipOptions?: Tooltip.StyleOptions | any;
11035
11016
  contextmenuItems?: any;
11036
11017
  id?: string | number;
11037
11018
  name?: string;
@@ -11082,7 +11063,7 @@ declare class GatheringPlace extends PolygonEntity {
11082
11063
  declare class IsosTriangle extends PolygonEntity {
11083
11064
  constructor(options: {
11084
11065
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
11085
- style: PolygonEntity.StyleOptions;
11066
+ style: PolygonEntity.StyleOptions | any;
11086
11067
  attr?: any;
11087
11068
  availability?: Cesium.TimeIntervalCollection;
11088
11069
  description?: Cesium.Property | string;
@@ -11092,9 +11073,9 @@ declare class IsosTriangle extends PolygonEntity {
11092
11073
  hasMoveEdit?: boolean;
11093
11074
  addHeight?: number;
11094
11075
  popup?: string | any[] | ((...params: any[]) => any);
11095
- popupOptions?: Popup.StyleOptions;
11076
+ popupOptions?: Popup.StyleOptions | any;
11096
11077
  tooltip?: string | any[] | ((...params: any[]) => any);
11097
- tooltipOptions?: Tooltip.StyleOptions;
11078
+ tooltipOptions?: Tooltip.StyleOptions | any;
11098
11079
  contextmenuItems?: any;
11099
11080
  id?: string | number;
11100
11081
  name?: string;
@@ -11145,7 +11126,7 @@ declare class IsosTriangle extends PolygonEntity {
11145
11126
  declare class Lune extends PolygonEntity {
11146
11127
  constructor(options: {
11147
11128
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
11148
- style: PolygonEntity.StyleOptions;
11129
+ style: PolygonEntity.StyleOptions | any;
11149
11130
  attr?: any;
11150
11131
  availability?: Cesium.TimeIntervalCollection;
11151
11132
  description?: Cesium.Property | string;
@@ -11155,9 +11136,9 @@ declare class Lune extends PolygonEntity {
11155
11136
  hasMoveEdit?: boolean;
11156
11137
  addHeight?: number;
11157
11138
  popup?: string | any[] | ((...params: any[]) => any);
11158
- popupOptions?: Popup.StyleOptions;
11139
+ popupOptions?: Popup.StyleOptions | any;
11159
11140
  tooltip?: string | any[] | ((...params: any[]) => any);
11160
- tooltipOptions?: Tooltip.StyleOptions;
11141
+ tooltipOptions?: Tooltip.StyleOptions | any;
11161
11142
  contextmenuItems?: any;
11162
11143
  id?: string | number;
11163
11144
  name?: string;
@@ -11225,9 +11206,9 @@ declare class Regular extends PolygonEntity {
11225
11206
  hasMoveEdit?: boolean;
11226
11207
  addHeight?: number;
11227
11208
  popup?: string | any[] | ((...params: any[]) => any);
11228
- popupOptions?: Popup.StyleOptions;
11209
+ popupOptions?: Popup.StyleOptions | any;
11229
11210
  tooltip?: string | any[] | ((...params: any[]) => any);
11230
- tooltipOptions?: Tooltip.StyleOptions;
11211
+ tooltipOptions?: Tooltip.StyleOptions | any;
11231
11212
  contextmenuItems?: any;
11232
11213
  id?: string | number;
11233
11214
  name?: string;
@@ -11310,9 +11291,9 @@ declare class Sector extends PolygonEntity {
11310
11291
  hasMoveEdit?: boolean;
11311
11292
  addHeight?: number;
11312
11293
  popup?: string | any[] | ((...params: any[]) => any);
11313
- popupOptions?: Popup.StyleOptions;
11294
+ popupOptions?: Popup.StyleOptions | any;
11314
11295
  tooltip?: string | any[] | ((...params: any[]) => any);
11315
- tooltipOptions?: Tooltip.StyleOptions;
11296
+ tooltipOptions?: Tooltip.StyleOptions | any;
11316
11297
  contextmenuItems?: any;
11317
11298
  id?: string | number;
11318
11299
  name?: string;
@@ -11378,7 +11359,7 @@ declare class Sector extends PolygonEntity {
11378
11359
  declare class StraightArrow extends PolygonEntity {
11379
11360
  constructor(options: {
11380
11361
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
11381
- style: PolygonEntity.StyleOptions;
11362
+ style: PolygonEntity.StyleOptions | any;
11382
11363
  attr?: any;
11383
11364
  availability?: Cesium.TimeIntervalCollection;
11384
11365
  description?: Cesium.Property | string;
@@ -11388,9 +11369,9 @@ declare class StraightArrow extends PolygonEntity {
11388
11369
  hasMoveEdit?: boolean;
11389
11370
  addHeight?: number;
11390
11371
  popup?: string | any[] | ((...params: any[]) => any);
11391
- popupOptions?: Popup.StyleOptions;
11372
+ popupOptions?: Popup.StyleOptions | any;
11392
11373
  tooltip?: string | any[] | ((...params: any[]) => any);
11393
- tooltipOptions?: Tooltip.StyleOptions;
11374
+ tooltipOptions?: Tooltip.StyleOptions | any;
11394
11375
  contextmenuItems?: any;
11395
11376
  id?: string | number;
11396
11377
  name?: string;
@@ -11449,9 +11430,9 @@ declare class StraightArrow extends PolygonEntity {
11449
11430
  declare class AngleMeasure extends PolylineEntity {
11450
11431
  constructor(options: {
11451
11432
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
11452
- style: PolylineEntity.StyleOptions;
11433
+ style: PolylineEntity.StyleOptions | any;
11453
11434
  attr?: any;
11454
- label?: LabelEntity.StyleOptions;
11435
+ label?: LabelEntity.StyleOptions | any;
11455
11436
  angleDecimal?: number;
11456
11437
  decimal?: number;
11457
11438
  availability?: Cesium.TimeIntervalCollection;
@@ -11466,9 +11447,9 @@ declare class AngleMeasure extends PolylineEntity {
11466
11447
  hasMoveEdit?: boolean;
11467
11448
  hasHeightEdit?: boolean;
11468
11449
  popup?: string | any[] | ((...params: any[]) => any);
11469
- popupOptions?: Popup.StyleOptions;
11450
+ popupOptions?: Popup.StyleOptions | any;
11470
11451
  tooltip?: string | any[] | ((...params: any[]) => any);
11471
- tooltipOptions?: Tooltip.StyleOptions;
11452
+ tooltipOptions?: Tooltip.StyleOptions | any;
11472
11453
  contextmenuItems?: any;
11473
11454
  id?: string | number;
11474
11455
  name?: string;
@@ -11529,9 +11510,9 @@ declare class AngleMeasure extends PolylineEntity {
11529
11510
  declare class AreaMeasure extends PolygonEntity {
11530
11511
  constructor(options: {
11531
11512
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
11532
- style: PolygonEntity.StyleOptions;
11513
+ style: PolygonEntity.StyleOptions | any;
11533
11514
  attr?: any;
11534
- label?: LabelEntity.StyleOptions;
11515
+ label?: LabelEntity.StyleOptions | any;
11535
11516
  decimal?: number;
11536
11517
  availability?: Cesium.TimeIntervalCollection;
11537
11518
  description?: Cesium.Property | string;
@@ -11545,9 +11526,9 @@ declare class AreaMeasure extends PolygonEntity {
11545
11526
  hasMoveEdit?: boolean;
11546
11527
  hasHeightEdit?: boolean;
11547
11528
  popup?: string | any[] | ((...params: any[]) => any);
11548
- popupOptions?: Popup.StyleOptions;
11529
+ popupOptions?: Popup.StyleOptions | any;
11549
11530
  tooltip?: string | any[] | ((...params: any[]) => any);
11550
- tooltipOptions?: Tooltip.StyleOptions;
11531
+ tooltipOptions?: Tooltip.StyleOptions | any;
11551
11532
  contextmenuItems?: any;
11552
11533
  id?: string | number;
11553
11534
  name?: string;
@@ -11614,9 +11595,9 @@ declare class AreaMeasure extends PolygonEntity {
11614
11595
  declare class AreaSurfaceMeasure extends AreaMeasure {
11615
11596
  constructor(options: {
11616
11597
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
11617
- style: PolygonEntity.StyleOptions;
11598
+ style: PolygonEntity.StyleOptions | any;
11618
11599
  attr?: any;
11619
- label?: LabelEntity.StyleOptions;
11600
+ label?: LabelEntity.StyleOptions | any;
11620
11601
  decimal?: number;
11621
11602
  availability?: Cesium.TimeIntervalCollection;
11622
11603
  description?: Cesium.Property | string;
@@ -11630,9 +11611,9 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
11630
11611
  hasMoveEdit?: boolean;
11631
11612
  hasHeightEdit?: boolean;
11632
11613
  popup?: string | any[] | ((...params: any[]) => any);
11633
- popupOptions?: Popup.StyleOptions;
11614
+ popupOptions?: Popup.StyleOptions | any;
11634
11615
  tooltip?: string | any[] | ((...params: any[]) => any);
11635
- tooltipOptions?: Tooltip.StyleOptions;
11616
+ tooltipOptions?: Tooltip.StyleOptions | any;
11636
11617
  contextmenuItems?: any;
11637
11618
  id?: string | number;
11638
11619
  name?: string;
@@ -11683,9 +11664,9 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
11683
11664
  declare class DistanceMeasure extends PolylineEntity {
11684
11665
  constructor(options: {
11685
11666
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
11686
- style: PolylineEntity.StyleOptions;
11667
+ style: PolylineEntity.StyleOptions | any;
11687
11668
  attr?: any;
11688
- label?: LabelEntity.StyleOptions;
11669
+ label?: LabelEntity.StyleOptions | any;
11689
11670
  decimal?: number;
11690
11671
  availability?: Cesium.TimeIntervalCollection;
11691
11672
  description?: Cesium.Property | string;
@@ -11699,9 +11680,9 @@ declare class DistanceMeasure extends PolylineEntity {
11699
11680
  hasMoveEdit?: boolean;
11700
11681
  hasHeightEdit?: boolean;
11701
11682
  popup?: string | any[] | ((...params: any[]) => any);
11702
- popupOptions?: Popup.StyleOptions;
11683
+ popupOptions?: Popup.StyleOptions | any;
11703
11684
  tooltip?: string | any[] | ((...params: any[]) => any);
11704
- tooltipOptions?: Tooltip.StyleOptions;
11685
+ tooltipOptions?: Tooltip.StyleOptions | any;
11705
11686
  contextmenuItems?: any;
11706
11687
  id?: string | number;
11707
11688
  name?: string;
@@ -11762,9 +11743,9 @@ declare class DistanceMeasure extends PolylineEntity {
11762
11743
  declare class DistanceSurfaceMeasure extends DistanceMeasure {
11763
11744
  constructor(options: {
11764
11745
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
11765
- style: PolylineEntity.StyleOptions;
11746
+ style: PolylineEntity.StyleOptions | any;
11766
11747
  attr?: any;
11767
- label?: LabelEntity.StyleOptions;
11748
+ label?: LabelEntity.StyleOptions | any;
11768
11749
  decimal?: number;
11769
11750
  availability?: Cesium.TimeIntervalCollection;
11770
11751
  description?: Cesium.Property | string;
@@ -11778,9 +11759,9 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
11778
11759
  hasMoveEdit?: boolean;
11779
11760
  hasHeightEdit?: boolean;
11780
11761
  popup?: string | any[] | ((...params: any[]) => any);
11781
- popupOptions?: Popup.StyleOptions;
11762
+ popupOptions?: Popup.StyleOptions | any;
11782
11763
  tooltip?: string | any[] | ((...params: any[]) => any);
11783
- tooltipOptions?: Tooltip.StyleOptions;
11764
+ tooltipOptions?: Tooltip.StyleOptions | any;
11784
11765
  contextmenuItems?: any;
11785
11766
  id?: string | number;
11786
11767
  name?: string;
@@ -11831,9 +11812,9 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
11831
11812
  declare class HeightMeasure extends PolylineEntity {
11832
11813
  constructor(options: {
11833
11814
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
11834
- style: PolylineEntity.StyleOptions;
11815
+ style: PolylineEntity.StyleOptions | any;
11835
11816
  attr?: any;
11836
- label?: LabelEntity.StyleOptions;
11817
+ label?: LabelEntity.StyleOptions | any;
11837
11818
  decimal?: number;
11838
11819
  availability?: Cesium.TimeIntervalCollection;
11839
11820
  description?: Cesium.Property | string;
@@ -11847,9 +11828,9 @@ declare class HeightMeasure extends PolylineEntity {
11847
11828
  hasMoveEdit?: boolean;
11848
11829
  hasHeightEdit?: boolean;
11849
11830
  popup?: string | any[] | ((...params: any[]) => any);
11850
- popupOptions?: Popup.StyleOptions;
11831
+ popupOptions?: Popup.StyleOptions | any;
11851
11832
  tooltip?: string | any[] | ((...params: any[]) => any);
11852
- tooltipOptions?: Tooltip.StyleOptions;
11833
+ tooltipOptions?: Tooltip.StyleOptions | any;
11853
11834
  contextmenuItems?: any;
11854
11835
  id?: string | number;
11855
11836
  name?: string;
@@ -11910,9 +11891,9 @@ declare class HeightMeasure extends PolylineEntity {
11910
11891
  declare class HeightTriangleMeasure extends HeightMeasure {
11911
11892
  constructor(options: {
11912
11893
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
11913
- style: PolylineEntity.StyleOptions;
11894
+ style: PolylineEntity.StyleOptions | any;
11914
11895
  attr?: any;
11915
- label?: LabelEntity.StyleOptions;
11896
+ label?: LabelEntity.StyleOptions | any;
11916
11897
  decimal?: number;
11917
11898
  availability?: Cesium.TimeIntervalCollection;
11918
11899
  description?: Cesium.Property | string;
@@ -11926,9 +11907,9 @@ declare class HeightTriangleMeasure extends HeightMeasure {
11926
11907
  hasMoveEdit?: boolean;
11927
11908
  hasHeightEdit?: boolean;
11928
11909
  popup?: string | any[] | ((...params: any[]) => any);
11929
- popupOptions?: Popup.StyleOptions;
11910
+ popupOptions?: Popup.StyleOptions | any;
11930
11911
  tooltip?: string | any[] | ((...params: any[]) => any);
11931
- tooltipOptions?: Tooltip.StyleOptions;
11912
+ tooltipOptions?: Tooltip.StyleOptions | any;
11932
11913
  contextmenuItems?: any;
11933
11914
  id?: string | number;
11934
11915
  name?: string;
@@ -11979,7 +11960,7 @@ declare class HeightTriangleMeasure extends HeightMeasure {
11979
11960
  declare class PointMeasure extends PointEntity {
11980
11961
  constructor(options: {
11981
11962
  position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
11982
- style: PointEntity.StyleOptions;
11963
+ style: PointEntity.StyleOptions | any;
11983
11964
  attr?: any;
11984
11965
  availability?: Cesium.TimeIntervalCollection;
11985
11966
  description?: Cesium.Property | string;
@@ -11989,9 +11970,9 @@ declare class PointMeasure extends PointEntity {
11989
11970
  drawShow?: boolean;
11990
11971
  addHeight?: number;
11991
11972
  popup?: string | any[] | ((...params: any[]) => any);
11992
- popupOptions?: Popup.StyleOptions;
11973
+ popupOptions?: Popup.StyleOptions | any;
11993
11974
  tooltip?: string | any[] | ((...params: any[]) => any);
11994
- tooltipOptions?: Tooltip.StyleOptions;
11975
+ tooltipOptions?: Tooltip.StyleOptions | any;
11995
11976
  contextmenuItems?: any;
11996
11977
  id?: string | number;
11997
11978
  name?: string;
@@ -12042,9 +12023,9 @@ declare class PointMeasure extends PointEntity {
12042
12023
  declare class SectionMeasure extends DistanceMeasure {
12043
12024
  constructor(options: {
12044
12025
  positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
12045
- style: PolylineEntity.StyleOptions;
12026
+ style: PolylineEntity.StyleOptions | any;
12046
12027
  attr?: any;
12047
- label?: LabelEntity.StyleOptions;
12028
+ label?: LabelEntity.StyleOptions | any;
12048
12029
  decimal?: number;
12049
12030
  availability?: Cesium.TimeIntervalCollection;
12050
12031
  description?: Cesium.Property | string;
@@ -12058,9 +12039,9 @@ declare class SectionMeasure extends DistanceMeasure {
12058
12039
  hasMoveEdit?: boolean;
12059
12040
  hasHeightEdit?: boolean;
12060
12041
  popup?: string | any[] | ((...params: any[]) => any);
12061
- popupOptions?: Popup.StyleOptions;
12042
+ popupOptions?: Popup.StyleOptions | any;
12062
12043
  tooltip?: string | any[] | ((...params: any[]) => any);
12063
- tooltipOptions?: Tooltip.StyleOptions;
12044
+ tooltipOptions?: Tooltip.StyleOptions | any;
12064
12045
  contextmenuItems?: any;
12065
12046
  id?: string | number;
12066
12047
  name?: string;
@@ -12107,10 +12088,10 @@ declare class SectionMeasure extends DistanceMeasure {
12107
12088
  */
12108
12089
  declare class VolumeMeasure extends AreaMeasure {
12109
12090
  constructor(options: {
12110
- style: PolygonEntity.StyleOptions;
12091
+ style: PolygonEntity.StyleOptions | any;
12111
12092
  attr?: any;
12112
- polygonWallStyle?: PolygonEntity.StyleOptions;
12113
- label?: LabelEntity.StyleOptions;
12093
+ polygonWallStyle?: PolygonEntity.StyleOptions | any;
12094
+ label?: LabelEntity.StyleOptions | any;
12114
12095
  showFillVolume?: boolean;
12115
12096
  fillVolumeName?: string;
12116
12097
  showDigVolume?: boolean;
@@ -12119,7 +12100,7 @@ declare class VolumeMeasure extends AreaMeasure {
12119
12100
  areaName?: string;
12120
12101
  heightLabel?: boolean;
12121
12102
  offsetLabel?: boolean;
12122
- labelHeight?: LabelEntity.StyleOptions;
12103
+ labelHeight?: LabelEntity.StyleOptions | any;
12123
12104
  decimal?: number;
12124
12105
  has3dtiles?: boolean;
12125
12106
  id?: string | number;
@@ -12156,10 +12137,10 @@ declare class VolumeMeasure extends AreaMeasure {
12156
12137
  updateText(unit: string): void;
12157
12138
  /**
12158
12139
  * 通过鼠标拾取高度,赋值给基准面
12159
- * @param callback - 拾取完成后的回调方法
12160
- * @returns
12140
+ * @param [callback] - 拾取完成后的回调方法
12141
+ * @returns 拾取完成后的回调,与callback 2选1
12161
12142
  */
12162
- selecteHeight(callback: (...params: any[]) => any): void;
12143
+ selecteHeight(callback?: (...params: any[]) => any): Promise<number>;
12163
12144
  /**
12164
12145
  * 通过标绘 来创建矢量对象
12165
12146
  * @param layer - 图层
@@ -12232,9 +12213,9 @@ declare class BasePointPrimitive extends BasePrimitive {
12232
12213
  frameRateHeight?: number;
12233
12214
  objectsToExclude?: any;
12234
12215
  popup?: string | any[] | ((...params: any[]) => any);
12235
- popupOptions?: Popup.StyleOptions;
12216
+ popupOptions?: Popup.StyleOptions | any;
12236
12217
  tooltip?: string | any[] | ((...params: any[]) => any);
12237
- tooltipOptions?: Tooltip.StyleOptions;
12218
+ tooltipOptions?: Tooltip.StyleOptions | any;
12238
12219
  contextmenuItems?: any;
12239
12220
  id?: string | number;
12240
12221
  name?: string;
@@ -12373,9 +12354,9 @@ declare class BasePolyPrimitive extends BasePrimitive {
12373
12354
  debugShowBoundingVolume?: boolean;
12374
12355
  debugShowShadowVolume?: boolean;
12375
12356
  popup?: string | any[] | ((...params: any[]) => any);
12376
- popupOptions?: Popup.StyleOptions;
12357
+ popupOptions?: Popup.StyleOptions | any;
12377
12358
  tooltip?: string | any[] | ((...params: any[]) => any);
12378
- tooltipOptions?: Tooltip.StyleOptions;
12359
+ tooltipOptions?: Tooltip.StyleOptions | any;
12379
12360
  contextmenuItems?: any;
12380
12361
  id?: string | number;
12381
12362
  name?: string;
@@ -12441,15 +12422,13 @@ declare class BasePolyPrimitive extends BasePrimitive {
12441
12422
  * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
12442
12423
  * @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
12443
12424
  * @param [options.offset = 0] - 可以按需增加偏移高度(单位:米),便于可视
12444
- * @param options.callback - 异步计算高度完成后 的回调方法
12445
- * @returns 当前对象本身,可以链式调用
12425
+ * @returns 异步计算完成的Promise
12446
12426
  */
12447
12427
  autoSurfaceHeight(options?: {
12448
12428
  has3dtiles?: boolean;
12449
12429
  objectsToExclude?: any;
12450
12430
  offset?: number;
12451
- callback: Globe.surfaceLineWork_callback;
12452
- }): BasePolyPrimitive;
12431
+ }): Promise<any>;
12453
12432
  }
12454
12433
 
12455
12434
  declare namespace BasePrimitive {
@@ -12548,9 +12527,9 @@ declare class BasePrimitive extends BaseGraphic {
12548
12527
  debugShowBoundingVolume?: boolean;
12549
12528
  debugShowShadowVolume?: boolean;
12550
12529
  popup?: string | any[] | ((...params: any[]) => any);
12551
- popupOptions?: Popup.StyleOptions;
12530
+ popupOptions?: Popup.StyleOptions | any;
12552
12531
  tooltip?: string | any[] | ((...params: any[]) => any);
12553
- tooltipOptions?: Tooltip.StyleOptions;
12532
+ tooltipOptions?: Tooltip.StyleOptions | any;
12554
12533
  contextmenuItems?: any;
12555
12534
  id?: string | number;
12556
12535
  name?: string;
@@ -12633,12 +12612,12 @@ declare class BasePrimitive extends BaseGraphic {
12633
12612
  declare class BillboardPrimitive extends BasePointPrimitive {
12634
12613
  constructor(options: {
12635
12614
  position: LngLatPoint | Cesium.Cartesian3 | number[];
12636
- style: BillboardEntity.StyleOptions;
12615
+ style: BillboardEntity.StyleOptions | any;
12637
12616
  attr?: any;
12638
12617
  popup?: string | any[] | ((...params: any[]) => any);
12639
- popupOptions?: Popup.StyleOptions;
12618
+ popupOptions?: Popup.StyleOptions | any;
12640
12619
  tooltip?: string | any[] | ((...params: any[]) => any);
12641
- tooltipOptions?: Tooltip.StyleOptions;
12620
+ tooltipOptions?: Tooltip.StyleOptions | any;
12642
12621
  contextmenuItems?: any;
12643
12622
  id?: string | number;
12644
12623
  name?: string;
@@ -12689,7 +12668,7 @@ declare namespace BoxPrimitive {
12689
12668
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
12690
12669
  * @property [label] - 支持附带文字的显示
12691
12670
  */
12692
- type StyleOptions = {
12671
+ type StyleOptions = any | {
12693
12672
  dimensions?: Cesium.Cartesian3;
12694
12673
  dimensions_x?: number;
12695
12674
  dimensions_y?: number;
@@ -12715,8 +12694,8 @@ declare namespace BoxPrimitive {
12715
12694
  renderState?: any;
12716
12695
  setHeight?: number | string;
12717
12696
  addHeight?: number | string;
12718
- highlight?: BoxPrimitive.StyleOptions;
12719
- label?: LabelEntity.StyleOptions;
12697
+ highlight?: BoxPrimitive.StyleOptions | any;
12698
+ label?: LabelEntity.StyleOptions | any;
12720
12699
  };
12721
12700
  }
12722
12701
 
@@ -12754,7 +12733,7 @@ declare class BoxPrimitive extends BasePointPrimitive {
12754
12733
  constructor(options: {
12755
12734
  position: LngLatPoint | Cesium.Cartesian3 | number[];
12756
12735
  modelMatrix?: Cesium.Matrix4;
12757
- style: BoxPrimitive.StyleOptions;
12736
+ style: BoxPrimitive.StyleOptions | any;
12758
12737
  attr?: any;
12759
12738
  appearance?: Cesium.Appearance;
12760
12739
  attributes?: Cesium.Appearance;
@@ -12769,9 +12748,9 @@ declare class BoxPrimitive extends BasePointPrimitive {
12769
12748
  debugShowBoundingVolume?: boolean;
12770
12749
  debugShowShadowVolume?: boolean;
12771
12750
  popup?: string | any[] | ((...params: any[]) => any);
12772
- popupOptions?: Popup.StyleOptions;
12751
+ popupOptions?: Popup.StyleOptions | any;
12773
12752
  tooltip?: string | any[] | ((...params: any[]) => any);
12774
- tooltipOptions?: Tooltip.StyleOptions;
12753
+ tooltipOptions?: Tooltip.StyleOptions | any;
12775
12754
  contextmenuItems?: any;
12776
12755
  id?: string | number;
12777
12756
  name?: string;
@@ -12818,7 +12797,7 @@ declare namespace CirclePrimitive {
12818
12797
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
12819
12798
  * @property [label] - 支持附带文字的显示
12820
12799
  */
12821
- type StyleOptions = {
12800
+ type StyleOptions = any | {
12822
12801
  radius?: number;
12823
12802
  height?: number;
12824
12803
  diffHeight?: number;
@@ -12834,7 +12813,7 @@ declare namespace CirclePrimitive {
12834
12813
  outline?: boolean;
12835
12814
  outlineColor?: string | Cesium.Color;
12836
12815
  outlineOpacity?: number;
12837
- outlineStyle?: PolylinePrimitive.StyleOptions;
12816
+ outlineStyle?: PolylinePrimitive.StyleOptions | any;
12838
12817
  materialSupport?: Cesium.MaterialAppearance.MaterialSupportType;
12839
12818
  clampToGround?: boolean;
12840
12819
  classificationType?: Cesium.ClassificationType;
@@ -12848,8 +12827,8 @@ declare namespace CirclePrimitive {
12848
12827
  renderState?: any;
12849
12828
  setHeight?: number | string;
12850
12829
  addHeight?: number | string;
12851
- highlight?: CirclePrimitive.StyleOptions;
12852
- label?: LabelEntity.StyleOptions;
12830
+ highlight?: CirclePrimitive.StyleOptions | any;
12831
+ label?: LabelEntity.StyleOptions | any;
12853
12832
  };
12854
12833
  }
12855
12834
 
@@ -12887,7 +12866,7 @@ declare class CirclePrimitive extends BasePointPrimitive {
12887
12866
  constructor(options: {
12888
12867
  position: LngLatPoint | Cesium.Cartesian3 | number[];
12889
12868
  modelMatrix?: Cesium.Matrix4;
12890
- style: CirclePrimitive.StyleOptions;
12869
+ style: CirclePrimitive.StyleOptions | any;
12891
12870
  attr?: any;
12892
12871
  appearance?: Cesium.Appearance;
12893
12872
  attributes?: Cesium.Appearance;
@@ -12902,9 +12881,9 @@ declare class CirclePrimitive extends BasePointPrimitive {
12902
12881
  debugShowBoundingVolume?: boolean;
12903
12882
  debugShowShadowVolume?: boolean;
12904
12883
  popup?: string | any[] | ((...params: any[]) => any);
12905
- popupOptions?: Popup.StyleOptions;
12884
+ popupOptions?: Popup.StyleOptions | any;
12906
12885
  tooltip?: string | any[] | ((...params: any[]) => any);
12907
- tooltipOptions?: Tooltip.StyleOptions;
12886
+ tooltipOptions?: Tooltip.StyleOptions | any;
12908
12887
  contextmenuItems?: any;
12909
12888
  id?: string | number;
12910
12889
  name?: string;
@@ -13001,7 +12980,7 @@ declare namespace CloudPrimitive {
13001
12980
  * @property slice - 云的“切片”,即为广告牌外观选择的云的特定横截面。给定一个介于 0 和 1 之间的值,切片根据其在 z 方向上的最大尺寸指定与云相交的深度。
13002
12981
  * @property [brightness = 1.0] - 亮度
13003
12982
  */
13004
- type StyleOptions = {
12983
+ type StyleOptions = any | {
13005
12984
  scale: Cesium.Cartesian2;
13006
12985
  maximumSize: Cesium.Cartesian3;
13007
12986
  slice: number;
@@ -13032,12 +13011,12 @@ declare namespace CloudPrimitive {
13032
13011
  declare class CloudPrimitive extends BasePointPrimitive {
13033
13012
  constructor(options: {
13034
13013
  position: LngLatPoint | Cesium.Cartesian3 | number[];
13035
- style: CloudPrimitive.StyleOptions;
13014
+ style: CloudPrimitive.StyleOptions | any;
13036
13015
  attr?: any;
13037
13016
  popup?: string | any[] | ((...params: any[]) => any);
13038
- popupOptions?: Popup.StyleOptions;
13017
+ popupOptions?: Popup.StyleOptions | any;
13039
13018
  tooltip?: string | any[] | ((...params: any[]) => any);
13040
- tooltipOptions?: Tooltip.StyleOptions;
13019
+ tooltipOptions?: Tooltip.StyleOptions | any;
13041
13020
  contextmenuItems?: any;
13042
13021
  id?: string | number;
13043
13022
  name?: string;
@@ -13178,7 +13157,7 @@ declare namespace ConeTrackPrimitive {
13178
13157
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
13179
13158
  * @property [label] - 支持附带文字的显示
13180
13159
  */
13181
- type StyleOptions = {
13160
+ type StyleOptions = any | {
13182
13161
  angle?: number;
13183
13162
  bottomRadius?: number;
13184
13163
  length?: number;
@@ -13203,8 +13182,8 @@ declare namespace ConeTrackPrimitive {
13203
13182
  vertexShaderSource?: string;
13204
13183
  fragmentShaderSource?: string;
13205
13184
  renderState?: any;
13206
- highlight?: CylinderPrimitive.StyleOptions;
13207
- label?: LabelEntity.StyleOptions;
13185
+ highlight?: CylinderPrimitive.StyleOptions | any;
13186
+ label?: LabelEntity.StyleOptions | any;
13208
13187
  };
13209
13188
  }
13210
13189
 
@@ -13242,7 +13221,7 @@ declare class ConeTrackPrimitive extends CylinderPrimitive {
13242
13221
  constructor(options: {
13243
13222
  position: LngLatPoint | Cesium.Cartesian3 | number[];
13244
13223
  targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
13245
- style: ConeTrackPrimitive.StyleOptions;
13224
+ style: ConeTrackPrimitive.StyleOptions | any;
13246
13225
  attr?: any;
13247
13226
  appearance?: Cesium.Appearance;
13248
13227
  attributes?: Cesium.Appearance;
@@ -13257,9 +13236,9 @@ declare class ConeTrackPrimitive extends CylinderPrimitive {
13257
13236
  debugShowBoundingVolume?: boolean;
13258
13237
  debugShowShadowVolume?: boolean;
13259
13238
  popup?: string | any[] | ((...params: any[]) => any);
13260
- popupOptions?: Popup.StyleOptions;
13239
+ popupOptions?: Popup.StyleOptions | any;
13261
13240
  tooltip?: string | any[] | ((...params: any[]) => any);
13262
- tooltipOptions?: Tooltip.StyleOptions;
13241
+ tooltipOptions?: Tooltip.StyleOptions | any;
13263
13242
  contextmenuItems?: any;
13264
13243
  id?: string | number;
13265
13244
  name?: string;
@@ -13316,7 +13295,7 @@ declare namespace CorridorPrimitive {
13316
13295
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
13317
13296
  * @property [label] - 支持附带文字的显示
13318
13297
  */
13319
- type StyleOptions = {
13298
+ type StyleOptions = any | {
13320
13299
  width?: number;
13321
13300
  cornerType?: string | Cesium.CornerType;
13322
13301
  materialType?: string;
@@ -13344,7 +13323,7 @@ declare namespace CorridorPrimitive {
13344
13323
  renderState?: any;
13345
13324
  setHeight?: number | string;
13346
13325
  addHeight?: number | string;
13347
- label?: LabelPrimitive.StyleOptions;
13326
+ label?: LabelPrimitive.StyleOptions | any;
13348
13327
  };
13349
13328
  }
13350
13329
 
@@ -13380,7 +13359,7 @@ declare namespace CorridorPrimitive {
13380
13359
  declare class CorridorPrimitive extends BasePolyPrimitive {
13381
13360
  constructor(options: {
13382
13361
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
13383
- style: CorridorPrimitive.StyleOptions;
13362
+ style: CorridorPrimitive.StyleOptions | any;
13384
13363
  attr?: any;
13385
13364
  appearance?: Cesium.Appearance;
13386
13365
  attributes?: Cesium.Appearance;
@@ -13395,9 +13374,9 @@ declare class CorridorPrimitive extends BasePolyPrimitive {
13395
13374
  debugShowBoundingVolume?: boolean;
13396
13375
  debugShowShadowVolume?: boolean;
13397
13376
  popup?: string | any[] | ((...params: any[]) => any);
13398
- popupOptions?: Popup.StyleOptions;
13377
+ popupOptions?: Popup.StyleOptions | any;
13399
13378
  tooltip?: string | any[] | ((...params: any[]) => any);
13400
- tooltipOptions?: Tooltip.StyleOptions;
13379
+ tooltipOptions?: Tooltip.StyleOptions | any;
13401
13380
  contextmenuItems?: any;
13402
13381
  id?: string | number;
13403
13382
  name?: string;
@@ -13436,7 +13415,7 @@ declare namespace CylinderPrimitive {
13436
13415
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
13437
13416
  * @property [label] - 支持附带文字的显示
13438
13417
  */
13439
- type StyleOptions = {
13418
+ type StyleOptions = any | {
13440
13419
  topRadius?: number;
13441
13420
  bottomRadius?: number;
13442
13421
  length?: number;
@@ -13460,8 +13439,8 @@ declare namespace CylinderPrimitive {
13460
13439
  vertexShaderSource?: string;
13461
13440
  fragmentShaderSource?: string;
13462
13441
  renderState?: any;
13463
- highlight?: CylinderPrimitive.StyleOptions;
13464
- label?: LabelEntity.StyleOptions;
13442
+ highlight?: CylinderPrimitive.StyleOptions | any;
13443
+ label?: LabelEntity.StyleOptions | any;
13465
13444
  };
13466
13445
  }
13467
13446
 
@@ -13499,7 +13478,7 @@ declare class CylinderPrimitive extends BasePointPrimitive {
13499
13478
  constructor(options: {
13500
13479
  position: LngLatPoint | Cesium.Cartesian3 | number[];
13501
13480
  modelMatrix?: Cesium.Matrix4;
13502
- style: CylinderPrimitive.StyleOptions;
13481
+ style: CylinderPrimitive.StyleOptions | any;
13503
13482
  attr?: any;
13504
13483
  appearance?: Cesium.Appearance;
13505
13484
  attributes?: Cesium.Appearance;
@@ -13514,9 +13493,9 @@ declare class CylinderPrimitive extends BasePointPrimitive {
13514
13493
  debugShowBoundingVolume?: boolean;
13515
13494
  debugShowShadowVolume?: boolean;
13516
13495
  popup?: string | any[] | ((...params: any[]) => any);
13517
- popupOptions?: Popup.StyleOptions;
13496
+ popupOptions?: Popup.StyleOptions | any;
13518
13497
  tooltip?: string | any[] | ((...params: any[]) => any);
13519
- tooltipOptions?: Tooltip.StyleOptions;
13498
+ tooltipOptions?: Tooltip.StyleOptions | any;
13520
13499
  contextmenuItems?: any;
13521
13500
  id?: string | number;
13522
13501
  name?: string;
@@ -13535,7 +13514,7 @@ declare namespace DiffuseWall {
13535
13514
  * @property [speed = 10] - 扩散的速度,值越大越快
13536
13515
  * @property [shadows = Cesium.ShadowMode.DISABLED] - 指定对象是投射还是接收来自光源的阴影。
13537
13516
  */
13538
- type StyleOptions = {
13517
+ type StyleOptions = any | {
13539
13518
  diffHeight?: number;
13540
13519
  color?: string | Cesium.Color;
13541
13520
  opacity?: number;
@@ -13566,12 +13545,12 @@ declare class DiffuseWall extends BasePolyPrimitive {
13566
13545
  constructor(options: {
13567
13546
  positions?: LngLatPoint[] | Cesium.Cartesian3[] | any[];
13568
13547
  position?: LngLatPoint | Cesium.Cartesian3 | number[];
13569
- style?: DiffuseWall.StyleOptions;
13548
+ style?: DiffuseWall.StyleOptions | any;
13570
13549
  attr?: any;
13571
13550
  popup?: string | any[] | ((...params: any[]) => any);
13572
- popupOptions?: Popup.StyleOptions;
13551
+ popupOptions?: Popup.StyleOptions | any;
13573
13552
  tooltip?: string | any[] | ((...params: any[]) => any);
13574
- tooltipOptions?: Tooltip.StyleOptions;
13553
+ tooltipOptions?: Tooltip.StyleOptions | any;
13575
13554
  contextmenuItems?: any;
13576
13555
  id?: string | number;
13577
13556
  name?: string;
@@ -13605,7 +13584,7 @@ declare namespace DynamicRiver {
13605
13584
  * @property [move = true] - 是否开启流动效果
13606
13585
  * @property [direction = true] - 设置流动方向
13607
13586
  */
13608
- type StyleOptions = {
13587
+ type StyleOptions = any | {
13609
13588
  image: string;
13610
13589
  opacity?: number;
13611
13590
  width?: number;
@@ -13632,7 +13611,7 @@ declare namespace DynamicRiver {
13632
13611
  declare class DynamicRiver extends BasePolyPrimitive {
13633
13612
  constructor(options: {
13634
13613
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
13635
- style: DynamicRiver.StyleOptions;
13614
+ style: DynamicRiver.StyleOptions | any;
13636
13615
  attr?: any;
13637
13616
  id?: string | number;
13638
13617
  name?: string;
@@ -13727,7 +13706,7 @@ declare namespace EllipsoidPrimitive {
13727
13706
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
13728
13707
  * @property [label] - 支持附带文字的显示
13729
13708
  */
13730
- type StyleOptions = {
13709
+ type StyleOptions = any | {
13731
13710
  radii?: Cesium.Cartesian3;
13732
13711
  radii_x?: number;
13733
13712
  radii_y?: number;
@@ -13762,8 +13741,8 @@ declare namespace EllipsoidPrimitive {
13762
13741
  vertexShaderSource?: string;
13763
13742
  fragmentShaderSource?: string;
13764
13743
  renderState?: any;
13765
- highlight?: EllipsoidPrimitive.StyleOptions;
13766
- label?: LabelEntity.StyleOptions;
13744
+ highlight?: EllipsoidPrimitive.StyleOptions | any;
13745
+ label?: LabelEntity.StyleOptions | any;
13767
13746
  };
13768
13747
  }
13769
13748
 
@@ -13801,7 +13780,7 @@ declare class EllipsoidPrimitive extends BasePointPrimitive {
13801
13780
  constructor(options: {
13802
13781
  position: LngLatPoint | Cesium.Cartesian3 | number[];
13803
13782
  modelMatrix?: Cesium.Matrix4;
13804
- style: EllipsoidPrimitive.StyleOptions;
13783
+ style: EllipsoidPrimitive.StyleOptions | any;
13805
13784
  attr?: any;
13806
13785
  appearance?: Cesium.Appearance;
13807
13786
  attributes?: Cesium.Appearance;
@@ -13816,9 +13795,9 @@ declare class EllipsoidPrimitive extends BasePointPrimitive {
13816
13795
  debugShowBoundingVolume?: boolean;
13817
13796
  debugShowShadowVolume?: boolean;
13818
13797
  popup?: string | any[] | ((...params: any[]) => any);
13819
- popupOptions?: Popup.StyleOptions;
13798
+ popupOptions?: Popup.StyleOptions | any;
13820
13799
  tooltip?: string | any[] | ((...params: any[]) => any);
13821
- tooltipOptions?: Tooltip.StyleOptions;
13800
+ tooltipOptions?: Tooltip.StyleOptions | any;
13822
13801
  contextmenuItems?: any;
13823
13802
  id?: string | number;
13824
13803
  name?: string;
@@ -13856,7 +13835,7 @@ declare namespace FrustumPrimitive {
13856
13835
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
13857
13836
  * @property [label] - 支持附带文字的显示
13858
13837
  */
13859
- type StyleOptions = {
13838
+ type StyleOptions = any | {
13860
13839
  angle?: number;
13861
13840
  angle2?: number;
13862
13841
  length?: number;
@@ -13879,8 +13858,8 @@ declare namespace FrustumPrimitive {
13879
13858
  vertexShaderSource?: string;
13880
13859
  fragmentShaderSource?: string;
13881
13860
  renderState?: any;
13882
- highlight?: FrustumPrimitive.StyleOptions;
13883
- label?: LabelEntity.StyleOptions;
13861
+ highlight?: FrustumPrimitive.StyleOptions | any;
13862
+ label?: LabelEntity.StyleOptions | any;
13884
13863
  };
13885
13864
  }
13886
13865
 
@@ -13918,7 +13897,7 @@ declare class FrustumPrimitive extends BasePointPrimitive {
13918
13897
  constructor(options: {
13919
13898
  position: LngLatPoint | Cesium.Cartesian3 | number[];
13920
13899
  targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
13921
- style: FrustumPrimitive.StyleOptions;
13900
+ style: FrustumPrimitive.StyleOptions | any;
13922
13901
  attr?: any;
13923
13902
  appearance?: Cesium.Appearance;
13924
13903
  attributes?: Cesium.Appearance;
@@ -13933,9 +13912,9 @@ declare class FrustumPrimitive extends BasePointPrimitive {
13933
13912
  debugShowBoundingVolume?: boolean;
13934
13913
  debugShowShadowVolume?: boolean;
13935
13914
  popup?: string | any[] | ((...params: any[]) => any);
13936
- popupOptions?: Popup.StyleOptions;
13915
+ popupOptions?: Popup.StyleOptions | any;
13937
13916
  tooltip?: string | any[] | ((...params: any[]) => any);
13938
- tooltipOptions?: Tooltip.StyleOptions;
13917
+ tooltipOptions?: Tooltip.StyleOptions | any;
13939
13918
  contextmenuItems?: any;
13940
13919
  id?: string | number;
13941
13920
  name?: string;
@@ -13991,8 +13970,8 @@ declare namespace LabelPrimitive {
13991
13970
  * 文字 支持的样式信息(与LabelEntity相同)
13992
13971
  * @property [所有] - 与LabelEntity相同
13993
13972
  */
13994
- type StyleOptions = {
13995
- 所有?: LabelEntity.StyleOptions;
13973
+ type StyleOptions = any | {
13974
+ 所有?: LabelEntity.StyleOptions | any;
13996
13975
  };
13997
13976
  }
13998
13977
 
@@ -14016,12 +13995,12 @@ declare namespace LabelPrimitive {
14016
13995
  declare class LabelPrimitive extends BasePointPrimitive {
14017
13996
  constructor(options: {
14018
13997
  position: LngLatPoint | Cesium.Cartesian3 | number[];
14019
- style: LabelPrimitive.StyleOptions;
13998
+ style: LabelPrimitive.StyleOptions | any;
14020
13999
  attr?: any;
14021
14000
  popup?: string | any[] | ((...params: any[]) => any);
14022
- popupOptions?: Popup.StyleOptions;
14001
+ popupOptions?: Popup.StyleOptions | any;
14023
14002
  tooltip?: string | any[] | ((...params: any[]) => any);
14024
- tooltipOptions?: Tooltip.StyleOptions;
14003
+ tooltipOptions?: Tooltip.StyleOptions | any;
14025
14004
  contextmenuItems?: any;
14026
14005
  id?: string | number;
14027
14006
  name?: string;
@@ -14046,7 +14025,7 @@ declare namespace LightCone {
14046
14025
  * @property [radius = 100] - 锥体底部半径。(单位:米)
14047
14026
  * @property [height = 1000] - 锥体高度,相对于椭球面的高度。(单位:米)
14048
14027
  */
14049
- type StyleOptions = {
14028
+ type StyleOptions = any | {
14050
14029
  color?: string | Cesium.Color;
14051
14030
  radius?: number;
14052
14031
  height?: number;
@@ -14073,12 +14052,12 @@ declare namespace LightCone {
14073
14052
  declare class LightCone extends BasePointPrimitive {
14074
14053
  constructor(options: {
14075
14054
  position: LngLatPoint | Cesium.Cartesian3 | number[];
14076
- style: LightCone.StyleOptions;
14055
+ style: LightCone.StyleOptions | any;
14077
14056
  attr?: any;
14078
14057
  popup?: string | any[] | ((...params: any[]) => any);
14079
- popupOptions?: Popup.StyleOptions;
14058
+ popupOptions?: Popup.StyleOptions | any;
14080
14059
  tooltip?: string | any[] | ((...params: any[]) => any);
14081
- tooltipOptions?: Tooltip.StyleOptions;
14060
+ tooltipOptions?: Tooltip.StyleOptions | any;
14082
14061
  contextmenuItems?: any;
14083
14062
  id?: string | number;
14084
14063
  name?: string;
@@ -14157,7 +14136,7 @@ declare namespace ModelPrimitive {
14157
14136
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
14158
14137
  * @property [label] - 支持附带文字的显示
14159
14138
  */
14160
- type StyleOptions = {
14139
+ type StyleOptions = any | {
14161
14140
  url?: string | Cesium.Resource;
14162
14141
  scale?: number;
14163
14142
  scaleX?: number;
@@ -14181,8 +14160,8 @@ declare namespace ModelPrimitive {
14181
14160
  distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
14182
14161
  distanceDisplayCondition_near?: number;
14183
14162
  distanceDisplayCondition_far?: number;
14184
- distanceDisplayPoint?: PointEntity.StyleOptions;
14185
- distanceDisplayBillboard?: BillboardEntity.StyleOptions;
14163
+ distanceDisplayPoint?: PointEntity.StyleOptions | any;
14164
+ distanceDisplayBillboard?: BillboardEntity.StyleOptions | any;
14186
14165
  customShader?: Cesium.CustomShader;
14187
14166
  hasShadows?: boolean;
14188
14167
  shadows?: Cesium.ShadowMode;
@@ -14215,8 +14194,8 @@ declare namespace ModelPrimitive {
14215
14194
  loop?: Cesium.ModelAnimationLoop;
14216
14195
  setHeight?: number | string;
14217
14196
  addHeight?: number | string;
14218
- highlight?: ModelPrimitive.StyleOptions;
14219
- label?: LabelEntity.StyleOptions;
14197
+ highlight?: ModelPrimitive.StyleOptions | any;
14198
+ label?: LabelEntity.StyleOptions | any;
14220
14199
  };
14221
14200
  /**
14222
14201
  * 当前类支持的{@link EventType}事件类型
@@ -14296,7 +14275,7 @@ declare class ModelPrimitive extends BasePointPrimitive {
14296
14275
  constructor(options: {
14297
14276
  position: LngLatPoint | Cesium.Cartesian3 | number[];
14298
14277
  modelMatrix?: Cesium.Matrix4;
14299
- style: ModelPrimitive.StyleOptions;
14278
+ style: ModelPrimitive.StyleOptions | any;
14300
14279
  attr?: any;
14301
14280
  appearance?: Cesium.Appearance;
14302
14281
  attributes?: Cesium.Appearance;
@@ -14307,9 +14286,9 @@ declare class ModelPrimitive extends BasePointPrimitive {
14307
14286
  frameRateHeight?: number;
14308
14287
  objectsToExclude?: any;
14309
14288
  popup?: string | any[] | ((...params: any[]) => any);
14310
- popupOptions?: Popup.StyleOptions;
14289
+ popupOptions?: Popup.StyleOptions | any;
14311
14290
  tooltip?: string | any[] | ((...params: any[]) => any);
14312
- tooltipOptions?: Tooltip.StyleOptions;
14291
+ tooltipOptions?: Tooltip.StyleOptions | any;
14313
14292
  contextmenuItems?: any;
14314
14293
  id?: string | number;
14315
14294
  name?: string;
@@ -14348,12 +14327,12 @@ declare namespace Pit {
14348
14327
  * @property [splitNum = 50] - 井墙面每两点之间插值个数
14349
14328
  * @property [label] - 支持附带文字的显示
14350
14329
  */
14351
- type StyleOptions = {
14330
+ type StyleOptions = any | {
14352
14331
  image: string;
14353
14332
  imageBottom: string;
14354
14333
  diffHeight: number;
14355
14334
  splitNum?: number;
14356
- label?: LabelPrimitive.StyleOptions;
14335
+ label?: LabelPrimitive.StyleOptions | any;
14357
14336
  };
14358
14337
  }
14359
14338
 
@@ -14390,7 +14369,7 @@ declare namespace Pit {
14390
14369
  declare class Pit extends BasePolyPrimitive {
14391
14370
  constructor(options: {
14392
14371
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
14393
- style: Pit.StyleOptions;
14372
+ style: Pit.StyleOptions | any;
14394
14373
  attr?: any;
14395
14374
  appearance?: Cesium.Appearance;
14396
14375
  attributes?: Cesium.Appearance;
@@ -14405,9 +14384,9 @@ declare class Pit extends BasePolyPrimitive {
14405
14384
  debugShowBoundingVolume?: boolean;
14406
14385
  debugShowShadowVolume?: boolean;
14407
14386
  popup?: string | any[] | ((...params: any[]) => any);
14408
- popupOptions?: Popup.StyleOptions;
14387
+ popupOptions?: Popup.StyleOptions | any;
14409
14388
  tooltip?: string | any[] | ((...params: any[]) => any);
14410
- tooltipOptions?: Tooltip.StyleOptions;
14389
+ tooltipOptions?: Tooltip.StyleOptions | any;
14411
14390
  contextmenuItems?: any;
14412
14391
  id?: string | number;
14413
14392
  name?: string;
@@ -14456,7 +14435,7 @@ declare namespace PlanePrimitive {
14456
14435
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
14457
14436
  * @property [label] - 支持附带文字的显示
14458
14437
  */
14459
- type StyleOptions = {
14438
+ type StyleOptions = any | {
14460
14439
  dimensions?: Cesium.Cartesian2;
14461
14440
  dimensions_x?: number;
14462
14441
  dimensions_y?: number;
@@ -14480,8 +14459,8 @@ declare namespace PlanePrimitive {
14480
14459
  vertexShaderSource?: string;
14481
14460
  fragmentShaderSource?: string;
14482
14461
  renderState?: any;
14483
- highlight?: PlanePrimitive.StyleOptions;
14484
- label?: LabelEntity.StyleOptions;
14462
+ highlight?: PlanePrimitive.StyleOptions | any;
14463
+ label?: LabelEntity.StyleOptions | any;
14485
14464
  };
14486
14465
  }
14487
14466
 
@@ -14519,7 +14498,7 @@ declare class PlanePrimitive extends BasePointPrimitive {
14519
14498
  constructor(options: {
14520
14499
  position: LngLatPoint | Cesium.Cartesian3 | number[];
14521
14500
  modelMatrix?: Cesium.Matrix4;
14522
- style: PlanePrimitive.StyleOptions;
14501
+ style: PlanePrimitive.StyleOptions | any;
14523
14502
  attr?: any;
14524
14503
  appearance?: Cesium.Appearance;
14525
14504
  attributes?: Cesium.Appearance;
@@ -14534,9 +14513,9 @@ declare class PlanePrimitive extends BasePointPrimitive {
14534
14513
  debugShowBoundingVolume?: boolean;
14535
14514
  debugShowShadowVolume?: boolean;
14536
14515
  popup?: string | any[] | ((...params: any[]) => any);
14537
- popupOptions?: Popup.StyleOptions;
14516
+ popupOptions?: Popup.StyleOptions | any;
14538
14517
  tooltip?: string | any[] | ((...params: any[]) => any);
14539
- tooltipOptions?: Tooltip.StyleOptions;
14518
+ tooltipOptions?: Tooltip.StyleOptions | any;
14540
14519
  contextmenuItems?: any;
14541
14520
  id?: string | number;
14542
14521
  name?: string;
@@ -14575,7 +14554,7 @@ declare namespace PointPrimitive {
14575
14554
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
14576
14555
  * @property [label] - 支持附带文字的显示
14577
14556
  */
14578
- type StyleOptions = {
14557
+ type StyleOptions = any | {
14579
14558
  pixelSize?: number;
14580
14559
  color?: string | Cesium.Color;
14581
14560
  opacity?: number;
@@ -14596,7 +14575,7 @@ declare namespace PointPrimitive {
14596
14575
  translucencyByDistance?: Cesium.NearFarScalar;
14597
14576
  setHeight?: number | string;
14598
14577
  addHeight?: number | string;
14599
- label?: LabelPrimitive.StyleOptions;
14578
+ label?: LabelPrimitive.StyleOptions | any;
14600
14579
  };
14601
14580
  }
14602
14581
 
@@ -14621,13 +14600,13 @@ declare namespace PointPrimitive {
14621
14600
  declare class PointPrimitive extends BasePointPrimitive {
14622
14601
  constructor(options: {
14623
14602
  position: LngLatPoint | Cesium.Cartesian3 | number[];
14624
- style: PointPrimitive.StyleOptions;
14603
+ style: PointPrimitive.StyleOptions | any;
14625
14604
  attr?: any;
14626
14605
  frameRate?: number;
14627
14606
  popup?: string | any[] | ((...params: any[]) => any);
14628
- popupOptions?: Popup.StyleOptions;
14607
+ popupOptions?: Popup.StyleOptions | any;
14629
14608
  tooltip?: string | any[] | ((...params: any[]) => any);
14630
- tooltipOptions?: Tooltip.StyleOptions;
14609
+ tooltipOptions?: Tooltip.StyleOptions | any;
14631
14610
  contextmenuItems?: any;
14632
14611
  id?: string | number;
14633
14612
  name?: string;
@@ -14682,11 +14661,11 @@ declare namespace PolygonPrimitive {
14682
14661
  * @property [setHeight] - 指定坐标高度值,或数组指定每个点的高度(常用于图层中配置)
14683
14662
  * @property [addHeight] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
14684
14663
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
14685
- * @property [label] - 支持附带文字的显示 ,额外支持:
14686
- * @property [label.position] - 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
14687
- * @property [label.showAll] - MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
14664
+ * @property [label] - 支持附带文字的显示 ,额外支持:<br />
14665
+ * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
14666
+ * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
14688
14667
  */
14689
- type StyleOptions = {
14668
+ type StyleOptions = any | {
14690
14669
  materialType?: string;
14691
14670
  material的多个参数?: any;
14692
14671
  material?: Cesium.Material;
@@ -14699,7 +14678,7 @@ declare namespace PolygonPrimitive {
14699
14678
  outline?: boolean;
14700
14679
  outlineColor?: string | Cesium.Color;
14701
14680
  outlineOpacity?: number;
14702
- outlineStyle?: PolylinePrimitive.StyleOptions;
14681
+ outlineStyle?: PolylinePrimitive.StyleOptions | any;
14703
14682
  height?: number;
14704
14683
  diffHeight?: number;
14705
14684
  extrudedHeight?: number;
@@ -14722,11 +14701,8 @@ declare namespace PolygonPrimitive {
14722
14701
  buffer?: number;
14723
14702
  setHeight?: number | number[];
14724
14703
  addHeight?: number | number[];
14725
- highlight?: PolygonPrimitive.StyleOptions;
14726
- label?: {
14727
- position?: string | LngLatPoint;
14728
- showAll?: boolean;
14729
- };
14704
+ highlight?: PolygonPrimitive.StyleOptions | any;
14705
+ label?: LabelPrimitive.StyleOptions | any | any;
14730
14706
  };
14731
14707
  }
14732
14708
 
@@ -14762,7 +14738,7 @@ declare namespace PolygonPrimitive {
14762
14738
  declare class PolygonPrimitive extends BasePolyPrimitive {
14763
14739
  constructor(options: {
14764
14740
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
14765
- style: PolygonPrimitive.StyleOptions;
14741
+ style: PolygonPrimitive.StyleOptions | any;
14766
14742
  attr?: any;
14767
14743
  appearance?: Cesium.Appearance;
14768
14744
  attributes?: Cesium.Appearance;
@@ -14777,9 +14753,9 @@ declare class PolygonPrimitive extends BasePolyPrimitive {
14777
14753
  debugShowBoundingVolume?: boolean;
14778
14754
  debugShowShadowVolume?: boolean;
14779
14755
  popup?: string | any[] | ((...params: any[]) => any);
14780
- popupOptions?: Popup.StyleOptions;
14756
+ popupOptions?: Popup.StyleOptions | any;
14781
14757
  tooltip?: string | any[] | ((...params: any[]) => any);
14782
- tooltipOptions?: Tooltip.StyleOptions;
14758
+ tooltipOptions?: Tooltip.StyleOptions | any;
14783
14759
  contextmenuItems?: any;
14784
14760
  id?: string | number;
14785
14761
  name?: string;
@@ -14825,11 +14801,11 @@ declare namespace PolylinePrimitive {
14825
14801
  * @property [setHeight] - 指定坐标高度值,或数组指定每个点的高度(常用于图层中配置)
14826
14802
  * @property [addHeight] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
14827
14803
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
14828
- * @property [label] - 支持附带文字的显示 ,额外支持:
14829
- * @property [label.position] - 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
14830
- * @property [label.showAll] - MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
14804
+ * @property [label] - 支持附带文字的显示 ,额外支持:<br />
14805
+ * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
14806
+ * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
14831
14807
  */
14832
- type StyleOptions = {
14808
+ type StyleOptions = any | {
14833
14809
  width?: number;
14834
14810
  materialType?: string;
14835
14811
  material的多个参数?: any;
@@ -14854,11 +14830,8 @@ declare namespace PolylinePrimitive {
14854
14830
  classificationType?: Cesium.ClassificationType;
14855
14831
  setHeight?: number | number[];
14856
14832
  addHeight?: number | number[];
14857
- highlight?: PolylinePrimitive.StyleOptions;
14858
- label?: {
14859
- position?: string | LngLatPoint;
14860
- showAll?: boolean;
14861
- };
14833
+ highlight?: PolylinePrimitive.StyleOptions | any;
14834
+ label?: LabelPrimitive.StyleOptions | any | any;
14862
14835
  };
14863
14836
  }
14864
14837
 
@@ -14894,7 +14867,7 @@ declare namespace PolylinePrimitive {
14894
14867
  declare class PolylinePrimitive extends BasePolyPrimitive {
14895
14868
  constructor(options: {
14896
14869
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
14897
- style: PolylinePrimitive.StyleOptions;
14870
+ style: PolylinePrimitive.StyleOptions | any;
14898
14871
  attr?: any;
14899
14872
  appearance?: Cesium.Appearance;
14900
14873
  attributes?: Cesium.Appearance;
@@ -14909,9 +14882,9 @@ declare class PolylinePrimitive extends BasePolyPrimitive {
14909
14882
  debugShowBoundingVolume?: boolean;
14910
14883
  debugShowShadowVolume?: boolean;
14911
14884
  popup?: string | any[] | ((...params: any[]) => any);
14912
- popupOptions?: Popup.StyleOptions;
14885
+ popupOptions?: Popup.StyleOptions | any;
14913
14886
  tooltip?: string | any[] | ((...params: any[]) => any);
14914
- tooltipOptions?: Tooltip.StyleOptions;
14887
+ tooltipOptions?: Tooltip.StyleOptions | any;
14915
14888
  contextmenuItems?: any;
14916
14889
  id?: string | number;
14917
14890
  name?: string;
@@ -14953,7 +14926,7 @@ declare class PolylinePrimitive extends BasePolyPrimitive {
14953
14926
  declare class PolylineSimplePrimitive extends BasePolyPrimitive {
14954
14927
  constructor(options: {
14955
14928
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
14956
- style: PolylinePrimitive.StyleOptions;
14929
+ style: PolylinePrimitive.StyleOptions | any;
14957
14930
  attr?: any;
14958
14931
  appearance?: Cesium.Appearance;
14959
14932
  attributes?: Cesium.Appearance;
@@ -14968,9 +14941,9 @@ declare class PolylineSimplePrimitive extends BasePolyPrimitive {
14968
14941
  debugShowBoundingVolume?: boolean;
14969
14942
  debugShowShadowVolume?: boolean;
14970
14943
  popup?: string | any[] | ((...params: any[]) => any);
14971
- popupOptions?: Popup.StyleOptions;
14944
+ popupOptions?: Popup.StyleOptions | any;
14972
14945
  tooltip?: string | any[] | ((...params: any[]) => any);
14973
- tooltipOptions?: Tooltip.StyleOptions;
14946
+ tooltipOptions?: Tooltip.StyleOptions | any;
14974
14947
  contextmenuItems?: any;
14975
14948
  id?: string | number;
14976
14949
  name?: string;
@@ -15007,7 +14980,7 @@ declare namespace PolylineVolumePrimitive {
15007
14980
  * @property [addHeight] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
15008
14981
  * @property [label] - 支持附带文字的显示
15009
14982
  */
15010
- type StyleOptions = {
14983
+ type StyleOptions = any | {
15011
14984
  radius?: number;
15012
14985
  shape?: string | Cesium.Cartesian2[];
15013
14986
  materialType?: string;
@@ -15028,7 +15001,7 @@ declare namespace PolylineVolumePrimitive {
15028
15001
  renderState?: any;
15029
15002
  setHeight?: number | number[];
15030
15003
  addHeight?: number | number[];
15031
- label?: LabelPrimitive.StyleOptions;
15004
+ label?: LabelPrimitive.StyleOptions | any;
15032
15005
  };
15033
15006
  }
15034
15007
 
@@ -15064,7 +15037,7 @@ declare namespace PolylineVolumePrimitive {
15064
15037
  declare class PolylineVolumePrimitive extends BasePolyPrimitive {
15065
15038
  constructor(options: {
15066
15039
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
15067
- style: PolylineVolumePrimitive.StyleOptions;
15040
+ style: PolylineVolumePrimitive.StyleOptions | any;
15068
15041
  attr?: any;
15069
15042
  appearance?: Cesium.Appearance;
15070
15043
  attributes?: Cesium.Appearance;
@@ -15079,9 +15052,9 @@ declare class PolylineVolumePrimitive extends BasePolyPrimitive {
15079
15052
  debugShowBoundingVolume?: boolean;
15080
15053
  debugShowShadowVolume?: boolean;
15081
15054
  popup?: string | any[] | ((...params: any[]) => any);
15082
- popupOptions?: Popup.StyleOptions;
15055
+ popupOptions?: Popup.StyleOptions | any;
15083
15056
  tooltip?: string | any[] | ((...params: any[]) => any);
15084
- tooltipOptions?: Tooltip.StyleOptions;
15057
+ tooltipOptions?: Tooltip.StyleOptions | any;
15085
15058
  contextmenuItems?: any;
15086
15059
  id?: string | number;
15087
15060
  name?: string;
@@ -15120,7 +15093,7 @@ declare namespace RectanglePrimitive {
15120
15093
  * @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
15121
15094
  * @property [label] - 支持附带文字的显示
15122
15095
  */
15123
- type StyleOptions = {
15096
+ type StyleOptions = any | {
15124
15097
  materialType?: string;
15125
15098
  material的多个参数?: any;
15126
15099
  material?: Cesium.Material;
@@ -15130,7 +15103,7 @@ declare namespace RectanglePrimitive {
15130
15103
  outline?: boolean;
15131
15104
  outlineColor?: string | Cesium.Color;
15132
15105
  outlineOpacity?: number;
15133
- outlineStyle?: PolylinePrimitive.StyleOptions;
15106
+ outlineStyle?: PolylinePrimitive.StyleOptions | any;
15134
15107
  height?: number;
15135
15108
  diffHeight?: number;
15136
15109
  extrudedHeight?: number;
@@ -15145,7 +15118,7 @@ declare namespace RectanglePrimitive {
15145
15118
  classification?: boolean;
15146
15119
  setHeight?: number | string;
15147
15120
  addHeight?: number | string;
15148
- label?: LabelPrimitive.StyleOptions;
15121
+ label?: LabelPrimitive.StyleOptions | any;
15149
15122
  };
15150
15123
  }
15151
15124
 
@@ -15183,7 +15156,7 @@ declare class RectanglePrimitive extends BasePolyPrimitive {
15183
15156
  constructor(options: {
15184
15157
  positions?: LngLatPoint[] | Cesium.Cartesian3[] | any[];
15185
15158
  rectangle?: Cesium.Rectangle | Cesium.PositionProperty;
15186
- style: RectanglePrimitive.StyleOptions;
15159
+ style: RectanglePrimitive.StyleOptions | any;
15187
15160
  attr?: any;
15188
15161
  appearance?: Cesium.Appearance;
15189
15162
  attributes?: Cesium.Appearance;
@@ -15198,9 +15171,9 @@ declare class RectanglePrimitive extends BasePolyPrimitive {
15198
15171
  debugShowBoundingVolume?: boolean;
15199
15172
  debugShowShadowVolume?: boolean;
15200
15173
  popup?: string | any[] | ((...params: any[]) => any);
15201
- popupOptions?: Popup.StyleOptions;
15174
+ popupOptions?: Popup.StyleOptions | any;
15202
15175
  tooltip?: string | any[] | ((...params: any[]) => any);
15203
- tooltipOptions?: Tooltip.StyleOptions;
15176
+ tooltipOptions?: Tooltip.StyleOptions | any;
15204
15177
  contextmenuItems?: any;
15205
15178
  id?: string | number;
15206
15179
  name?: string;
@@ -15241,7 +15214,7 @@ declare namespace Road {
15241
15214
  * @property [height = 0] - 道路 高度,相对于椭球面的高度。(单位:米)
15242
15215
  * @property [axisY = true] - 是否uv交换(图片横竖切换)
15243
15216
  */
15244
- type StyleOptions = {
15217
+ type StyleOptions = any | {
15245
15218
  image: string;
15246
15219
  width?: number;
15247
15220
  height?: number;
@@ -15264,7 +15237,7 @@ declare namespace Road {
15264
15237
  declare class Road extends DynamicRiver {
15265
15238
  constructor(options: {
15266
15239
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
15267
- style: Road.StyleOptions;
15240
+ style: Road.StyleOptions | any;
15268
15241
  attr?: any;
15269
15242
  id?: string | number;
15270
15243
  name?: string;
@@ -15285,7 +15258,7 @@ declare namespace ScrollWall {
15285
15258
  * @property [style = 1] - 样式,可选值:1、2
15286
15259
  * @property [shadows = Cesium.ShadowMode.DISABLED] - 指定对象是投射还是接收来自光源的阴影。
15287
15260
  */
15288
- type StyleOptions = {
15261
+ type StyleOptions = any | {
15289
15262
  diffHeight?: number;
15290
15263
  color?: string | Cesium.Color;
15291
15264
  opacity?: number;
@@ -15316,12 +15289,12 @@ declare namespace ScrollWall {
15316
15289
  declare class ScrollWall extends BasePolyPrimitive {
15317
15290
  constructor(options: {
15318
15291
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
15319
- style: ScrollWall.StyleOptions;
15292
+ style: ScrollWall.StyleOptions | any;
15320
15293
  attr?: any;
15321
15294
  popup?: string | any[] | ((...params: any[]) => any);
15322
- popupOptions?: Popup.StyleOptions;
15295
+ popupOptions?: Popup.StyleOptions | any;
15323
15296
  tooltip?: string | any[] | ((...params: any[]) => any);
15324
- tooltipOptions?: Tooltip.StyleOptions;
15297
+ tooltipOptions?: Tooltip.StyleOptions | any;
15325
15298
  contextmenuItems?: any;
15326
15299
  id?: string | number;
15327
15300
  name?: string;
@@ -15360,11 +15333,11 @@ declare namespace WallPrimitive {
15360
15333
  * @property [fragmentShaderSource] - 可选的GLSL片段着色器源覆盖默认的片段着色器。
15361
15334
  * @property [renderState] - 可选渲染状态,以覆盖默认渲染状态。
15362
15335
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
15363
- * @property [label] - 支持附带文字的显示 ,额外支持:
15364
- * @property [label.position] - 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
15365
- * @property [label.showAll] - MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
15336
+ * @property [label] - 支持附带文字的显示 ,额外支持:<br />
15337
+ * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
15338
+ * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
15366
15339
  */
15367
- type StyleOptions = {
15340
+ type StyleOptions = any | {
15368
15341
  diffHeight?: number;
15369
15342
  materialType?: string;
15370
15343
  material的多个参数?: any;
@@ -15384,11 +15357,8 @@ declare namespace WallPrimitive {
15384
15357
  vertexShaderSource?: string;
15385
15358
  fragmentShaderSource?: string;
15386
15359
  renderState?: any;
15387
- highlight?: WallPrimitive.StyleOptions;
15388
- label?: {
15389
- position?: string | LngLatPoint;
15390
- showAll?: boolean;
15391
- };
15360
+ highlight?: WallPrimitive.StyleOptions | any;
15361
+ label?: LabelPrimitive.StyleOptions | any | any;
15392
15362
  };
15393
15363
  }
15394
15364
 
@@ -15424,7 +15394,7 @@ declare namespace WallPrimitive {
15424
15394
  declare class WallPrimitive extends BasePolyPrimitive {
15425
15395
  constructor(options: {
15426
15396
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
15427
- style: WallPrimitive.StyleOptions;
15397
+ style: WallPrimitive.StyleOptions | any;
15428
15398
  attr?: any;
15429
15399
  appearance?: Cesium.Appearance;
15430
15400
  attributes?: Cesium.Appearance;
@@ -15439,9 +15409,9 @@ declare class WallPrimitive extends BasePolyPrimitive {
15439
15409
  debugShowBoundingVolume?: boolean;
15440
15410
  debugShowShadowVolume?: boolean;
15441
15411
  popup?: string | any[] | ((...params: any[]) => any);
15442
- popupOptions?: Popup.StyleOptions;
15412
+ popupOptions?: Popup.StyleOptions | any;
15443
15413
  tooltip?: string | any[] | ((...params: any[]) => any);
15444
- tooltipOptions?: Tooltip.StyleOptions;
15414
+ tooltipOptions?: Tooltip.StyleOptions | any;
15445
15415
  contextmenuItems?: any;
15446
15416
  id?: string | number;
15447
15417
  name?: string;
@@ -15493,11 +15463,11 @@ declare namespace Water {
15493
15463
  * @property [setHeight] - 指定坐标高度值,或数组指定每个点的高度(常用于图层中配置)
15494
15464
  * @property [addHeight] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
15495
15465
  * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
15496
- * @property [label] - 支持附带文字的显示 ,额外支持:
15497
- * @property [label.position] - 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
15498
- * @property [label.showAll] - MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
15466
+ * @property [label] - 支持附带文字的显示 ,额外支持:<br />
15467
+ * // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
15468
+ * // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
15499
15469
  */
15500
- type StyleOptions = {
15470
+ type StyleOptions = any | {
15501
15471
  baseWaterColor?: string;
15502
15472
  blendColor?: string;
15503
15473
  specularMap?: string;
@@ -15533,11 +15503,8 @@ declare namespace Water {
15533
15503
  renderState?: any;
15534
15504
  setHeight?: number | number[];
15535
15505
  addHeight?: number | number[];
15536
- highlight?: PolygonPrimitive.StyleOptions;
15537
- label?: {
15538
- position?: string | LngLatPoint;
15539
- showAll?: boolean;
15540
- };
15506
+ highlight?: PolygonPrimitive.StyleOptions | any;
15507
+ label?: LabelPrimitive.StyleOptions | any | any;
15541
15508
  };
15542
15509
  }
15543
15510
 
@@ -15570,7 +15537,7 @@ declare namespace Water {
15570
15537
  declare class Water extends PolygonPrimitive {
15571
15538
  constructor(options: {
15572
15539
  positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
15573
- style: Water.StyleOptions;
15540
+ style: Water.StyleOptions | any;
15574
15541
  attr?: any;
15575
15542
  vertexCacheOptimize?: boolean;
15576
15543
  interleave?: boolean;
@@ -15582,9 +15549,9 @@ declare class Water extends PolygonPrimitive {
15582
15549
  debugShowBoundingVolume?: boolean;
15583
15550
  debugShowShadowVolume?: boolean;
15584
15551
  popup?: string | any[] | ((...params: any[]) => any);
15585
- popupOptions?: Popup.StyleOptions;
15552
+ popupOptions?: Popup.StyleOptions | any;
15586
15553
  tooltip?: string | any[] | ((...params: any[]) => any);
15587
- tooltipOptions?: Tooltip.StyleOptions;
15554
+ tooltipOptions?: Tooltip.StyleOptions | any;
15588
15555
  contextmenuItems?: any;
15589
15556
  id?: string | number;
15590
15557
  name?: string;
@@ -15604,7 +15571,7 @@ declare namespace BaseRoamLine {
15604
15571
  */
15605
15572
  type WallShadingOptions = {
15606
15573
  type?: string;
15607
- 通用参数?: WallEntity.StyleOptions;
15574
+ 通用参数?: WallEntity.StyleOptions | any;
15608
15575
  maxDistance?: number;
15609
15576
  };
15610
15577
  /**
@@ -15615,7 +15582,7 @@ declare namespace BaseRoamLine {
15615
15582
  */
15616
15583
  type CylinderShadingOptions = {
15617
15584
  type?: string;
15618
- 通用参数?: CylinderEntity.StyleOptions;
15585
+ 通用参数?: CylinderEntity.StyleOptions | any;
15619
15586
  };
15620
15587
  /**
15621
15588
  * circle 类型shading 支持的参数,
@@ -15625,7 +15592,7 @@ declare namespace BaseRoamLine {
15625
15592
  */
15626
15593
  type CircleShadingOptions = {
15627
15594
  type?: string;
15628
- 通用参数?: CircleEntity.StyleOptions;
15595
+ 通用参数?: CircleEntity.StyleOptions | any;
15629
15596
  };
15630
15597
  /**
15631
15598
  * polyline 类型shading 支持的参数,
@@ -15636,7 +15603,7 @@ declare namespace BaseRoamLine {
15636
15603
  */
15637
15604
  type PolylineShadingOptions = {
15638
15605
  type?: string;
15639
- 通用参数?: PolylineEntity.StyleOptions;
15606
+ 通用参数?: PolylineEntity.StyleOptions | any;
15640
15607
  maxDistance?: number;
15641
15608
  };
15642
15609
  /**
@@ -15647,7 +15614,7 @@ declare namespace BaseRoamLine {
15647
15614
  */
15648
15615
  type PolylineGoingShadingOptions = {
15649
15616
  type?: string;
15650
- 通用参数?: PolylineEntity.StyleOptions;
15617
+ 通用参数?: PolylineEntity.StyleOptions | any;
15651
15618
  };
15652
15619
  }
15653
15620
 
@@ -16015,6 +15982,8 @@ declare namespace DynamicRoamLine {
16015
15982
  /**
16016
15983
  * 动态漫游路线管理类 【动态传入的数据】
16017
15984
  * @param options - 参数对象,包括以下:
15985
+ * @param [options.model] - 设置是否显示 gltf模型 和对应的样式, 还额外包括:<br />
15986
+ * // * @param {Boolean} [options.model.noPitchRoll] 设置为true时,可以设置模型只动态更改方向,内部固定模型的Pitch和Roll方向值为0
16018
15987
  * @param [options.model] - 设置是否显示 gltf模型 和对应的样式
16019
15988
  * @param [options.label] - 设置是否显示 文本 和对应的样式
16020
15989
  * @param [options.billboard] - 设置是否显示 图标 和对应的样式,如果不设置gltf模型时,可以选择该项。
@@ -16060,11 +16029,12 @@ declare namespace DynamicRoamLine {
16060
16029
  */
16061
16030
  declare class DynamicRoamLine extends BaseRoamLine {
16062
16031
  constructor(options: {
16063
- model?: ModelEntity.StyleOptions;
16064
- label?: LabelEntity.StyleOptions;
16065
- billboard?: BillboardEntity.StyleOptions;
16066
- point?: PointEntity.StyleOptions;
16067
- circle?: CircleEntity.StyleOptions;
16032
+ model?: ModelEntity.StyleOptions | any;
16033
+ model?: ModelEntity.StyleOptions | any;
16034
+ label?: LabelEntity.StyleOptions | any;
16035
+ billboard?: BillboardEntity.StyleOptions | any;
16036
+ point?: PointEntity.StyleOptions | any;
16037
+ circle?: CircleEntity.StyleOptions | any;
16068
16038
  attr?: any;
16069
16039
  hasCache?: boolean;
16070
16040
  maxCacheCount?: number;
@@ -16093,9 +16063,9 @@ declare class DynamicRoamLine extends BaseRoamLine {
16093
16063
  offsetZ?: number;
16094
16064
  };
16095
16065
  popup?: string | any[] | ((...params: any[]) => any);
16096
- popupOptions?: Popup.StyleOptions;
16066
+ popupOptions?: Popup.StyleOptions | any;
16097
16067
  tooltip?: string | any[] | ((...params: any[]) => any);
16098
- tooltipOptions?: Tooltip.StyleOptions;
16068
+ tooltipOptions?: Tooltip.StyleOptions | any;
16099
16069
  contextmenuItems?: any;
16100
16070
  id?: string | number;
16101
16071
  name?: string;
@@ -16196,10 +16166,11 @@ declare namespace RoamLine {
16196
16166
  * @param options.positions - 轨迹的 坐标数组
16197
16167
  * @param options.speed - 轨迹的 速度( 单位:千米/小时)
16198
16168
  * @param [options.timeField = 'time'] - 当points数组中已有时间值,请传入该值的字段名称,同时speed将失效,已实际传入时间字段为准。
16199
- * @param [options.model] - 设置是否显示 gltf模型 和对应的样式
16169
+ * @param [options.model] - 设置是否显示 gltf模型 和对应的样式还额外包括:<br />
16170
+ * //* @param {Boolean} [options.model.noPitchRoll] 设置为true时,可以设置模型只动态更改方向,内部固定模型的Pitch和Roll方向值为0
16200
16171
  * @param [options.label] - 设置是否显示 文本 和对应的样式
16201
16172
  * @param [options.billboard] - 设置是否显示 图标 和对应的样式,如果不设置gltf模型时,可以选择该项。
16202
- * @param [options.point] - 设置是否显示 图标 和对应的样式,如果不设置gltf模型时,可以选择该项。
16173
+ * @param [options.point] - 设置是否显示 像素点 和对应的样式,如果不设置gltf模型时,可以选择该项。
16203
16174
  * @param [options.path] - 设置是否显示 轨迹路线 和对应的样式
16204
16175
  * @param [options.circle] - 设置是否显示 圆对象 和对应的样式
16205
16176
  * @param [options.attr] - 矢量数据的 属性信息,可以任意附加属性。
@@ -16218,11 +16189,6 @@ declare namespace RoamLine {
16218
16189
  * @param [options.forwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 在任何可用坐标之后一次请求值时要执行的推断类型,默认为最后一个坐标位置。
16219
16190
  * @param [options.backwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 在任何可用坐标之前一次请求值时要执行的推断类型,默认为第一个坐标位置。
16220
16191
  * @param [options.fixedFrameTransform = Cesium.Transforms.eastNorthUpToFixedFrame] - 参考系
16221
- *
16222
- * //以下是 clampToGround中使用的
16223
- * @param [options.splitNum = 100] - 当clampToGround计算时,插值数,等比分割的个数
16224
- * @param [options.minDistance = null] - 当clampToGround计算时,插值最小间隔(单位:米),优先级高于splitNum
16225
- * @param [options.offset = 0] - 当clampToGround计算时,可以按需增加偏移高度(单位:米),便于可视
16226
16192
  * @param [options.clampToTileset = false] - 是否贴3dtiles模型上(贴模型效率较慢,按需开启)
16227
16193
  * @param [options.frameRateHeight = 30] - 当clampToTileset:true时,控制贴模型的效率,多少帧计算一次贴模型高度,
16228
16194
  * @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,默认是当前本身,可以是: primitives, entities, 或 3D Tiles features
@@ -16258,12 +16224,12 @@ declare class RoamLine extends BaseRoamLine {
16258
16224
  positions: any[][] | LngLatPoint[];
16259
16225
  speed: any[][] | number;
16260
16226
  timeField?: string;
16261
- model?: ModelEntity.StyleOptions | any;
16262
- label?: LabelEntity.StyleOptions | any;
16263
- billboard?: BillboardEntity.StyleOptions | any;
16264
- point?: PointEntity.StyleOptions | any;
16265
- path?: PathEntity.StyleOptions | any;
16266
- circle?: CircleEntity.StyleOptions | any;
16227
+ model?: ModelEntity.StyleOptions | any | any;
16228
+ label?: LabelEntity.StyleOptions | any | any;
16229
+ billboard?: BillboardEntity.StyleOptions | any | any;
16230
+ point?: PointEntity.StyleOptions | any | any;
16231
+ path?: PathEntity.StyleOptions | any | any;
16232
+ circle?: CircleEntity.StyleOptions | any | any;
16267
16233
  attr?: any;
16268
16234
  offsetHeight?: number;
16269
16235
  startTime?: string | Date | Cesium.JulianDate;
@@ -16280,9 +16246,6 @@ declare class RoamLine extends BaseRoamLine {
16280
16246
  forwardExtrapolationType?: Cesium.ExtrapolationType;
16281
16247
  backwardExtrapolationType?: Cesium.ExtrapolationType;
16282
16248
  fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
16283
- splitNum?: number;
16284
- minDistance?: number;
16285
- offset?: number;
16286
16249
  clampToTileset?: boolean;
16287
16250
  frameRateHeight?: number;
16288
16251
  objectsToExclude?: any;
@@ -16305,9 +16268,9 @@ declare class RoamLine extends BaseRoamLine {
16305
16268
  offsetZ?: number;
16306
16269
  };
16307
16270
  popup?: string | any[] | ((...params: any[]) => any);
16308
- popupOptions?: Popup.StyleOptions;
16271
+ popupOptions?: Popup.StyleOptions | any;
16309
16272
  tooltip?: string | any[] | ((...params: any[]) => any);
16310
- tooltipOptions?: Tooltip.StyleOptions;
16273
+ tooltipOptions?: Tooltip.StyleOptions | any;
16311
16274
  contextmenuItems?: any;
16312
16275
  id?: string | number;
16313
16276
  name?: string;
@@ -16363,10 +16326,23 @@ declare class RoamLine extends BaseRoamLine {
16363
16326
  stop(): void;
16364
16327
  /**
16365
16328
  * 计算贴地线
16366
- * @param callback - 计算完成的回调方法
16367
- * @returns
16329
+ * @param [options] - 控制参数
16330
+ * @param [options.splitNum = 100] - 插值数,等比分割的个数
16331
+ * @param [options.minDistance = null] - 插值最小间隔(单位:米),优先级高于splitNum
16332
+ * @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
16333
+ * @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
16334
+ * @param [options.offset = 0] - 可以按需增加偏移高度(单位:米),便于可视
16335
+ * @param [options.callback] - 计算完成的回调方法
16336
+ * @returns 异步计算完成的Promise
16368
16337
  */
16369
- clampToGround(callback: (...params: any[]) => any): void;
16338
+ clampToGround(options?: {
16339
+ splitNum?: number;
16340
+ minDistance?: number;
16341
+ has3dtiles?: boolean;
16342
+ objectsToExclude?: any;
16343
+ offset?: number;
16344
+ callback?: (...params: any[]) => any;
16345
+ }): Promise<any>;
16370
16346
  /**
16371
16347
  * 获取剖面数据
16372
16348
  * @param callback - 计算完成的回调方法
@@ -16515,7 +16491,7 @@ declare class BaseGraphicLayer extends BaseLayer {
16515
16491
  * @param [options] - 控制参数
16516
16492
  * @returns 当前对象本身,可以链式调用
16517
16493
  */
16518
- bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions): BaseGraphicLayer;
16494
+ bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions | any): BaseGraphicLayer;
16519
16495
  /**
16520
16496
  * 解除绑定的鼠标单击对象后的弹窗。
16521
16497
  * @param [bubbling = false] - 单击事件中是否继续冒泡查找
@@ -16544,7 +16520,7 @@ declare class BaseGraphicLayer extends BaseLayer {
16544
16520
  * @param [options] - 控制参数
16545
16521
  * @returns 当前对象本身,可以链式调用
16546
16522
  */
16547
- bindTooltip(content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions): BaseGraphicLayer;
16523
+ bindTooltip(content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions | any): BaseGraphicLayer;
16548
16524
  /**
16549
16525
  * 解除绑定的鼠标移入对象后的弹窗。
16550
16526
  * @param [bubbling = false] - 单击事件中是否继续冒泡查找
@@ -16937,7 +16913,7 @@ declare class CzmGeoJsonLayer extends BaseGraphicLayer {
16937
16913
  zIndex?: number;
16938
16914
  opacity?: number;
16939
16915
  symbol?: {
16940
- styleOptions: BillboardEntity.StyleOptions | PolylineEntity.StyleOptions | PolygonEntity.StyleOptions | any;
16916
+ styleOptions: BillboardEntity.StyleOptions | any | PolylineEntity.StyleOptions | any | PolygonEntity.StyleOptions | any | any;
16941
16917
  styleField?: string;
16942
16918
  styleFieldOptions?: any;
16943
16919
  callback?: (...params: any[]) => any;
@@ -17237,7 +17213,7 @@ declare class KmlLayer extends CzmGeoJsonLayer {
17237
17213
  zIndex?: number;
17238
17214
  opacity?: number;
17239
17215
  symbol?: {
17240
- styleOptions: BillboardEntity.StyleOptions | PolylineEntity.StyleOptions | PolygonEntity.StyleOptions | any;
17216
+ styleOptions: BillboardEntity.StyleOptions | any | PolylineEntity.StyleOptions | any | PolygonEntity.StyleOptions | any | any;
17241
17217
  styleField?: string;
17242
17218
  styleFieldOptions?: any;
17243
17219
  callback?: (...params: any[]) => any;
@@ -17510,7 +17486,7 @@ declare class ArcGisWfsSingleLayer extends GeoJsonLayer {
17510
17486
  opacity?: number;
17511
17487
  zIndex?: number;
17512
17488
  symbol?: {
17513
- styleOptions: BillboardEntity.StyleOptions | PolylineEntity.StyleOptions | PolygonEntity.StyleOptions | any;
17489
+ styleOptions: BillboardEntity.StyleOptions | any | PolylineEntity.StyleOptions | any | PolygonEntity.StyleOptions | any | any;
17514
17490
  styleField?: string;
17515
17491
  styleFieldOptions?: any;
17516
17492
  callback?: (...params: any[]) => any;
@@ -17640,7 +17616,7 @@ declare class GeodePoiLayer extends LodGraphicLayer {
17640
17616
  zIndex?: number;
17641
17617
  opacity?: number;
17642
17618
  symbol?: {
17643
- styleOptions: BillboardEntity.StyleOptions | PointEntity.StyleOptions;
17619
+ styleOptions: BillboardEntity.StyleOptions | any | PointEntity.StyleOptions | any;
17644
17620
  styleField?: string;
17645
17621
  styleFieldOptions?: any;
17646
17622
  };
@@ -18544,8 +18520,8 @@ declare class GraphicLayer extends BaseGraphicLayer {
18544
18520
  declare class GraticuleLayer extends BaseLayer {
18545
18521
  constructor(options?: {
18546
18522
  numLines?: number;
18547
- lineStyle?: PolylinePrimitive.StyleOptions;
18548
- labelStyle?: LabelEntity.StyleOptions;
18523
+ lineStyle?: PolylinePrimitive.StyleOptions | any;
18524
+ labelStyle?: LabelEntity.StyleOptions | any;
18549
18525
  id?: string | number;
18550
18526
  pid?: string | number;
18551
18527
  name?: string;
@@ -18700,7 +18676,7 @@ declare class LodGraphicLayer extends GraphicLayer {
18700
18676
  opacity?: number;
18701
18677
  zIndex?: number;
18702
18678
  symbol?: {
18703
- styleOptions: BillboardEntity.StyleOptions | PolylineEntity.StyleOptions | PolygonEntity.StyleOptions | any;
18679
+ styleOptions: BillboardEntity.StyleOptions | any | PolylineEntity.StyleOptions | any | PolygonEntity.StyleOptions | any | any;
18704
18680
  styleField?: string;
18705
18681
  styleFieldOptions?: any;
18706
18682
  merge?: boolean;
@@ -19118,7 +19094,7 @@ declare namespace TilesetLayer {
19118
19094
  /**
19119
19095
  * 3dtiles 三维模型图层。
19120
19096
  * @param options - 参数对象, 构造参数建议从{@link http://mars3d.cn/editor.html?id=layer-tileset/manager/edit|模型编辑页面}设置后保存参数后拷贝json参数即可。参数包括以下:
19121
- * @param options.url - tileset的主JSON文件的 url
19097
+ * @param options.url - tileset的主JSON文件的 url ,ION资源时可以写 url: Cesium.IonResource.fromAssetId(8564),
19122
19098
  * @param [options.maximumScreenSpaceError = 16] - 用于驱动细化细节级别的最大屏幕空间错误。可以简单理解为:数值加大,能让最终成像变模糊。
19123
19099
  * @param [options.maximumMemoryUsage = 512] - 数据集可以使用的最大内存量(以MB计),这个参数要根据当前客户端显卡显存来配置,如果我们场景只显示这一个模型数据,这个可以设置到显存的50% 左右,比如我的显存是4G,这个可以设置到2048左右。那么既保证不超过显存限制,又可以最大利用显存缓存。<br />
19124
19100
  * 解释:
@@ -19210,7 +19186,7 @@ declare namespace TilesetLayer {
19210
19186
  */
19211
19187
  declare class TilesetLayer extends BaseGraphicLayer {
19212
19188
  constructor(options: {
19213
- url: Cesium.Resource | string;
19189
+ url: string | Cesium.Resource | Cesium.IonResource;
19214
19190
  maximumScreenSpaceError?: number;
19215
19191
  maximumMemoryUsage?: number;
19216
19192
  position?: {
@@ -19460,7 +19436,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
19460
19436
  * @param [options] - 控制参数
19461
19437
  * @returns 当前对象本身,可以链式调用
19462
19438
  */
19463
- bindPopup(content: string | any[] | ((...params: any[]) => any), options?: Popup.StyleOptions): TilesetLayer;
19439
+ bindPopup(content: string | any[] | ((...params: any[]) => any), options?: Popup.StyleOptions | any): TilesetLayer;
19464
19440
  /**
19465
19441
  * 解除绑定的鼠标单击对象后的弹窗。
19466
19442
  * @returns 当前对象本身,可以链式调用
@@ -20157,7 +20133,7 @@ declare class ArcGisLayer extends BaseTileLayer {
20157
20133
  * @param [options] - 控制参数
20158
20134
  * @returns 当前对象本身,可以链式调用
20159
20135
  */
20160
- bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions): ArcGisLayer;
20136
+ bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions | any): ArcGisLayer;
20161
20137
  /**
20162
20138
  * 解除绑定的鼠标单击对象后的弹窗。
20163
20139
  * @returns 当前对象本身,可以链式调用
@@ -22685,7 +22661,7 @@ declare class WmsLayer extends BaseTileLayer {
22685
22661
  * @param [options] - 控制参数
22686
22662
  * @returns 当前对象本身,可以链式调用
22687
22663
  */
22688
- bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions): WmsLayer;
22664
+ bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions | any): WmsLayer;
22689
22665
  /**
22690
22666
  * 解除绑定的鼠标单击对象后的弹窗。
22691
22667
  * @returns 当前对象本身,可以链式调用
@@ -23053,8 +23029,25 @@ declare class XyzLayer extends BaseTileLayer {
23053
23029
 
23054
23030
  /**
23055
23031
  * 右键菜单 控件
23032
+ * @param [options] - 参数对象,包括以下:
23033
+ * @param [options.preventDefault = true] - 是否取消右键菜单
23034
+ * @param [options.id = uuid()] - 对象的id标识
23035
+ * @param [options.enabled = true] - 对象的启用状态
23036
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
23037
+ * @param [options.insertIndex] - 可以自定义插入到父容器中的index顺序,默认是插入到最后面。
23038
+ * @param [options.insertBefore] - 可以自定义插入到指定兄弟容器的前面,与insertIndex二选一。
23039
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
23056
23040
  */
23057
23041
  declare class ContextMenu extends BaseControl {
23042
+ constructor(options?: {
23043
+ preventDefault?: boolean;
23044
+ id?: string | number;
23045
+ enabled?: boolean;
23046
+ parentContainer?: HTMLElement;
23047
+ insertIndex?: number;
23048
+ insertBefore?: HTMLElement;
23049
+ eventParent?: BaseClass | boolean;
23050
+ });
23058
23051
  /**
23059
23052
  * 设置DOM容器的显示隐藏
23060
23053
  */
@@ -23063,8 +23056,35 @@ declare class ContextMenu extends BaseControl {
23063
23056
 
23064
23057
  /**
23065
23058
  * 键盘漫游控制类
23059
+ * @param [options] - 参数对象,包括以下:
23060
+ * @param [options.moveStep = 10] - 平移步长 (米)
23061
+ * @param [options.dirStep = 25] - 相机原地旋转步长,值越大步长越小。
23062
+ * @param [options.rotateStep = 1.0] - 相机围绕目标点旋转速率,0.3 - 2.0
23063
+ * @param [options.minPitch = 0.1] - 最小仰角 0 - 1
23064
+ * @param [options.maxPitch = 0.95] - 最大仰角 0 - 1
23065
+ * @param [options.minHeight = 0] - 最低高度(单位:米)
23066
+ * @param [options.id = uuid()] - 对象的id标识
23067
+ * @param [options.enabled = true] - 对象的启用状态
23068
+ * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
23069
+ * @param [options.insertIndex] - 可以自定义插入到父容器中的index顺序,默认是插入到最后面。
23070
+ * @param [options.insertBefore] - 可以自定义插入到指定兄弟容器的前面,与insertIndex二选一。
23071
+ * @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
23066
23072
  */
23067
23073
  declare class KeyboardRoam extends BaseControl {
23074
+ constructor(options?: {
23075
+ moveStep?: number;
23076
+ dirStep?: number;
23077
+ rotateStep?: number;
23078
+ minPitch?: number;
23079
+ maxPitch?: number;
23080
+ minHeight?: number;
23081
+ id?: string | number;
23082
+ enabled?: boolean;
23083
+ parentContainer?: HTMLElement;
23084
+ insertIndex?: number;
23085
+ insertBefore?: HTMLElement;
23086
+ eventParent?: BaseClass | boolean;
23087
+ });
23068
23088
  /**
23069
23089
  * 平移步长 (米)
23070
23090
  */
@@ -23334,7 +23354,6 @@ declare namespace Map {
23334
23354
  * 添加到地图的控件 参数
23335
23355
  *
23336
23356
  * 以下是mars3d.control定义的控件,支持所有控件类型
23337
- * @property [defaultContextMenu = true] - 是否绑定默认的地图右键菜单
23338
23357
  * @property [mouseDownView] - 鼠标滚轮缩放美化样式, 对应 {@link MouseDownView}构造参数
23339
23358
  * @property [locationBar] - 鼠标提示控件, 对应 {@link LocationBar}构造参数
23340
23359
  * @property [locationBar.fps] - 是否显示实时FPS帧率
@@ -23345,6 +23364,21 @@ declare namespace Map {
23345
23364
  * @property [zoom] - 时钟动画控制控件 , 对应 {@link Zoom}构造参数
23346
23365
  * @property [overviewMap] - 鹰眼地图 控件, 对应{@link OverviewMap }构造参数
23347
23366
  * @property [mapSplit] - 卷帘对比 控件, 对应{@link MapSplit }构造参数
23367
+ * @property [contextmenu] - 内置 右键菜单 控制参数, 对应{@link ContextMenu }构造参数
23368
+ * @property [contextmenu.preventDefault = true] - 是否取消右键菜单
23369
+ * @property [contextmenu.hasDefault = true] - 是否绑定默认的地图右键菜单
23370
+ * @property [popup] - 内置 Popup 控制参数
23371
+ * @property [popup.isOnly = true] - 是否单个显示模式
23372
+ * @property [popup.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
23373
+ * @property [tooltip] - 内置 Tooltip 控制参数
23374
+ * @property [tooltip.cacheTime = 20] - 延迟缓存的时间,单位:毫秒
23375
+ * @property [keyboardRoam] - 内置 键盘漫游 控制参数, 对应{@link KeyboardRoam }构造参数
23376
+ * @property [keyboardRoam.moveStep = 10] - 平移步长 (米)
23377
+ * @property [keyboardRoam.dirStep = 25] - 相机原地旋转步长,值越大步长越小。
23378
+ * @property [keyboardRoam.rotateStep = 1.0] - 相机围绕目标点旋转速率,0.3 - 2.0
23379
+ * @property [keyboardRoam.minPitch = 0.1] - 最小仰角 0 - 1
23380
+ * @property [keyboardRoam.maxPitch = 0.95] - 最大仰角 0 - 1
23381
+ * @property [keyboardRoam.minHeight = 0] - 最低高度(单位:米)
23348
23382
  *
23349
23383
  * 以下是Cesium.Viewer所支持的控件相关的options
23350
23384
  * @property [infoBox = true] - 是否显示 点击要素之后显示的信息
@@ -23365,7 +23399,6 @@ declare namespace Map {
23365
23399
  * @property [showRenderLoopErrors = true] - 如果为true,则在发生渲染循环错误时,此小部件将自动向包含错误的用户显示HTML面板。
23366
23400
  */
23367
23401
  type controlOptions = {
23368
- defaultContextMenu?: boolean;
23369
23402
  mouseDownView?: boolean;
23370
23403
  locationBar?: {
23371
23404
  fps?: boolean;
@@ -23377,6 +23410,25 @@ declare namespace Map {
23377
23410
  zoom?: any;
23378
23411
  overviewMap?: any;
23379
23412
  mapSplit?: any;
23413
+ contextmenu?: {
23414
+ preventDefault?: boolean;
23415
+ hasDefault?: boolean;
23416
+ };
23417
+ popup?: {
23418
+ isOnly?: boolean;
23419
+ depthTest?: boolean;
23420
+ };
23421
+ tooltip?: {
23422
+ cacheTime?: number;
23423
+ };
23424
+ keyboardRoam?: {
23425
+ moveStep?: number;
23426
+ dirStep?: number;
23427
+ rotateStep?: number;
23428
+ minPitch?: number;
23429
+ maxPitch?: number;
23430
+ minHeight?: number;
23431
+ };
23380
23432
  infoBox?: boolean;
23381
23433
  selectionIndicator?: boolean;
23382
23434
  animation?: boolean;
@@ -23486,9 +23538,9 @@ declare namespace Map {
23486
23538
  show?: boolean;
23487
23539
  center?: any;
23488
23540
  popup?: any;
23489
- popupOptions?: Popup.StyleOptions;
23541
+ popupOptions?: Popup.StyleOptions | any;
23490
23542
  tooltip?: any;
23491
- tooltipOptions?: Tooltip.StyleOptions;
23543
+ tooltipOptions?: Tooltip.StyleOptions | any;
23492
23544
  多个参数?: any;
23493
23545
  };
23494
23546
  /**
@@ -24426,7 +24478,7 @@ declare class Map extends BaseClass {
24426
24478
  * @param [options] - 配置参数
24427
24479
  * @returns 当前对象本身,可以链式调用
24428
24480
  */
24429
- openPopup(position: LngLatPoint | Cesium.Cartesian3 | number[], content: string | ((...params: any[]) => any) | BaseGraphic | BaseGraphicLayer, options?: Popup.StyleOptions): Map;
24481
+ openPopup(position: LngLatPoint | Cesium.Cartesian3 | number[], content: string | ((...params: any[]) => any) | BaseGraphic | BaseGraphicLayer, options?: Popup.StyleOptions | any): Map;
24430
24482
  /**
24431
24483
  * 关闭Popup弹窗
24432
24484
  * @returns 当前对象本身,可以链式调用
@@ -24439,7 +24491,7 @@ declare class Map extends BaseClass {
24439
24491
  * @param [options] - 配置参数
24440
24492
  * @returns 当前对象本身,可以链式调用
24441
24493
  */
24442
- openTooltip(position: LngLatPoint | Cesium.Cartesian3 | number[], content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions): Map;
24494
+ openTooltip(position: LngLatPoint | Cesium.Cartesian3 | number[], content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions | any): Map;
24443
24495
  /**
24444
24496
  * 关闭Tooltip弹窗
24445
24497
  * @returns 当前对象本身,可以链式调用
@@ -25663,7 +25715,7 @@ declare class HeatLayer extends BaseLayer {
25663
25715
  arcBlurScale?: boolean;
25664
25716
  height?: number;
25665
25717
  diffHeight?: number;
25666
- 多个参数?: RectanglePrimitive.StyleOptions;
25718
+ 多个参数?: RectanglePrimitive.StyleOptions | any;
25667
25719
  };
25668
25720
  maxCanvasSize?: number;
25669
25721
  minCanvasSize?: number;
@@ -25694,7 +25746,7 @@ declare class HeatLayer extends BaseLayer {
25694
25746
  /**
25695
25747
  * 矩形的样式参数
25696
25748
  */
25697
- style: RectanglePrimitive.StyleOptions;
25749
+ style: RectanglePrimitive.StyleOptions | any;
25698
25750
  /**
25699
25751
  * 数据位置坐标数组 (笛卡尔坐标), 赋值时可以传入LatLngPoint数组对象
25700
25752
  */
@@ -25718,6 +25770,12 @@ declare class HeatLayer extends BaseLayer {
25718
25770
  * @returns 无
25719
25771
  */
25720
25772
  clear(): void;
25773
+ /**
25774
+ * 根据坐标点获取其对应的value值和颜色值
25775
+ * @param item - 坐标点
25776
+ * @returns 格式为 {"x":2081,"y":767,"value":3,"color":"rgba(209,231,0,195)"}
25777
+ */
25778
+ getPointData(item: Cesium.Cartesian3 | LngLatPoint): any;
25721
25779
  /**
25722
25780
  * 获取图层内所有数据的 矩形边界值
25723
25781
  * @param [options] - 控制参数
@@ -25774,7 +25832,7 @@ declare class MapVLayer extends BaseLayer {
25774
25832
  roll?: number;
25775
25833
  };
25776
25834
  flyTo?: boolean;
25777
- }|any, dataSet?: any);
25835
+ } | any, dataSet?: any);
25778
25836
  /**
25779
25837
  * 图层对应的Canvas对象
25780
25838
  */
@@ -26110,7 +26168,7 @@ declare namespace CamberRadar {
26110
26168
  * @property [pitch = 0] - 俯仰角(度数值,0-360度)
26111
26169
  * @property [roll = 0] - 翻滚角(度数值,0-360度)
26112
26170
  */
26113
- type StyleOptions = {
26171
+ type StyleOptions = any | {
26114
26172
  color?: string | Cesium.Color;
26115
26173
  opacity?: number;
26116
26174
  outline?: boolean;
@@ -26146,7 +26204,7 @@ declare namespace CamberRadar {
26146
26204
  declare class CamberRadar extends BasePointPrimitive {
26147
26205
  constructor(options: {
26148
26206
  position: LngLatPoint | Cesium.Cartesian3 | number[];
26149
- style: CamberRadar.StyleOptions;
26207
+ style: CamberRadar.StyleOptions | any;
26150
26208
  attr?: any;
26151
26209
  id?: string | number;
26152
26210
  name?: string;
@@ -26211,7 +26269,7 @@ declare namespace ConicSensor {
26211
26269
  * @property [rayEllipsoid = false] - 是否求交地球计算动态length
26212
26270
  * @property [hideRayEllipsoid = false] - 在地球相交时 是否隐藏
26213
26271
  */
26214
- type StyleOptions = {
26272
+ type StyleOptions = any | {
26215
26273
  angle?: number;
26216
26274
  length?: number;
26217
26275
  heading?: number;
@@ -26246,7 +26304,7 @@ declare namespace ConicSensor {
26246
26304
  declare class ConicSensor extends BasePointPrimitive {
26247
26305
  constructor(options: {
26248
26306
  position: LngLatPoint | Cesium.Cartesian3 | number[];
26249
- style: ConicSensor.StyleOptions;
26307
+ style: ConicSensor.StyleOptions | any;
26250
26308
  attr?: any;
26251
26309
  lookAt?: Cesium.Cartesian3 | Cesium.PositionProperty;
26252
26310
  fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
@@ -26369,7 +26427,7 @@ declare namespace RectSensor {
26369
26427
  * @property [rayEllipsoid = false] - 是否求交地球计算动态length
26370
26428
  * @property [hideRayEllipsoid = false] - 在地球相交时 是否隐藏
26371
26429
  */
26372
- type StyleOptions = {
26430
+ type StyleOptions = any | {
26373
26431
  angle1?: number;
26374
26432
  angle2?: number;
26375
26433
  angle?: number;
@@ -26406,7 +26464,7 @@ declare namespace RectSensor {
26406
26464
  declare class RectSensor extends BasePointPrimitive {
26407
26465
  constructor(options: {
26408
26466
  position: LngLatPoint | Cesium.Cartesian3 | number[];
26409
- style: RectSensor.StyleOptions;
26467
+ style: RectSensor.StyleOptions | any;
26410
26468
  attr?: any;
26411
26469
  lookAt?: Cesium.Cartesian3 | Cesium.PositionProperty;
26412
26470
  fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
@@ -26545,13 +26603,13 @@ declare class Satellite extends BaseGraphic {
26545
26603
  period?: number;
26546
26604
  position: Cesium.SampledPositionProperty;
26547
26605
  orientation?: Cesium.Property;
26548
- model?: ModelEntity.StyleOptions;
26549
- cone?: SatelliteSensor.StyleOptions;
26550
- label?: LabelEntity.StyleOptions;
26551
- billboard?: BillboardEntity.StyleOptions;
26552
- point?: PointEntity.StyleOptions;
26553
- path?: PolylineEntity.StyleOptions;
26554
- shadingLine?: BillboardEntity.StyleOptions;
26606
+ model?: ModelEntity.StyleOptions | any;
26607
+ cone?: SatelliteSensor.StyleOptions | any;
26608
+ label?: LabelEntity.StyleOptions | any;
26609
+ billboard?: BillboardEntity.StyleOptions | any;
26610
+ point?: PointEntity.StyleOptions | any;
26611
+ path?: PolylineEntity.StyleOptions | any;
26612
+ shadingLine?: BillboardEntity.StyleOptions | any;
26555
26613
  fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
26556
26614
  frameRate?: number;
26557
26615
  id?: string | number;
@@ -26708,7 +26766,7 @@ declare namespace SatelliteSensor {
26708
26766
  * @property [outlineColor = color] - 边线颜色
26709
26767
  * @property [rayEllipsoid = false] - 是否求交地球计算
26710
26768
  */
26711
- type StyleOptions = {
26769
+ type StyleOptions = any | {
26712
26770
  sensorType?: SatelliteSensor.Type;
26713
26771
  angle1?: number;
26714
26772
  angle2?: number;
@@ -26751,7 +26809,7 @@ declare namespace SatelliteSensor {
26751
26809
  declare class SatelliteSensor extends BasePointPrimitive {
26752
26810
  constructor(options?: {
26753
26811
  position: LngLatPoint | Cesium.Cartesian3 | number[];
26754
- style: SatelliteSensor.StyleOptions;
26812
+ style: SatelliteSensor.StyleOptions | any;
26755
26813
  attr?: any;
26756
26814
  lookAt?: Cesium.Cartesian3 | Cesium.PositionProperty;
26757
26815
  trackedEntity?: Cesium.Entity;
@@ -28671,6 +28729,51 @@ declare class QueryGeoServer extends BaseClass {
28671
28729
  readonly options: any;
28672
28730
  }
28673
28731
 
28732
+ /**
28733
+ * 选中对象的 泛光效果。
28734
+ * @param [options] - 参数对象
28735
+ * @param [options.eventType = "click"] - 高亮触发的事件类型,默认为单击。可选值:单击、鼠标移入,false时不内部控制
28736
+ * @param [options.color = Cesium.Color.WHITE] - 泛光颜色
28737
+ * @param [options.contrast = 128] - 对比度,取值范围[-255.0,255.0]
28738
+ * @param [options.brightness = -0.3] - 亮度, 将输入纹理的RGB值转换为色相、饱和度和亮度(HSB),然后将该值添加到亮度中。
28739
+ * @param [options.blurSamples = 32] - 模糊样本
28740
+ * @param [options.delta = 1.0] - 增量
28741
+ * @param [options.sigma = 3.78] - delta和sigma用于计算高斯滤波器的权值。方程是 <code>exp((-0.5 * delta * delta) / (sigma * sigma))</code>。
28742
+ * @param [options.stepSize = 5.0] - 步长,是下一个texel的距离
28743
+ * @param [options.ratio = 2.0] - 亮度增强比例
28744
+ * @param [options.threshold = 0.0] - 亮度阈值
28745
+ * @param [options.smoothWidth = 0.01] - 亮度光滑的宽度
28746
+ * @param [options.enabled = true] - 对象的启用状态
28747
+ */
28748
+ declare class BloomTargetEffect extends BaseEffect {
28749
+ constructor(options?: {
28750
+ eventType?: EventType | boolean;
28751
+ color?: Cesium.Color;
28752
+ contrast?: number;
28753
+ brightness?: number;
28754
+ blurSamples?: number;
28755
+ delta?: number;
28756
+ sigma?: number;
28757
+ stepSize?: number;
28758
+ ratio?: number;
28759
+ threshold?: number;
28760
+ smoothWidth?: number;
28761
+ enabled?: boolean;
28762
+ });
28763
+ /**
28764
+ * 发光颜色
28765
+ */
28766
+ color: Cesium.Color;
28767
+ /**
28768
+ * 高亮触发的事件类型,默认为单击。
28769
+ */
28770
+ eventType: EventType | string;
28771
+ /**
28772
+ * 选中对象
28773
+ */
28774
+ selected: any | any | undefined;
28775
+ }
28776
+
28674
28777
  declare namespace Measure {
28675
28778
  /**
28676
28779
  * @example
@@ -28761,7 +28864,7 @@ declare class Measure extends BaseThing {
28761
28864
  hasEdit?: boolean;
28762
28865
  isAutoEditing?: boolean;
28763
28866
  isContinued?: boolean;
28764
- label?: LabelEntity.StyleOptions;
28867
+ label?: LabelEntity.StyleOptions | any;
28765
28868
  id?: string | number;
28766
28869
  enabled?: boolean;
28767
28870
  eventParent?: BaseClass | boolean;
@@ -28792,7 +28895,7 @@ declare class Measure extends BaseThing {
28792
28895
  * @returns 绘制创建完成的Promise,返回 长度测量控制类 对象
28793
28896
  */
28794
28897
  distance(options?: {
28795
- style?: PolylineEntity.StyleOptions;
28898
+ style?: PolylineEntity.StyleOptions | any;
28796
28899
  unit?: string;
28797
28900
  maxPointNum?: number;
28798
28901
  addHeight?: number;
@@ -28813,7 +28916,7 @@ declare class Measure extends BaseThing {
28813
28916
  * @returns 绘制创建完成的Promise,返回 贴地长度测量控制类 对象
28814
28917
  */
28815
28918
  distanceSurface(options?: {
28816
- style?: PolylineEntity.StyleOptions;
28919
+ style?: PolylineEntity.StyleOptions | any;
28817
28920
  unit?: string;
28818
28921
  maxPointNum?: number;
28819
28922
  addHeight?: number;
@@ -28835,7 +28938,7 @@ declare class Measure extends BaseThing {
28835
28938
  * @returns 绘制创建完成的Promise,返回 剖面分析控制类矢量对象
28836
28939
  */
28837
28940
  section(options?: {
28838
- style?: PolylineEntity.StyleOptions;
28941
+ style?: PolylineEntity.StyleOptions | any;
28839
28942
  unit?: string;
28840
28943
  maxPointNum?: number;
28841
28944
  addHeight?: number;
@@ -28852,7 +28955,7 @@ declare class Measure extends BaseThing {
28852
28955
  * @returns 绘制创建完成的Promise,返回 面积测量控制类 对象
28853
28956
  */
28854
28957
  area(options?: {
28855
- style?: PolygonEntity.StyleOptions;
28958
+ style?: PolygonEntity.StyleOptions | any;
28856
28959
  unit?: string;
28857
28960
  decimal?: number;
28858
28961
  }): Promise<AreaMeasure | any>;
@@ -28867,7 +28970,7 @@ declare class Measure extends BaseThing {
28867
28970
  * @returns 绘制创建完成的Promise,返回 面积测量控制类 对象
28868
28971
  */
28869
28972
  areaSurface(options?: {
28870
- style?: PolygonEntity.StyleOptions;
28973
+ style?: PolygonEntity.StyleOptions | any;
28871
28974
  unit?: string;
28872
28975
  splitNum?: number;
28873
28976
  has3dtiles?: boolean;
@@ -28892,7 +28995,7 @@ declare class Measure extends BaseThing {
28892
28995
  * @returns 绘制创建完成的Promise,返回 体积测量控制类 对象
28893
28996
  */
28894
28997
  volume(options?: {
28895
- style?: PolygonEntity.StyleOptions;
28998
+ style?: PolygonEntity.StyleOptions | any;
28896
28999
  unit?: string;
28897
29000
  splitNum?: number;
28898
29001
  has3dtiles?: boolean;
@@ -28902,8 +29005,8 @@ declare class Measure extends BaseThing {
28902
29005
  heightLabel?: boolean;
28903
29006
  offsetLabel?: boolean;
28904
29007
  showArea?: boolean;
28905
- polygonWall?: PolygonEntity.StyleOptions;
28906
- labelHeight?: LabelEntity.StyleOptions;
29008
+ polygonWall?: PolygonEntity.StyleOptions | any;
29009
+ labelHeight?: LabelEntity.StyleOptions | any;
28907
29010
  decimal?: number;
28908
29011
  }): Promise<VolumeMeasure | any>;
28909
29012
  /**
@@ -28915,7 +29018,7 @@ declare class Measure extends BaseThing {
28915
29018
  * @returns 绘制创建完成的Promise,返回 高度测量 对象
28916
29019
  */
28917
29020
  height(options?: {
28918
- style?: PolylineEntity.StyleOptions;
29021
+ style?: PolylineEntity.StyleOptions | any;
28919
29022
  unit?: string;
28920
29023
  decimal?: number;
28921
29024
  }): Promise<HeightMeasure | any>;
@@ -28929,7 +29032,7 @@ declare class Measure extends BaseThing {
28929
29032
  * @returns 绘制创建完成的Promise,返回 三角高度测量控制类 对象
28930
29033
  */
28931
29034
  heightTriangle(options?: {
28932
- style?: PolylineEntity.StyleOptions;
29035
+ style?: PolylineEntity.StyleOptions | any;
28933
29036
  unit?: string;
28934
29037
  decimal?: number;
28935
29038
  }): Promise<HeightTriangleMeasure | any>;
@@ -28942,7 +29045,7 @@ declare class Measure extends BaseThing {
28942
29045
  * @returns 绘制创建完成的Promise,返回 角度测量控制类 对象
28943
29046
  */
28944
29047
  angle(options?: {
28945
- style?: PolylineEntity.StyleOptions;
29048
+ style?: PolylineEntity.StyleOptions | any;
28946
29049
  angleDecimal?: number;
28947
29050
  decimal?: number;
28948
29051
  }): Promise<AngleMeasure | any>;
@@ -28953,7 +29056,7 @@ declare class Measure extends BaseThing {
28953
29056
  * @returns 绘制创建完成的Promise,返回 坐标测量控制类 对象
28954
29057
  */
28955
29058
  point(options?: {
28956
- style?: PointEntity.StyleOptions;
29059
+ style?: PointEntity.StyleOptions | any;
28957
29060
  }): Promise<PointMeasure | any>;
28958
29061
  /**
28959
29062
  * 取消并停止绘制,如有未完成的绘制会自动删除
@@ -29130,13 +29233,13 @@ declare class Sightline extends BaseThing {
29130
29233
  * @param [options.offsetHeight = 0] - 在起点增加的高度值,比如加上人的身高
29131
29234
  * @param [options.splitNum = 50] - 插值数,等比分割的个数
29132
29235
  * @param [options.minDistance] - 插值时的最小间隔(单位:米),优先级高于splitNum
29133
- * @returns 无, 分析结果在end事件中返回
29236
+ * @returns 分析结果完成的Promise
29134
29237
  */
29135
29238
  addAsync(origin: Cesium.Cartesian3, target: Cesium.Cartesian3, options?: {
29136
29239
  offsetHeight?: number;
29137
29240
  splitNum?: number;
29138
29241
  minDistance?: number;
29139
- }): void;
29242
+ }): Promise<any>;
29140
29243
  /**
29141
29244
  * 清除分析
29142
29245
  * @returns 无
@@ -29600,7 +29703,7 @@ declare namespace FloodByGraphic {
29600
29703
  declare class FloodByGraphic extends BaseThing {
29601
29704
  constructor(options?: {
29602
29705
  positions?: any[][] | string[] | LngLatPoint[] | Cesium.Cartesian3[];
29603
- style?: PolygonEntity.StyleOptions;
29706
+ style?: PolygonEntity.StyleOptions | any;
29604
29707
  speed?: number;
29605
29708
  minHeight?: number;
29606
29709
  maxHeight?: number;
@@ -29790,9 +29893,9 @@ declare class Slope extends BaseThing {
29790
29893
  length?: number;
29791
29894
  };
29792
29895
  tooltip?: (...params: any[]) => any;
29793
- tooltipOptions?: Tooltip.StyleOptions;
29896
+ tooltipOptions?: Tooltip.StyleOptions | any;
29794
29897
  popup?: (...params: any[]) => any;
29795
- popupOptions?: Popup.StyleOptions;
29898
+ popupOptions?: Popup.StyleOptions | any;
29796
29899
  id?: string | number;
29797
29900
  enabled?: boolean;
29798
29901
  eventParent?: BaseClass | boolean;
@@ -30162,7 +30265,7 @@ declare class TilesetBoxClip extends BaseThing {
30162
30265
  position: LngLatPoint | Cesium.Cartesian3;
30163
30266
  dimensions: Cesium.Cartesian3;
30164
30267
  showBox?: boolean;
30165
- boxStyle?: BoxEntity.StyleOptions;
30268
+ boxStyle?: BoxEntity.StyleOptions | any;
30166
30269
  clipOutSide?: boolean;
30167
30270
  edgeWidth?: number;
30168
30271
  edgeColor?: Cesium.Color;
@@ -30523,7 +30626,7 @@ declare class TilesetPlanClip extends BaseThing {
30523
30626
  edgeColor?: Cesium.Color;
30524
30627
  showPlane?: boolean;
30525
30628
  editPlane?: boolean;
30526
- planeStyle?: PlaneEntity.StyleOptions;
30629
+ planeStyle?: PlaneEntity.StyleOptions | any;
30527
30630
  id?: string | number;
30528
30631
  enabled?: boolean;
30529
30632
  eventParent?: BaseClass | boolean;
@@ -30979,7 +31082,7 @@ declare class PolygonStyleConver extends BaseStyleConver {
30979
31082
  * @param isEntity - 是否为entity
30980
31083
  * @returns 矢量数据所需的Cesium内部对象
30981
31084
  */
30982
- static toCesiumVal(style: PolygonEntity.StyleOptions, entityGraphic: Cesium.PolygonGraphics | null, isEntity: boolean): Cesium.PolygonGraphics;
31085
+ static toCesiumVal(style: PolygonEntity.StyleOptions | any, entityGraphic: Cesium.PolygonGraphics | null, isEntity: boolean): Cesium.PolygonGraphics;
30983
31086
  /**
30984
31087
  * 导出Cesium的样式对象到json可以保存的格式
30985
31088
  * @param czmVal - Cesium属性值
@@ -31230,7 +31333,7 @@ declare namespace DrawUtil {
31230
31333
  * @param value - 像素
31231
31334
  * @returns 无
31232
31335
  */
31233
- function setPointStyle(value: PointPrimitive.StyleOptions): void;
31336
+ function setPointStyle(value: PointPrimitive.StyleOptions | any): void;
31234
31337
  }
31235
31338
 
31236
31339
  /**
@@ -32362,7 +32465,7 @@ declare namespace PolyUtil {
32362
32465
  * @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
32363
32466
  * @param [options.offset = 0] - 可以按需增加偏移高度(单位:米),便于可视
32364
32467
  * @param options.callback - 异步计算高度完成后 的回调方法
32365
- * @returns
32468
+ * @returns 异步计算完成的Promise, 等价于callback
32366
32469
  */
32367
32470
  function computeSurfaceLine(options?: {
32368
32471
  scene: Cesium.Scene;
@@ -32373,7 +32476,7 @@ declare namespace PolyUtil {
32373
32476
  objectsToExclude?: any;
32374
32477
  offset?: number;
32375
32478
  callback: Globe.surfaceLineWork_callback;
32376
- }): void;
32479
+ }): Promise<any>;
32377
32480
  /**
32378
32481
  * 求 多个点 的的贴地新坐标(不插值)
32379
32482
  * @param [options = {}] - 参数对象:
@@ -32383,7 +32486,7 @@ declare namespace PolyUtil {
32383
32486
  * @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
32384
32487
  * @param [options.offset = 0] - 可以按需增加偏移高度(单位:米),便于可视
32385
32488
  * @param options.callback - 异步计算高度完成后 的回调方法
32386
- * @returns
32489
+ * @returns 异步计算完成的Promise, 等价于callback
32387
32490
  */
32388
32491
  function computeSurfacePoints(options?: {
32389
32492
  scene: Cesium.Scene;
@@ -32392,7 +32495,7 @@ declare namespace PolyUtil {
32392
32495
  objectsToExclude?: any;
32393
32496
  offset?: number;
32394
32497
  callback: Globe.surfaceLineWork_callback;
32395
- }): void;
32498
+ }): Promise<any>;
32396
32499
  /**
32397
32500
  * 异步分段分步计算贴地距离中,每计算完成2个点之间的距离后 的回调方法
32398
32501
  * @param raisedPositions - 当前2个点之间的 贴地坐标数组
@@ -32418,7 +32521,7 @@ declare namespace PolyUtil {
32418
32521
  * @param options.endItem - 异步计算高度完成后 的回调方法
32419
32522
  * @param options.end - 异步计算高度完成后 的回调方法
32420
32523
  * @param options.callback - 异步计算高度完成后 的回调方法(别名,同end)
32421
- * @returns
32524
+ * @returns 异步计算完成的Promise,同callback
32422
32525
  */
32423
32526
  function computeStepSurfaceLine(options?: {
32424
32527
  scene: Cesium.Scene;
@@ -32431,7 +32534,7 @@ declare namespace PolyUtil {
32431
32534
  endItem: computeStepSurfaceLine_endItem;
32432
32535
  end: computeStepSurfaceLine_end;
32433
32536
  callback: computeStepSurfaceLine_end;
32434
- }): void;
32537
+ }): Promise<any>;
32435
32538
  /**
32436
32539
  * 计算2点间的 曲线链路的点集(空中曲线)
32437
32540
  * @param startPoint - 开始节点
@@ -32939,6 +33042,7 @@ declare namespace Util {
32939
33042
  * @param [options.proxy] - 加载资源时要使用的代理服务url。
32940
33043
  * @param [options.templateValues] - 一个对象,用于替换Url中的模板值的键/值对
32941
33044
  * @param [options.headers] - 一个对象,将发送的其他HTTP标头。比如:headers: { 'X-My-Header': 'valueOfHeader' }
33045
+ * @param [options.method = "get"] - 请求类型
32942
33046
  * @returns 返回Promise异步处理结果,对象为JSON数据
32943
33047
  */
32944
33048
  function fetchJson(options: {
@@ -32947,6 +33051,7 @@ declare namespace Util {
32947
33051
  proxy?: string;
32948
33052
  templateValues?: any;
32949
33053
  headers?: any;
33054
+ method?: string;
32950
33055
  }): Promise<any>;
32951
33056
  /**
32952
33057
  * 请求服务返回结果,方法是基于axios库精简的
@@ -33055,6 +33160,7 @@ declare namespace material {
33055
33160
  export { PolyGradientMaterialProperty }
33056
33161
  export { RectSlideMaterialProperty }
33057
33162
  export { Image2MaterialProperty }
33163
+ export { NeonLightMaterialProperty }
33058
33164
  }
33059
33165
 
33060
33166
 
@@ -33189,6 +33295,7 @@ declare namespace graphic {
33189
33295
  export { DynamicRoamLine }
33190
33296
  export { RoamLine }
33191
33297
 
33298
+ //卫星插件
33192
33299
  export { CamberRadar }
33193
33300
  export { ConicSensor }
33194
33301
  export { RectSensor }