mars3d 3.3.8 → 3.3.11
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/README.md +24 -31
- package/dist/mars3d.css +12 -11
- package/dist/mars3d.d.ts +801 -833
- package/dist/mars3d.js +4 -4
- package/package.json +1 -1
package/dist/mars3d.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Mars3D三维可视化平台 mars3d
|
|
4
4
|
*
|
|
5
|
-
* 版本信息:v3.3.
|
|
6
|
-
* 编译日期:2022-05-09
|
|
5
|
+
* 版本信息:v3.3.11
|
|
6
|
+
* 编译日期:2022-05-29 09:12:31
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2022-02-01
|
|
9
9
|
*/
|
|
@@ -187,6 +187,10 @@ declare enum EventType {
|
|
|
187
187
|
* 更新了对象
|
|
188
188
|
*/
|
|
189
189
|
update = "update",
|
|
190
|
+
/**
|
|
191
|
+
* 更新了坐标位置
|
|
192
|
+
*/
|
|
193
|
+
updatePosition = "updatePosition",
|
|
190
194
|
/**
|
|
191
195
|
* 更新了style对象
|
|
192
196
|
*/
|
|
@@ -1081,7 +1085,7 @@ declare enum LayerType {
|
|
|
1081
1085
|
* width: 5,
|
|
1082
1086
|
* material: mars3d.MaterialUtil.createMaterialProperty(mars3d.MaterialType.LineFlow, {
|
|
1083
1087
|
* color: '#00ff00',
|
|
1084
|
-
* image: 'img/textures/
|
|
1088
|
+
* image: 'img/textures/line-pulse.png',
|
|
1085
1089
|
* speed: 5,
|
|
1086
1090
|
* }),
|
|
1087
1091
|
* },
|
|
@@ -1098,7 +1102,7 @@ declare enum LayerType {
|
|
|
1098
1102
|
* width: 5,
|
|
1099
1103
|
* material: mars3d.MaterialUtil.createMaterial(mars3d.MaterialType.LineFlow, {
|
|
1100
1104
|
* color: '#1a9850',
|
|
1101
|
-
* image: 'img/textures/
|
|
1105
|
+
* image: 'img/textures/line-arrow.png',
|
|
1102
1106
|
* speed: 10,
|
|
1103
1107
|
* }),
|
|
1104
1108
|
* },
|
|
@@ -1245,7 +1249,10 @@ declare namespace MaterialType {
|
|
|
1245
1249
|
* @property [image] - 背景图片URL
|
|
1246
1250
|
* @property [color = new Cesium.Color(1.0, 0.0, 0.0, 0.7)] - 颜色
|
|
1247
1251
|
* @property [count = 1] - 数量
|
|
1252
|
+
* @property [direction = -1] - 方向,1是往下,-1是往上
|
|
1248
1253
|
* @property [speed = 5.0] - 速度,值越大越快
|
|
1254
|
+
* @property [bloom = false] - 是否泛光
|
|
1255
|
+
* @property [axisY = false] - 是否Y轴朝上
|
|
1249
1256
|
*/
|
|
1250
1257
|
const WallScroll: string;
|
|
1251
1258
|
/**
|
|
@@ -1975,7 +1982,7 @@ declare class OverviewMap extends BaseControl {
|
|
|
1975
1982
|
basemap: Map.basemapOptions;
|
|
1976
1983
|
layers?: Map.layerOptions[];
|
|
1977
1984
|
scene?: Map.sceneOptions;
|
|
1978
|
-
rectangle?: RectangleEntity.StyleOptions;
|
|
1985
|
+
rectangle?: RectangleEntity.StyleOptions | any;
|
|
1979
1986
|
style?: {
|
|
1980
1987
|
top?: string;
|
|
1981
1988
|
bottom?: string;
|
|
@@ -2757,6 +2764,18 @@ declare class BaseEffect extends BaseThing {
|
|
|
2757
2764
|
* </p>
|
|
2758
2765
|
*/
|
|
2759
2766
|
readonly uniforms: any;
|
|
2767
|
+
/**
|
|
2768
|
+
* 添加到地图上,同 map.addEffect
|
|
2769
|
+
* @param map - 地图对象
|
|
2770
|
+
* @returns 当前对象本身,可以链式调用
|
|
2771
|
+
*/
|
|
2772
|
+
addTo(map: Map): BaseEffect;
|
|
2773
|
+
/**
|
|
2774
|
+
* 从地图上移除,同map.removeEffect
|
|
2775
|
+
* @param [destroy] - 是否调用destroy释放
|
|
2776
|
+
* @returns 无
|
|
2777
|
+
*/
|
|
2778
|
+
remove(destroy?: boolean): void;
|
|
2760
2779
|
}
|
|
2761
2780
|
|
|
2762
2781
|
/**
|
|
@@ -2817,51 +2836,6 @@ declare class BloomEffect extends BaseEffect {
|
|
|
2817
2836
|
stepSize: number;
|
|
2818
2837
|
}
|
|
2819
2838
|
|
|
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
2839
|
/**
|
|
2866
2840
|
* 亮度
|
|
2867
2841
|
* @param [options] - 参数对象,包括以下:
|
|
@@ -3234,9 +3208,9 @@ declare class BaseGraphic extends BaseClass {
|
|
|
3234
3208
|
style: any;
|
|
3235
3209
|
attr?: any;
|
|
3236
3210
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
3237
|
-
popupOptions?: Popup.StyleOptions;
|
|
3211
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
3238
3212
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
3239
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
3213
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
3240
3214
|
contextmenuItems?: any;
|
|
3241
3215
|
id?: string | number;
|
|
3242
3216
|
name?: string;
|
|
@@ -3445,7 +3419,7 @@ declare class BaseGraphic extends BaseClass {
|
|
|
3445
3419
|
* @param [options] - 控制参数
|
|
3446
3420
|
* @returns 当前对象本身,可以链式调用
|
|
3447
3421
|
*/
|
|
3448
|
-
bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions): BaseGraphic | any;
|
|
3422
|
+
bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions | any): BaseGraphic | any;
|
|
3449
3423
|
/**
|
|
3450
3424
|
* 解除绑定的鼠标单击对象后的弹窗。
|
|
3451
3425
|
* @param [bubbling = false] - 单击事件中是否继续冒泡往上级查找
|
|
@@ -3476,7 +3450,7 @@ declare class BaseGraphic extends BaseClass {
|
|
|
3476
3450
|
* @param [options] - 控制参数
|
|
3477
3451
|
* @returns 当前对象本身,可以链式调用
|
|
3478
3452
|
*/
|
|
3479
|
-
bindTooltip(content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions): BaseGraphic | any;
|
|
3453
|
+
bindTooltip(content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions | any): BaseGraphic | any;
|
|
3480
3454
|
/**
|
|
3481
3455
|
* 解除绑定的鼠标移入对象后的弹窗。
|
|
3482
3456
|
* @param [bubbling = false] - 单击事件中是否继续冒泡查找
|
|
@@ -3658,10 +3632,10 @@ declare class BasePolyCombine extends BaseCombine {
|
|
|
3658
3632
|
constructor(options: {
|
|
3659
3633
|
instances?: {
|
|
3660
3634
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
3661
|
-
style?: PolygonPrimitive.StyleOptions;
|
|
3635
|
+
style?: PolygonPrimitive.StyleOptions | any;
|
|
3662
3636
|
attr?: any;
|
|
3663
3637
|
}[];
|
|
3664
|
-
style?: PolygonPrimitive.StyleOptions;
|
|
3638
|
+
style?: PolygonPrimitive.StyleOptions | any;
|
|
3665
3639
|
highlight?: {
|
|
3666
3640
|
type?: string;
|
|
3667
3641
|
};
|
|
@@ -3678,9 +3652,9 @@ declare class BasePolyCombine extends BaseCombine {
|
|
|
3678
3652
|
debugShowBoundingVolume?: boolean;
|
|
3679
3653
|
debugShowShadowVolume?: boolean;
|
|
3680
3654
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
3681
|
-
popupOptions?: Popup.StyleOptions;
|
|
3655
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
3682
3656
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
3683
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
3657
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
3684
3658
|
contextmenuItems?: any;
|
|
3685
3659
|
id?: string | number;
|
|
3686
3660
|
name?: string;
|
|
@@ -3743,10 +3717,10 @@ declare class BoxCombine extends BasePolyCombine {
|
|
|
3743
3717
|
constructor(options: {
|
|
3744
3718
|
instances?: {
|
|
3745
3719
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
3746
|
-
style?: BoxPrimitive.StyleOptions;
|
|
3720
|
+
style?: BoxPrimitive.StyleOptions | any;
|
|
3747
3721
|
attr?: any;
|
|
3748
3722
|
}[];
|
|
3749
|
-
style?: BoxPrimitive.StyleOptions;
|
|
3723
|
+
style?: BoxPrimitive.StyleOptions | any;
|
|
3750
3724
|
highlight?: {
|
|
3751
3725
|
type?: string;
|
|
3752
3726
|
};
|
|
@@ -3763,9 +3737,9 @@ declare class BoxCombine extends BasePolyCombine {
|
|
|
3763
3737
|
debugShowBoundingVolume?: boolean;
|
|
3764
3738
|
debugShowShadowVolume?: boolean;
|
|
3765
3739
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
3766
|
-
popupOptions?: Popup.StyleOptions;
|
|
3740
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
3767
3741
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
3768
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
3742
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
3769
3743
|
contextmenuItems?: any;
|
|
3770
3744
|
id?: string | number;
|
|
3771
3745
|
name?: string;
|
|
@@ -3812,10 +3786,10 @@ declare class CircleCombine extends BasePolyCombine {
|
|
|
3812
3786
|
constructor(options: {
|
|
3813
3787
|
instances?: {
|
|
3814
3788
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
3815
|
-
style?: CirclePrimitive.StyleOptions;
|
|
3789
|
+
style?: CirclePrimitive.StyleOptions | any;
|
|
3816
3790
|
attr?: any;
|
|
3817
3791
|
}[];
|
|
3818
|
-
style?: CirclePrimitive.StyleOptions;
|
|
3792
|
+
style?: CirclePrimitive.StyleOptions | any;
|
|
3819
3793
|
highlight?: {
|
|
3820
3794
|
type?: string;
|
|
3821
3795
|
};
|
|
@@ -3832,9 +3806,9 @@ declare class CircleCombine extends BasePolyCombine {
|
|
|
3832
3806
|
debugShowBoundingVolume?: boolean;
|
|
3833
3807
|
debugShowShadowVolume?: boolean;
|
|
3834
3808
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
3835
|
-
popupOptions?: Popup.StyleOptions;
|
|
3809
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
3836
3810
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
3837
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
3811
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
3838
3812
|
contextmenuItems?: any;
|
|
3839
3813
|
id?: string | number;
|
|
3840
3814
|
name?: string;
|
|
@@ -3879,10 +3853,10 @@ declare class CorridorCombine extends BasePolyCombine {
|
|
|
3879
3853
|
constructor(options: {
|
|
3880
3854
|
instances?: {
|
|
3881
3855
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
3882
|
-
style?: CorridorPrimitive.StyleOptions;
|
|
3856
|
+
style?: CorridorPrimitive.StyleOptions | any;
|
|
3883
3857
|
attr?: any;
|
|
3884
3858
|
}[];
|
|
3885
|
-
style?: CorridorPrimitive.StyleOptions;
|
|
3859
|
+
style?: CorridorPrimitive.StyleOptions | any;
|
|
3886
3860
|
appearance?: Cesium.Appearance;
|
|
3887
3861
|
attributes?: Cesium.Appearance;
|
|
3888
3862
|
depthFailAppearance?: Cesium.Appearance;
|
|
@@ -3896,9 +3870,9 @@ declare class CorridorCombine extends BasePolyCombine {
|
|
|
3896
3870
|
debugShowBoundingVolume?: boolean;
|
|
3897
3871
|
debugShowShadowVolume?: boolean;
|
|
3898
3872
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
3899
|
-
popupOptions?: Popup.StyleOptions;
|
|
3873
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
3900
3874
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
3901
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
3875
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
3902
3876
|
contextmenuItems?: any;
|
|
3903
3877
|
id?: string | number;
|
|
3904
3878
|
name?: string;
|
|
@@ -3945,10 +3919,10 @@ declare class CylinderCombine extends BasePolyCombine {
|
|
|
3945
3919
|
constructor(options: {
|
|
3946
3920
|
instances?: {
|
|
3947
3921
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
3948
|
-
style?: CylinderPrimitive.StyleOptions;
|
|
3922
|
+
style?: CylinderPrimitive.StyleOptions | any;
|
|
3949
3923
|
attr?: any;
|
|
3950
3924
|
}[];
|
|
3951
|
-
style?: CylinderPrimitive.StyleOptions;
|
|
3925
|
+
style?: CylinderPrimitive.StyleOptions | any;
|
|
3952
3926
|
highlight?: {
|
|
3953
3927
|
type?: string;
|
|
3954
3928
|
};
|
|
@@ -3965,9 +3939,9 @@ declare class CylinderCombine extends BasePolyCombine {
|
|
|
3965
3939
|
debugShowBoundingVolume?: boolean;
|
|
3966
3940
|
debugShowShadowVolume?: boolean;
|
|
3967
3941
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
3968
|
-
popupOptions?: Popup.StyleOptions;
|
|
3942
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
3969
3943
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
3970
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
3944
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
3971
3945
|
contextmenuItems?: any;
|
|
3972
3946
|
id?: string | number;
|
|
3973
3947
|
name?: string;
|
|
@@ -4014,10 +3988,10 @@ declare class EllipsoidCombine extends BasePolyCombine {
|
|
|
4014
3988
|
constructor(options: {
|
|
4015
3989
|
instances?: {
|
|
4016
3990
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
4017
|
-
style?: EllipsoidPrimitive.StyleOptions;
|
|
3991
|
+
style?: EllipsoidPrimitive.StyleOptions | any;
|
|
4018
3992
|
attr?: any;
|
|
4019
3993
|
}[];
|
|
4020
|
-
style?: EllipsoidPrimitive.StyleOptions;
|
|
3994
|
+
style?: EllipsoidPrimitive.StyleOptions | any;
|
|
4021
3995
|
highlight?: {
|
|
4022
3996
|
type?: string;
|
|
4023
3997
|
};
|
|
@@ -4034,9 +4008,9 @@ declare class EllipsoidCombine extends BasePolyCombine {
|
|
|
4034
4008
|
debugShowBoundingVolume?: boolean;
|
|
4035
4009
|
debugShowShadowVolume?: boolean;
|
|
4036
4010
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
4037
|
-
popupOptions?: Popup.StyleOptions;
|
|
4011
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
4038
4012
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
4039
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
4013
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
4040
4014
|
contextmenuItems?: any;
|
|
4041
4015
|
id?: string | number;
|
|
4042
4016
|
name?: string;
|
|
@@ -4148,10 +4122,10 @@ declare class FrustumCombine extends BasePolyCombine {
|
|
|
4148
4122
|
constructor(options: {
|
|
4149
4123
|
instances?: {
|
|
4150
4124
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
4151
|
-
style?: FrustumPrimitive.StyleOptions;
|
|
4125
|
+
style?: FrustumPrimitive.StyleOptions | any;
|
|
4152
4126
|
attr?: any;
|
|
4153
4127
|
}[];
|
|
4154
|
-
style?: FrustumPrimitive.StyleOptions;
|
|
4128
|
+
style?: FrustumPrimitive.StyleOptions | any;
|
|
4155
4129
|
highlight?: {
|
|
4156
4130
|
type?: string;
|
|
4157
4131
|
};
|
|
@@ -4168,9 +4142,9 @@ declare class FrustumCombine extends BasePolyCombine {
|
|
|
4168
4142
|
debugShowBoundingVolume?: boolean;
|
|
4169
4143
|
debugShowShadowVolume?: boolean;
|
|
4170
4144
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
4171
|
-
popupOptions?: Popup.StyleOptions;
|
|
4145
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
4172
4146
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
4173
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
4147
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
4174
4148
|
contextmenuItems?: any;
|
|
4175
4149
|
id?: string | number;
|
|
4176
4150
|
name?: string;
|
|
@@ -4274,7 +4248,7 @@ declare class ModelCombine extends BaseCombine {
|
|
|
4274
4248
|
url?: Cesium.Resource | string;
|
|
4275
4249
|
instances?: {
|
|
4276
4250
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
4277
|
-
style?: ModelPrimitive.StyleOptions;
|
|
4251
|
+
style?: ModelPrimitive.StyleOptions | any;
|
|
4278
4252
|
attr?: any;
|
|
4279
4253
|
}[];
|
|
4280
4254
|
batchTable?: any;
|
|
@@ -4346,10 +4320,10 @@ declare class PlaneCombine extends BasePolyCombine {
|
|
|
4346
4320
|
constructor(options: {
|
|
4347
4321
|
instances?: {
|
|
4348
4322
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
4349
|
-
style?: PlanePrimitive.StyleOptions;
|
|
4323
|
+
style?: PlanePrimitive.StyleOptions | any;
|
|
4350
4324
|
attr?: any;
|
|
4351
4325
|
}[];
|
|
4352
|
-
style?: PlanePrimitive.StyleOptions;
|
|
4326
|
+
style?: PlanePrimitive.StyleOptions | any;
|
|
4353
4327
|
highlight?: {
|
|
4354
4328
|
type?: string;
|
|
4355
4329
|
};
|
|
@@ -4366,9 +4340,9 @@ declare class PlaneCombine extends BasePolyCombine {
|
|
|
4366
4340
|
debugShowBoundingVolume?: boolean;
|
|
4367
4341
|
debugShowShadowVolume?: boolean;
|
|
4368
4342
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
4369
|
-
popupOptions?: Popup.StyleOptions;
|
|
4343
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
4370
4344
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
4371
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
4345
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
4372
4346
|
contextmenuItems?: any;
|
|
4373
4347
|
id?: string | number;
|
|
4374
4348
|
name?: string;
|
|
@@ -4415,10 +4389,10 @@ declare class PolygonCombine extends BasePolyCombine {
|
|
|
4415
4389
|
constructor(options: {
|
|
4416
4390
|
instances?: {
|
|
4417
4391
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
4418
|
-
style?: PolygonPrimitive.StyleOptions;
|
|
4392
|
+
style?: PolygonPrimitive.StyleOptions | any;
|
|
4419
4393
|
attr?: any;
|
|
4420
4394
|
}[];
|
|
4421
|
-
style?: PolygonPrimitive.StyleOptions;
|
|
4395
|
+
style?: PolygonPrimitive.StyleOptions | any;
|
|
4422
4396
|
highlight?: {
|
|
4423
4397
|
type?: string;
|
|
4424
4398
|
};
|
|
@@ -4435,9 +4409,9 @@ declare class PolygonCombine extends BasePolyCombine {
|
|
|
4435
4409
|
debugShowBoundingVolume?: boolean;
|
|
4436
4410
|
debugShowShadowVolume?: boolean;
|
|
4437
4411
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
4438
|
-
popupOptions?: Popup.StyleOptions;
|
|
4412
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
4439
4413
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
4440
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
4414
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
4441
4415
|
contextmenuItems?: any;
|
|
4442
4416
|
id?: string | number;
|
|
4443
4417
|
name?: string;
|
|
@@ -4482,10 +4456,10 @@ declare class PolylineCombine extends BasePolyCombine {
|
|
|
4482
4456
|
constructor(options: {
|
|
4483
4457
|
instances?: {
|
|
4484
4458
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
4485
|
-
style?: PolylinePrimitive.StyleOptions;
|
|
4459
|
+
style?: PolylinePrimitive.StyleOptions | any;
|
|
4486
4460
|
attr?: any;
|
|
4487
4461
|
}[];
|
|
4488
|
-
style?: PolylinePrimitive.StyleOptions;
|
|
4462
|
+
style?: PolylinePrimitive.StyleOptions | any;
|
|
4489
4463
|
appearance?: Cesium.Appearance;
|
|
4490
4464
|
attributes?: Cesium.Appearance;
|
|
4491
4465
|
depthFailAppearance?: Cesium.Appearance;
|
|
@@ -4499,9 +4473,9 @@ declare class PolylineCombine extends BasePolyCombine {
|
|
|
4499
4473
|
debugShowBoundingVolume?: boolean;
|
|
4500
4474
|
debugShowShadowVolume?: boolean;
|
|
4501
4475
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
4502
|
-
popupOptions?: Popup.StyleOptions;
|
|
4476
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
4503
4477
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
4504
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
4478
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
4505
4479
|
contextmenuItems?: any;
|
|
4506
4480
|
id?: string | number;
|
|
4507
4481
|
name?: string;
|
|
@@ -4546,10 +4520,10 @@ declare class PolylineVolumeCombine extends BasePolyCombine {
|
|
|
4546
4520
|
constructor(options: {
|
|
4547
4521
|
instances?: {
|
|
4548
4522
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
4549
|
-
style?: PolylineVolumePrimitive.StyleOptions;
|
|
4523
|
+
style?: PolylineVolumePrimitive.StyleOptions | any;
|
|
4550
4524
|
attr?: any;
|
|
4551
4525
|
}[];
|
|
4552
|
-
style?: PolylineVolumePrimitive.StyleOptions;
|
|
4526
|
+
style?: PolylineVolumePrimitive.StyleOptions | any;
|
|
4553
4527
|
appearance?: Cesium.Appearance;
|
|
4554
4528
|
attributes?: Cesium.Appearance;
|
|
4555
4529
|
depthFailAppearance?: Cesium.Appearance;
|
|
@@ -4563,9 +4537,9 @@ declare class PolylineVolumeCombine extends BasePolyCombine {
|
|
|
4563
4537
|
debugShowBoundingVolume?: boolean;
|
|
4564
4538
|
debugShowShadowVolume?: boolean;
|
|
4565
4539
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
4566
|
-
popupOptions?: Popup.StyleOptions;
|
|
4540
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
4567
4541
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
4568
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
4542
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
4569
4543
|
contextmenuItems?: any;
|
|
4570
4544
|
id?: string | number;
|
|
4571
4545
|
name?: string;
|
|
@@ -4612,10 +4586,10 @@ declare class RectangleCombine extends BasePolyCombine {
|
|
|
4612
4586
|
constructor(options: {
|
|
4613
4587
|
instances?: {
|
|
4614
4588
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
4615
|
-
style?: RectanglePrimitive.StyleOptions;
|
|
4589
|
+
style?: RectanglePrimitive.StyleOptions | any;
|
|
4616
4590
|
attr?: any;
|
|
4617
4591
|
}[];
|
|
4618
|
-
style?: RectanglePrimitive.StyleOptions;
|
|
4592
|
+
style?: RectanglePrimitive.StyleOptions | any;
|
|
4619
4593
|
highlight?: {
|
|
4620
4594
|
type?: string;
|
|
4621
4595
|
};
|
|
@@ -4632,9 +4606,9 @@ declare class RectangleCombine extends BasePolyCombine {
|
|
|
4632
4606
|
debugShowBoundingVolume?: boolean;
|
|
4633
4607
|
debugShowShadowVolume?: boolean;
|
|
4634
4608
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
4635
|
-
popupOptions?: Popup.StyleOptions;
|
|
4609
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
4636
4610
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
4637
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
4611
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
4638
4612
|
contextmenuItems?: any;
|
|
4639
4613
|
id?: string | number;
|
|
4640
4614
|
name?: string;
|
|
@@ -4679,10 +4653,10 @@ declare class WallCombine extends BasePolyCombine {
|
|
|
4679
4653
|
constructor(options: {
|
|
4680
4654
|
instances?: {
|
|
4681
4655
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
4682
|
-
style?: WallPrimitive.StyleOptions;
|
|
4656
|
+
style?: WallPrimitive.StyleOptions | any;
|
|
4683
4657
|
attr?: any;
|
|
4684
4658
|
}[];
|
|
4685
|
-
style?: WallPrimitive.StyleOptions;
|
|
4659
|
+
style?: WallPrimitive.StyleOptions | any;
|
|
4686
4660
|
appearance?: Cesium.Appearance;
|
|
4687
4661
|
attributes?: Cesium.Appearance;
|
|
4688
4662
|
depthFailAppearance?: Cesium.Appearance;
|
|
@@ -4696,9 +4670,9 @@ declare class WallCombine extends BasePolyCombine {
|
|
|
4696
4670
|
debugShowBoundingVolume?: boolean;
|
|
4697
4671
|
debugShowShadowVolume?: boolean;
|
|
4698
4672
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
4699
|
-
popupOptions?: Popup.StyleOptions;
|
|
4673
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
4700
4674
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
4701
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
4675
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
4702
4676
|
contextmenuItems?: any;
|
|
4703
4677
|
id?: string | number;
|
|
4704
4678
|
name?: string;
|
|
@@ -4745,10 +4719,10 @@ declare class WaterCombine extends PolygonCombine {
|
|
|
4745
4719
|
constructor(options: {
|
|
4746
4720
|
instances?: {
|
|
4747
4721
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
4748
|
-
style?: PolygonPrimitive.StyleOptions;
|
|
4722
|
+
style?: PolygonPrimitive.StyleOptions | any;
|
|
4749
4723
|
attr?: any;
|
|
4750
4724
|
}[];
|
|
4751
|
-
style?: PolygonPrimitive.StyleOptions;
|
|
4725
|
+
style?: PolygonPrimitive.StyleOptions | any;
|
|
4752
4726
|
highlight?: {
|
|
4753
4727
|
type?: string;
|
|
4754
4728
|
};
|
|
@@ -4765,9 +4739,9 @@ declare class WaterCombine extends PolygonCombine {
|
|
|
4765
4739
|
debugShowBoundingVolume?: boolean;
|
|
4766
4740
|
debugShowShadowVolume?: boolean;
|
|
4767
4741
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
4768
|
-
popupOptions?: Popup.StyleOptions;
|
|
4742
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
4769
4743
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
4770
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
4744
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
4771
4745
|
contextmenuItems?: any;
|
|
4772
4746
|
id?: string | number;
|
|
4773
4747
|
name?: string;
|
|
@@ -4788,7 +4762,7 @@ declare namespace ArcFrustum {
|
|
|
4788
4762
|
* @property [roll = 0] - 翻滚角(度数值,0-360度)
|
|
4789
4763
|
* @property [color = Cesium.Color.WHITE] - 颜色
|
|
4790
4764
|
*/
|
|
4791
|
-
type StyleOptions = {
|
|
4765
|
+
type StyleOptions = any | {
|
|
4792
4766
|
angle?: number;
|
|
4793
4767
|
angle2?: number;
|
|
4794
4768
|
distance: number;
|
|
@@ -4816,7 +4790,7 @@ declare class ArcFrustum extends BasePointPrimitive {
|
|
|
4816
4790
|
constructor(options: {
|
|
4817
4791
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
4818
4792
|
modelMatrix?: Cesium.Matrix4;
|
|
4819
|
-
style: ArcFrustum.StyleOptions;
|
|
4793
|
+
style: ArcFrustum.StyleOptions | any;
|
|
4820
4794
|
attr?: any;
|
|
4821
4795
|
id?: string | number;
|
|
4822
4796
|
name?: string;
|
|
@@ -4872,7 +4846,7 @@ declare namespace ParticleSystem {
|
|
|
4872
4846
|
* @property [maximumMass] - 设置粒子的最大质量,单位为千克。一个粒子的实际质量将被选为低于这个值的随机数量。
|
|
4873
4847
|
* @property [updateCallback] - 每一帧调用一个回调函数来更新一个粒子。
|
|
4874
4848
|
*/
|
|
4875
|
-
type StyleOptions = {
|
|
4849
|
+
type StyleOptions = any | {
|
|
4876
4850
|
image?: string;
|
|
4877
4851
|
emitter?: Cesium.ParticleEmitter;
|
|
4878
4852
|
emissionRate?: number;
|
|
@@ -4925,7 +4899,7 @@ declare class ParticleSystem extends BasePointPrimitive {
|
|
|
4925
4899
|
constructor(options: {
|
|
4926
4900
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
4927
4901
|
modelMatrix?: Cesium.Matrix4;
|
|
4928
|
-
style: ParticleSystem.StyleOptions;
|
|
4902
|
+
style: ParticleSystem.StyleOptions | any;
|
|
4929
4903
|
attr?: any;
|
|
4930
4904
|
gravity?: number;
|
|
4931
4905
|
target?: Cesium.Cartesian3;
|
|
@@ -4979,7 +4953,7 @@ declare namespace Tetrahedron {
|
|
|
4979
4953
|
* @property [moveDuration = 2] - 动画时,上下移动的单程总时长,单位:秒
|
|
4980
4954
|
* @property [rotationAngle = 1] - 动画时,每帧旋转的角度值,单位:度
|
|
4981
4955
|
*/
|
|
4982
|
-
type StyleOptions = {
|
|
4956
|
+
type StyleOptions = any | {
|
|
4983
4957
|
width?: number;
|
|
4984
4958
|
height?: number;
|
|
4985
4959
|
color?: string | Cesium.Color;
|
|
@@ -5006,7 +4980,7 @@ declare class Tetrahedron extends BasePointPrimitive {
|
|
|
5006
4980
|
constructor(options: {
|
|
5007
4981
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
5008
4982
|
modelMatrix?: Cesium.Matrix4;
|
|
5009
|
-
style: Tetrahedron.StyleOptions;
|
|
4983
|
+
style: Tetrahedron.StyleOptions | any;
|
|
5010
4984
|
attr?: any;
|
|
5011
4985
|
id?: string | number;
|
|
5012
4986
|
name?: string;
|
|
@@ -5039,7 +5013,7 @@ declare namespace Video3D {
|
|
|
5039
5013
|
* @property [hiddenAreaColor = new Cesium.Color(0, 0, 0, 0.5)] - 无视频投影区域的颜色
|
|
5040
5014
|
* @property [showFrustum = false] - 是否显示视椎体框线
|
|
5041
5015
|
*/
|
|
5042
|
-
type StyleOptions = {
|
|
5016
|
+
type StyleOptions = any | {
|
|
5043
5017
|
container?: HTMLVideoElement;
|
|
5044
5018
|
url?: string;
|
|
5045
5019
|
maskImage?: string;
|
|
@@ -5071,7 +5045,7 @@ declare class Video3D extends ViewShed {
|
|
|
5071
5045
|
constructor(options: {
|
|
5072
5046
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
5073
5047
|
targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
5074
|
-
style: Video3D.StyleOptions;
|
|
5048
|
+
style: Video3D.StyleOptions | any;
|
|
5075
5049
|
attr?: any;
|
|
5076
5050
|
id?: string | number;
|
|
5077
5051
|
name?: string;
|
|
@@ -5114,7 +5088,7 @@ declare namespace ViewShed {
|
|
|
5114
5088
|
* @property [addHeight] - 在坐标点增加的高度值,规避遮挡,效果更友好
|
|
5115
5089
|
* @property [showFrustum = false] - 是否显示视椎体框线
|
|
5116
5090
|
*/
|
|
5117
|
-
type StyleOptions = {
|
|
5091
|
+
type StyleOptions = any | {
|
|
5118
5092
|
angle?: number;
|
|
5119
5093
|
angle2?: number;
|
|
5120
5094
|
distance?: number;
|
|
@@ -5146,7 +5120,7 @@ declare class ViewShed extends BasePointPrimitive {
|
|
|
5146
5120
|
constructor(options: {
|
|
5147
5121
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
5148
5122
|
targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
5149
|
-
style: ViewShed.StyleOptions;
|
|
5123
|
+
style: ViewShed.StyleOptions | any;
|
|
5150
5124
|
attr?: any;
|
|
5151
5125
|
terrain?: boolean;
|
|
5152
5126
|
id?: string | number;
|
|
@@ -5248,7 +5222,7 @@ declare namespace DivBoderLabel {
|
|
|
5248
5222
|
* @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
|
|
5249
5223
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
5250
5224
|
*/
|
|
5251
|
-
type StyleOptions = {
|
|
5225
|
+
type StyleOptions = any | {
|
|
5252
5226
|
text: string;
|
|
5253
5227
|
font_size?: number;
|
|
5254
5228
|
font_family?: string;
|
|
@@ -5303,19 +5277,19 @@ declare namespace DivBoderLabel {
|
|
|
5303
5277
|
declare class DivBoderLabel extends DivGraphic {
|
|
5304
5278
|
constructor(options: {
|
|
5305
5279
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
5306
|
-
style: DivBoderLabel.StyleOptions;
|
|
5280
|
+
style: DivBoderLabel.StyleOptions | any;
|
|
5307
5281
|
attr?: any;
|
|
5308
5282
|
hasEdit?: boolean;
|
|
5309
|
-
testPoint?: PointEntity.StyleOptions;
|
|
5283
|
+
testPoint?: PointEntity.StyleOptions | any;
|
|
5310
5284
|
pointerEvents?: boolean;
|
|
5311
5285
|
hasZIndex?: boolean;
|
|
5312
5286
|
zIndex?: number | string;
|
|
5313
5287
|
depthTest?: boolean;
|
|
5314
5288
|
hasCache?: boolean;
|
|
5315
5289
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
5316
|
-
popupOptions?: Popup.StyleOptions;
|
|
5290
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
5317
5291
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
5318
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
5292
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
5319
5293
|
contextmenuItems?: any;
|
|
5320
5294
|
id?: string | number;
|
|
5321
5295
|
name?: string;
|
|
@@ -5356,7 +5330,7 @@ declare namespace DivGraphic {
|
|
|
5356
5330
|
* @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
|
|
5357
5331
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
5358
5332
|
*/
|
|
5359
|
-
type StyleOptions = {
|
|
5333
|
+
type StyleOptions = any | {
|
|
5360
5334
|
html: string | HTMLDivElement | ((...params: any[]) => any);
|
|
5361
5335
|
horizontalOrigin?: Cesium.HorizontalOrigin;
|
|
5362
5336
|
verticalOrigin?: Cesium.VerticalOrigin;
|
|
@@ -5466,10 +5440,10 @@ declare namespace DivGraphic {
|
|
|
5466
5440
|
declare class DivGraphic extends BaseGraphic {
|
|
5467
5441
|
constructor(options: {
|
|
5468
5442
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
5469
|
-
style: DivGraphic.StyleOptions;
|
|
5443
|
+
style: DivGraphic.StyleOptions | any;
|
|
5470
5444
|
attr?: any;
|
|
5471
5445
|
hasEdit?: boolean;
|
|
5472
|
-
testPoint?: PointEntity.StyleOptions;
|
|
5446
|
+
testPoint?: PointEntity.StyleOptions | any;
|
|
5473
5447
|
pointerEvents?: boolean;
|
|
5474
5448
|
hasZIndex?: boolean;
|
|
5475
5449
|
zIndex?: number | string;
|
|
@@ -5477,9 +5451,9 @@ declare class DivGraphic extends BaseGraphic {
|
|
|
5477
5451
|
hasCache?: boolean;
|
|
5478
5452
|
parentContainer?: HTMLElement;
|
|
5479
5453
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
5480
|
-
popupOptions?: Popup.StyleOptions;
|
|
5454
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
5481
5455
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
5482
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
5456
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
5483
5457
|
contextmenuItems?: any;
|
|
5484
5458
|
id?: string | number;
|
|
5485
5459
|
name?: string;
|
|
@@ -5660,7 +5634,7 @@ declare namespace DivLightPoint {
|
|
|
5660
5634
|
* @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
|
|
5661
5635
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
5662
5636
|
*/
|
|
5663
|
-
type StyleOptions = {
|
|
5637
|
+
type StyleOptions = any | {
|
|
5664
5638
|
color?: string;
|
|
5665
5639
|
horizontalOrigin?: Cesium.HorizontalOrigin;
|
|
5666
5640
|
verticalOrigin?: Cesium.VerticalOrigin;
|
|
@@ -5709,19 +5683,19 @@ declare namespace DivLightPoint {
|
|
|
5709
5683
|
declare class DivLightPoint extends DivGraphic {
|
|
5710
5684
|
constructor(options: {
|
|
5711
5685
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
5712
|
-
style: DivLightPoint.StyleOptions;
|
|
5686
|
+
style: DivLightPoint.StyleOptions | any;
|
|
5713
5687
|
attr?: any;
|
|
5714
5688
|
hasEdit?: boolean;
|
|
5715
|
-
testPoint?: PointEntity.StyleOptions;
|
|
5689
|
+
testPoint?: PointEntity.StyleOptions | any;
|
|
5716
5690
|
pointerEvents?: boolean;
|
|
5717
5691
|
hasZIndex?: boolean;
|
|
5718
5692
|
zIndex?: number | string;
|
|
5719
5693
|
depthTest?: boolean;
|
|
5720
5694
|
hasCache?: boolean;
|
|
5721
5695
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
5722
|
-
popupOptions?: Popup.StyleOptions;
|
|
5696
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
5723
5697
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
5724
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
5698
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
5725
5699
|
contextmenuItems?: any;
|
|
5726
5700
|
id?: string | number;
|
|
5727
5701
|
name?: string;
|
|
@@ -5765,7 +5739,7 @@ declare namespace DivUpLabel {
|
|
|
5765
5739
|
* @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
|
|
5766
5740
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
5767
5741
|
*/
|
|
5768
|
-
type StyleOptions = {
|
|
5742
|
+
type StyleOptions = any | {
|
|
5769
5743
|
text: string;
|
|
5770
5744
|
color?: string;
|
|
5771
5745
|
font_size?: number;
|
|
@@ -5819,19 +5793,19 @@ declare namespace DivUpLabel {
|
|
|
5819
5793
|
declare class DivUpLabel extends DivGraphic {
|
|
5820
5794
|
constructor(options: {
|
|
5821
5795
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
5822
|
-
style: DivUpLabel.StyleOptions;
|
|
5796
|
+
style: DivUpLabel.StyleOptions | any;
|
|
5823
5797
|
attr?: any;
|
|
5824
5798
|
hasEdit?: boolean;
|
|
5825
|
-
testPoint?: PointEntity.StyleOptions;
|
|
5799
|
+
testPoint?: PointEntity.StyleOptions | any;
|
|
5826
5800
|
pointerEvents?: boolean;
|
|
5827
5801
|
hasZIndex?: boolean;
|
|
5828
5802
|
zIndex?: number | string;
|
|
5829
5803
|
depthTest?: boolean;
|
|
5830
5804
|
hasCache?: boolean;
|
|
5831
5805
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
5832
|
-
popupOptions?: Popup.StyleOptions;
|
|
5806
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
5833
5807
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
5834
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
5808
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
5835
5809
|
contextmenuItems?: any;
|
|
5836
5810
|
id?: string | number;
|
|
5837
5811
|
name?: string;
|
|
@@ -5896,7 +5870,7 @@ declare namespace Popup {
|
|
|
5896
5870
|
* @property [minWidth = 50] - 弹窗的最小宽度,单位为像素
|
|
5897
5871
|
* @property [maxHeight = 550] - 如果设置,如果内容超过此高度时,则在弹出窗口中显示滚动条。
|
|
5898
5872
|
*/
|
|
5899
|
-
type StyleOptions = {
|
|
5873
|
+
type StyleOptions = any | {
|
|
5900
5874
|
html?: string;
|
|
5901
5875
|
template?: string;
|
|
5902
5876
|
horizontalOrigin?: Cesium.HorizontalOrigin;
|
|
@@ -5942,10 +5916,10 @@ declare namespace Popup {
|
|
|
5942
5916
|
declare class Popup extends DivGraphic {
|
|
5943
5917
|
constructor(options: {
|
|
5944
5918
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
5945
|
-
style: Popup.StyleOptions;
|
|
5919
|
+
style: Popup.StyleOptions | any;
|
|
5946
5920
|
attr?: any;
|
|
5947
5921
|
animation?: boolean;
|
|
5948
|
-
testPoint?: PointEntity.StyleOptions;
|
|
5922
|
+
testPoint?: PointEntity.StyleOptions | any;
|
|
5949
5923
|
pointerEvents?: boolean;
|
|
5950
5924
|
hasZIndex?: boolean;
|
|
5951
5925
|
zIndex?: number | string;
|
|
@@ -5966,6 +5940,10 @@ declare class Popup extends DivGraphic {
|
|
|
5966
5940
|
* @returns DIV点对象
|
|
5967
5941
|
*/
|
|
5968
5942
|
static fromDraw(layer: GraphicLayer, options: any): DivGraphic;
|
|
5943
|
+
/**
|
|
5944
|
+
* 位置坐标 (笛卡尔坐标), 赋值时可以传入LatLngPoint对象
|
|
5945
|
+
*/
|
|
5946
|
+
position: Cesium.Cartesian3;
|
|
5969
5947
|
}
|
|
5970
5948
|
|
|
5971
5949
|
declare namespace Tooltip {
|
|
@@ -5991,7 +5969,7 @@ declare namespace Tooltip {
|
|
|
5991
5969
|
* @property [css_transform_origin = 'left bottom 0'] - DIV的 transform-origin css值
|
|
5992
5970
|
* @property [timeRender] - 是否实时刷新全部HTML,此时需要绑定html需传入回调方法。
|
|
5993
5971
|
*/
|
|
5994
|
-
type StyleOptions = {
|
|
5972
|
+
type StyleOptions = any | {
|
|
5995
5973
|
html?: string;
|
|
5996
5974
|
template?: string | boolean;
|
|
5997
5975
|
direction?: string;
|
|
@@ -6033,9 +6011,9 @@ declare namespace Tooltip {
|
|
|
6033
6011
|
declare class Tooltip extends Popup {
|
|
6034
6012
|
constructor(options: {
|
|
6035
6013
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
6036
|
-
style: Tooltip.StyleOptions;
|
|
6014
|
+
style: Tooltip.StyleOptions | any;
|
|
6037
6015
|
attr?: any;
|
|
6038
|
-
testPoint?: PointEntity.StyleOptions;
|
|
6016
|
+
testPoint?: PointEntity.StyleOptions | any;
|
|
6039
6017
|
pointerEvents?: boolean;
|
|
6040
6018
|
hasZIndex?: boolean;
|
|
6041
6019
|
zIndex?: number | string;
|
|
@@ -6160,9 +6138,9 @@ declare class BaseEntity extends BaseGraphic {
|
|
|
6160
6138
|
parent?: Cesium.Entity;
|
|
6161
6139
|
onBeforeCreate?: (...params: any[]) => any;
|
|
6162
6140
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
6163
|
-
popupOptions?: Popup.StyleOptions;
|
|
6141
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
6164
6142
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
6165
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
6143
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
6166
6144
|
contextmenuItems?: any;
|
|
6167
6145
|
id?: string | number;
|
|
6168
6146
|
name?: string;
|
|
@@ -6279,7 +6257,6 @@ declare class BaseEntity extends BaseGraphic {
|
|
|
6279
6257
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
6280
6258
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
6281
6259
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
6282
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
6283
6260
|
* @param [options.entity] - 传入外部已经构造好的Entity对象
|
|
6284
6261
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
6285
6262
|
* @param [options.maxCacheCount = 50] - 当使用addDynamicPosition设置为动画轨迹位置时,保留的坐标点数量
|
|
@@ -6313,7 +6290,6 @@ declare class BasePointEntity extends BaseEntity {
|
|
|
6313
6290
|
parent?: Cesium.Entity;
|
|
6314
6291
|
onBeforeCreate?: (...params: any[]) => any;
|
|
6315
6292
|
drawShow?: boolean;
|
|
6316
|
-
addHeight?: number;
|
|
6317
6293
|
entity?: Cesium.Entity;
|
|
6318
6294
|
hasEdit?: boolean;
|
|
6319
6295
|
maxCacheCount?: number;
|
|
@@ -6325,9 +6301,9 @@ declare class BasePointEntity extends BaseEntity {
|
|
|
6325
6301
|
referenceFrame?: Cesium.ReferenceFrame;
|
|
6326
6302
|
numberOfDerivatives?: number;
|
|
6327
6303
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
6328
|
-
popupOptions?: Popup.StyleOptions;
|
|
6304
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
6329
6305
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
6330
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
6306
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
6331
6307
|
contextmenuItems?: any;
|
|
6332
6308
|
id?: string | number;
|
|
6333
6309
|
name?: string;
|
|
@@ -6434,8 +6410,9 @@ declare class BasePointEntity extends BaseEntity {
|
|
|
6434
6410
|
/**
|
|
6435
6411
|
* 按Cesium.CallbackProperty的方式 更新坐标(更加平滑)
|
|
6436
6412
|
* @param position - 坐标
|
|
6413
|
+
* @returns 当前坐标
|
|
6437
6414
|
*/
|
|
6438
|
-
setCallbackPosition(position: string | any[] | any | Cesium.Cartesian3 | any):
|
|
6415
|
+
setCallbackPosition(position: string | any[] | any | Cesium.Cartesian3 | any): Cesium.Cartesian3;
|
|
6439
6416
|
/**
|
|
6440
6417
|
* 显示隐藏状态
|
|
6441
6418
|
*/
|
|
@@ -6455,7 +6432,6 @@ declare class BasePointEntity extends BaseEntity {
|
|
|
6455
6432
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
6456
6433
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
6457
6434
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
6458
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
6459
6435
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
6460
6436
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
6461
6437
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -6482,14 +6458,13 @@ declare class BasePolyEntity extends BaseEntity {
|
|
|
6482
6458
|
onBeforeCreate?: (...params: any[]) => any;
|
|
6483
6459
|
minPointNum?: number;
|
|
6484
6460
|
maxPointNum?: number;
|
|
6485
|
-
addHeight?: number;
|
|
6486
6461
|
hasEdit?: boolean;
|
|
6487
6462
|
hasMoveEdit?: boolean;
|
|
6488
6463
|
hasHeightEdit?: boolean;
|
|
6489
6464
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
6490
|
-
popupOptions?: Popup.StyleOptions;
|
|
6465
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
6491
6466
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
6492
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
6467
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
6493
6468
|
contextmenuItems?: any;
|
|
6494
6469
|
id?: string | number;
|
|
6495
6470
|
name?: string;
|
|
@@ -6568,20 +6543,19 @@ declare class BasePolyEntity extends BaseEntity {
|
|
|
6568
6543
|
* @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
|
|
6569
6544
|
* @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
6570
6545
|
* @param [options.offset = 0] - 可以按需增加偏移高度(单位:米),便于可视
|
|
6571
|
-
* @
|
|
6572
|
-
* @returns 当前对象本身,可以链式调用
|
|
6546
|
+
* @returns 异步计算完成的Promise
|
|
6573
6547
|
*/
|
|
6574
6548
|
autoSurfaceHeight(options?: {
|
|
6575
6549
|
has3dtiles?: boolean;
|
|
6576
6550
|
objectsToExclude?: any;
|
|
6577
6551
|
offset?: number;
|
|
6578
|
-
|
|
6579
|
-
}): BasePolyEntity;
|
|
6552
|
+
}): Promise<any>;
|
|
6580
6553
|
/**
|
|
6581
6554
|
* 按Cesium.CallbackProperty的方式 更新坐标集合(更加平滑)
|
|
6582
6555
|
* @param positions - 坐标数组
|
|
6556
|
+
* @returns 当前坐标集合
|
|
6583
6557
|
*/
|
|
6584
|
-
setCallbackPositions(positions: string[] | any[][] | LngLatPoint[]):
|
|
6558
|
+
setCallbackPositions(positions: string[] | any[][] | LngLatPoint[]): Cesium.Cartesian3[];
|
|
6585
6559
|
}
|
|
6586
6560
|
|
|
6587
6561
|
declare namespace BillboardEntity {
|
|
@@ -6624,7 +6598,7 @@ declare namespace BillboardEntity {
|
|
|
6624
6598
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
6625
6599
|
* @property [label] - 支持附带文字的显示
|
|
6626
6600
|
*/
|
|
6627
|
-
type StyleOptions = {
|
|
6601
|
+
type StyleOptions = any | {
|
|
6628
6602
|
image?: string | HTMLCanvasElement;
|
|
6629
6603
|
opacity?: number;
|
|
6630
6604
|
scale?: number;
|
|
@@ -6659,8 +6633,8 @@ declare namespace BillboardEntity {
|
|
|
6659
6633
|
imageSubRegion?: Cesium.BoundingRectangle;
|
|
6660
6634
|
setHeight?: number | string;
|
|
6661
6635
|
addHeight?: number | string;
|
|
6662
|
-
highlight?: BillboardEntity.StyleOptions;
|
|
6663
|
-
label?: LabelEntity.StyleOptions;
|
|
6636
|
+
highlight?: BillboardEntity.StyleOptions | any;
|
|
6637
|
+
label?: LabelEntity.StyleOptions | any;
|
|
6664
6638
|
};
|
|
6665
6639
|
}
|
|
6666
6640
|
|
|
@@ -6682,12 +6656,15 @@ declare namespace BillboardEntity {
|
|
|
6682
6656
|
* @param [options.frameRateHeight = 30] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,多少帧计算一次贴模型高度
|
|
6683
6657
|
* @param [options.objectsToExclude] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
6684
6658
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
6685
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
6686
6659
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
6687
6660
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
6688
6661
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
6689
6662
|
* @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
|
|
6690
6663
|
* @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
|
|
6664
|
+
* @param [options.model] - 设置附加的 gltf模型 和对应的样式
|
|
6665
|
+
* @param [options.point] - 设置附加的 像素点 和对应的样式
|
|
6666
|
+
* @param [options.circle] - 设置附加的 圆 和对应的样式
|
|
6667
|
+
* @param [options.path] - 设置附加的 轨迹路线 和对应的样式
|
|
6691
6668
|
* @param [options.id = uuid()] - 矢量数据id标识
|
|
6692
6669
|
* @param [options.name = ''] - 矢量数据名称
|
|
6693
6670
|
* @param [options.show = true] - 矢量数据是否显示
|
|
@@ -6697,7 +6674,7 @@ declare namespace BillboardEntity {
|
|
|
6697
6674
|
declare class BillboardEntity extends BasePointEntity {
|
|
6698
6675
|
constructor(options: {
|
|
6699
6676
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
6700
|
-
style: BillboardEntity.StyleOptions;
|
|
6677
|
+
style: BillboardEntity.StyleOptions | any;
|
|
6701
6678
|
attr?: any;
|
|
6702
6679
|
availability?: Cesium.TimeIntervalCollection;
|
|
6703
6680
|
description?: Cesium.Property | string;
|
|
@@ -6711,12 +6688,15 @@ declare class BillboardEntity extends BasePointEntity {
|
|
|
6711
6688
|
frameRateHeight?: number;
|
|
6712
6689
|
objectsToExclude?: any;
|
|
6713
6690
|
drawShow?: boolean;
|
|
6714
|
-
addHeight?: number;
|
|
6715
6691
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
6716
|
-
popupOptions?: Popup.StyleOptions;
|
|
6692
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
6717
6693
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
6718
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
6694
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
6719
6695
|
contextmenuItems?: any;
|
|
6696
|
+
model?: ModelEntity.StyleOptions | any | any;
|
|
6697
|
+
point?: PointEntity.StyleOptions | any | any;
|
|
6698
|
+
circle?: CircleEntity.StyleOptions | any | any;
|
|
6699
|
+
path?: PathEntity.StyleOptions | any | any;
|
|
6720
6700
|
id?: string | number;
|
|
6721
6701
|
name?: string;
|
|
6722
6702
|
show?: boolean;
|
|
@@ -6796,7 +6776,7 @@ declare namespace BoxEntity {
|
|
|
6796
6776
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
6797
6777
|
* @property [label] - 支持附带文字的显示
|
|
6798
6778
|
*/
|
|
6799
|
-
type StyleOptions = {
|
|
6779
|
+
type StyleOptions = any | {
|
|
6800
6780
|
dimensions?: Cesium.Cartesian3 | Cesium.Property;
|
|
6801
6781
|
dimensions_x?: number;
|
|
6802
6782
|
dimensions_y?: number;
|
|
@@ -6823,8 +6803,8 @@ declare namespace BoxEntity {
|
|
|
6823
6803
|
heightReference?: Cesium.HeightReference;
|
|
6824
6804
|
setHeight?: number | string;
|
|
6825
6805
|
addHeight?: number | string;
|
|
6826
|
-
highlight?: BoxEntity.StyleOptions;
|
|
6827
|
-
label?: LabelEntity.StyleOptions;
|
|
6806
|
+
highlight?: BoxEntity.StyleOptions | any;
|
|
6807
|
+
label?: LabelEntity.StyleOptions | any;
|
|
6828
6808
|
};
|
|
6829
6809
|
}
|
|
6830
6810
|
|
|
@@ -6841,7 +6821,6 @@ declare namespace BoxEntity {
|
|
|
6841
6821
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
6842
6822
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
6843
6823
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
6844
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
6845
6824
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
6846
6825
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
6847
6826
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -6856,7 +6835,7 @@ declare namespace BoxEntity {
|
|
|
6856
6835
|
declare class BoxEntity extends BasePointEntity {
|
|
6857
6836
|
constructor(options: {
|
|
6858
6837
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
6859
|
-
style: BoxEntity.StyleOptions;
|
|
6838
|
+
style: BoxEntity.StyleOptions | any;
|
|
6860
6839
|
attr?: any;
|
|
6861
6840
|
orientation?: Cesium.Property;
|
|
6862
6841
|
availability?: Cesium.TimeIntervalCollection;
|
|
@@ -6865,11 +6844,10 @@ declare class BoxEntity extends BasePointEntity {
|
|
|
6865
6844
|
parent?: Cesium.Entity;
|
|
6866
6845
|
onBeforeCreate?: (...params: any[]) => any;
|
|
6867
6846
|
drawShow?: boolean;
|
|
6868
|
-
addHeight?: number;
|
|
6869
6847
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
6870
|
-
popupOptions?: Popup.StyleOptions;
|
|
6848
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
6871
6849
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
6872
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
6850
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
6873
6851
|
contextmenuItems?: any;
|
|
6874
6852
|
id?: string | number;
|
|
6875
6853
|
name?: string;
|
|
@@ -6938,7 +6916,7 @@ declare namespace CanvasLabelEntity {
|
|
|
6938
6916
|
* @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
|
|
6939
6917
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
6940
6918
|
*/
|
|
6941
|
-
type StyleOptions = {
|
|
6919
|
+
type StyleOptions = any | {
|
|
6942
6920
|
text?: string;
|
|
6943
6921
|
scale?: number;
|
|
6944
6922
|
horizontalOrigin?: Cesium.HorizontalOrigin;
|
|
@@ -6994,7 +6972,6 @@ declare namespace CanvasLabelEntity {
|
|
|
6994
6972
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
6995
6973
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
6996
6974
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
6997
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
6998
6975
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
6999
6976
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
7000
6977
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -7009,7 +6986,7 @@ declare namespace CanvasLabelEntity {
|
|
|
7009
6986
|
declare class CanvasLabelEntity extends BasePointEntity {
|
|
7010
6987
|
constructor(options: {
|
|
7011
6988
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
7012
|
-
style: CanvasLabelEntity.StyleOptions;
|
|
6989
|
+
style: CanvasLabelEntity.StyleOptions | any;
|
|
7013
6990
|
attr?: any;
|
|
7014
6991
|
availability?: Cesium.TimeIntervalCollection;
|
|
7015
6992
|
description?: Cesium.Property | string;
|
|
@@ -7017,11 +6994,10 @@ declare class CanvasLabelEntity extends BasePointEntity {
|
|
|
7017
6994
|
parent?: Cesium.Entity;
|
|
7018
6995
|
onBeforeCreate?: (...params: any[]) => any;
|
|
7019
6996
|
drawShow?: boolean;
|
|
7020
|
-
addHeight?: number;
|
|
7021
6997
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
7022
|
-
popupOptions?: Popup.StyleOptions;
|
|
6998
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
7023
6999
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
7024
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
7000
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
7025
7001
|
contextmenuItems?: any;
|
|
7026
7002
|
id?: string | number;
|
|
7027
7003
|
name?: string;
|
|
@@ -7076,7 +7052,7 @@ declare namespace CircleEntity {
|
|
|
7076
7052
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
7077
7053
|
* @property [label] - 支持附带文字的显示
|
|
7078
7054
|
*/
|
|
7079
|
-
type StyleOptions = {
|
|
7055
|
+
type StyleOptions = any | {
|
|
7080
7056
|
radius?: number;
|
|
7081
7057
|
height?: number;
|
|
7082
7058
|
heightReference?: Cesium.HeightReference;
|
|
@@ -7093,7 +7069,7 @@ declare namespace CircleEntity {
|
|
|
7093
7069
|
outlineWidth?: number;
|
|
7094
7070
|
outlineColor?: string | Cesium.Color;
|
|
7095
7071
|
outlineOpacity?: number;
|
|
7096
|
-
outlineStyle?: PolylineEntity.StyleOptions;
|
|
7072
|
+
outlineStyle?: PolylineEntity.StyleOptions | any;
|
|
7097
7073
|
rotation?: number | Cesium.Property;
|
|
7098
7074
|
rotationDegree?: number;
|
|
7099
7075
|
stRotation?: number | Cesium.Property;
|
|
@@ -7109,8 +7085,8 @@ declare namespace CircleEntity {
|
|
|
7109
7085
|
classificationType?: Cesium.ClassificationType;
|
|
7110
7086
|
zIndex?: number;
|
|
7111
7087
|
addHeight?: number | string;
|
|
7112
|
-
highlight?: CircleEntity.StyleOptions;
|
|
7113
|
-
label?: LabelEntity.StyleOptions;
|
|
7088
|
+
highlight?: CircleEntity.StyleOptions | any;
|
|
7089
|
+
label?: LabelEntity.StyleOptions | any;
|
|
7114
7090
|
};
|
|
7115
7091
|
}
|
|
7116
7092
|
|
|
@@ -7127,7 +7103,6 @@ declare namespace CircleEntity {
|
|
|
7127
7103
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
7128
7104
|
* @param [options.drawShowRadius = true] - 绘制时,是否显示圆的半径。
|
|
7129
7105
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
7130
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
7131
7106
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
7132
7107
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
7133
7108
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -7142,7 +7117,7 @@ declare namespace CircleEntity {
|
|
|
7142
7117
|
declare class CircleEntity extends BasePointEntity {
|
|
7143
7118
|
constructor(options: {
|
|
7144
7119
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
7145
|
-
style: CircleEntity.StyleOptions;
|
|
7120
|
+
style: CircleEntity.StyleOptions | any;
|
|
7146
7121
|
attr?: any;
|
|
7147
7122
|
availability?: Cesium.TimeIntervalCollection;
|
|
7148
7123
|
description?: Cesium.Property | string;
|
|
@@ -7151,11 +7126,10 @@ declare class CircleEntity extends BasePointEntity {
|
|
|
7151
7126
|
onBeforeCreate?: (...params: any[]) => any;
|
|
7152
7127
|
drawShowRadius?: boolean;
|
|
7153
7128
|
drawShow?: boolean;
|
|
7154
|
-
addHeight?: number;
|
|
7155
7129
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
7156
|
-
popupOptions?: Popup.StyleOptions;
|
|
7130
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
7157
7131
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
7158
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
7132
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
7159
7133
|
contextmenuItems?: any;
|
|
7160
7134
|
id?: string | number;
|
|
7161
7135
|
name?: string;
|
|
@@ -7318,7 +7292,7 @@ declare namespace ConeTrack {
|
|
|
7318
7292
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
7319
7293
|
* @property [label] - 支持附带文字的显示
|
|
7320
7294
|
*/
|
|
7321
|
-
type StyleOptions = {
|
|
7295
|
+
type StyleOptions = any | {
|
|
7322
7296
|
angle?: number;
|
|
7323
7297
|
bottomRadius?: number;
|
|
7324
7298
|
length?: number;
|
|
@@ -7345,8 +7319,8 @@ declare namespace ConeTrack {
|
|
|
7345
7319
|
heightReference?: Cesium.HeightReference;
|
|
7346
7320
|
setHeight?: number | string;
|
|
7347
7321
|
addHeight?: number | string;
|
|
7348
|
-
highlight?: CylinderEntity.StyleOptions;
|
|
7349
|
-
label?: LabelEntity.StyleOptions;
|
|
7322
|
+
highlight?: CylinderEntity.StyleOptions | any;
|
|
7323
|
+
label?: LabelEntity.StyleOptions | any;
|
|
7350
7324
|
};
|
|
7351
7325
|
}
|
|
7352
7326
|
|
|
@@ -7377,7 +7351,7 @@ declare class ConeTrack extends CylinderEntity {
|
|
|
7377
7351
|
constructor(options: {
|
|
7378
7352
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
7379
7353
|
targetPosition?: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
7380
|
-
style: ConeTrack.StyleOptions;
|
|
7354
|
+
style: ConeTrack.StyleOptions | any;
|
|
7381
7355
|
attr?: any;
|
|
7382
7356
|
availability?: Cesium.TimeIntervalCollection;
|
|
7383
7357
|
description?: Cesium.Property | string;
|
|
@@ -7385,9 +7359,9 @@ declare class ConeTrack extends CylinderEntity {
|
|
|
7385
7359
|
parent?: Cesium.Entity;
|
|
7386
7360
|
onBeforeCreate?: (...params: any[]) => any;
|
|
7387
7361
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
7388
|
-
popupOptions?: Popup.StyleOptions;
|
|
7362
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
7389
7363
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
7390
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
7364
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
7391
7365
|
contextmenuItems?: any;
|
|
7392
7366
|
id?: string | number;
|
|
7393
7367
|
name?: string;
|
|
@@ -7470,7 +7444,7 @@ declare namespace CorridorEntity {
|
|
|
7470
7444
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
7471
7445
|
* @property [label] - 支持附带文字的显示
|
|
7472
7446
|
*/
|
|
7473
|
-
type StyleOptions = {
|
|
7447
|
+
type StyleOptions = any | {
|
|
7474
7448
|
width?: number;
|
|
7475
7449
|
cornerType?: string | Cesium.CornerType;
|
|
7476
7450
|
height?: number | Cesium.Property;
|
|
@@ -7499,8 +7473,8 @@ declare namespace CorridorEntity {
|
|
|
7499
7473
|
zIndex?: number;
|
|
7500
7474
|
setHeight?: number | string;
|
|
7501
7475
|
addHeight?: number | string;
|
|
7502
|
-
highlight?: CorridorEntity.StyleOptions;
|
|
7503
|
-
label?: LabelEntity.StyleOptions;
|
|
7476
|
+
highlight?: CorridorEntity.StyleOptions | any;
|
|
7477
|
+
label?: LabelEntity.StyleOptions | any;
|
|
7504
7478
|
};
|
|
7505
7479
|
}
|
|
7506
7480
|
|
|
@@ -7517,7 +7491,6 @@ declare namespace CorridorEntity {
|
|
|
7517
7491
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
7518
7492
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
7519
7493
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
7520
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
7521
7494
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
7522
7495
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
7523
7496
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -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;
|
|
@@ -7544,14 +7517,13 @@ declare class CorridorEntity extends BasePolyEntity {
|
|
|
7544
7517
|
onBeforeCreate?: (...params: any[]) => any;
|
|
7545
7518
|
minPointNum?: number;
|
|
7546
7519
|
maxPointNum?: number;
|
|
7547
|
-
addHeight?: number;
|
|
7548
7520
|
hasEdit?: boolean;
|
|
7549
7521
|
hasMoveEdit?: boolean;
|
|
7550
7522
|
hasHeightEdit?: boolean;
|
|
7551
7523
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
7552
|
-
popupOptions?: Popup.StyleOptions;
|
|
7524
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
7553
7525
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
7554
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
7526
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
7555
7527
|
contextmenuItems?: any;
|
|
7556
7528
|
id?: string | number;
|
|
7557
7529
|
name?: string;
|
|
@@ -7593,7 +7565,6 @@ declare class CorridorEntity extends BasePolyEntity {
|
|
|
7593
7565
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
7594
7566
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
7595
7567
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
7596
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
7597
7568
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
7598
7569
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
7599
7570
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -7611,7 +7582,7 @@ declare class CorridorEntity extends BasePolyEntity {
|
|
|
7611
7582
|
declare class CurveEntity extends PolylineEntity {
|
|
7612
7583
|
constructor(options: {
|
|
7613
7584
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
7614
|
-
style: PolylineEntity.StyleOptions;
|
|
7585
|
+
style: PolylineEntity.StyleOptions | any;
|
|
7615
7586
|
attr?: any;
|
|
7616
7587
|
availability?: Cesium.TimeIntervalCollection;
|
|
7617
7588
|
description?: Cesium.Property | string;
|
|
@@ -7620,14 +7591,13 @@ declare class CurveEntity extends PolylineEntity {
|
|
|
7620
7591
|
onBeforeCreate?: (...params: any[]) => any;
|
|
7621
7592
|
minPointNum?: number;
|
|
7622
7593
|
maxPointNum?: number;
|
|
7623
|
-
addHeight?: number;
|
|
7624
7594
|
hasEdit?: boolean;
|
|
7625
7595
|
hasMoveEdit?: boolean;
|
|
7626
7596
|
hasHeightEdit?: boolean;
|
|
7627
7597
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
7628
|
-
popupOptions?: Popup.StyleOptions;
|
|
7598
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
7629
7599
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
7630
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
7600
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
7631
7601
|
contextmenuItems?: any;
|
|
7632
7602
|
id?: string | number;
|
|
7633
7603
|
name?: string;
|
|
@@ -7676,7 +7646,7 @@ declare namespace CylinderEntity {
|
|
|
7676
7646
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
7677
7647
|
* @property [label] - 支持附带文字的显示
|
|
7678
7648
|
*/
|
|
7679
|
-
type StyleOptions = {
|
|
7649
|
+
type StyleOptions = any | {
|
|
7680
7650
|
topRadius?: number;
|
|
7681
7651
|
bottomRadius?: number;
|
|
7682
7652
|
length?: number;
|
|
@@ -7703,8 +7673,8 @@ declare namespace CylinderEntity {
|
|
|
7703
7673
|
heightReference?: Cesium.HeightReference;
|
|
7704
7674
|
setHeight?: number | string;
|
|
7705
7675
|
addHeight?: number | string;
|
|
7706
|
-
highlight?: CylinderEntity.StyleOptions;
|
|
7707
|
-
label?: LabelEntity.StyleOptions;
|
|
7676
|
+
highlight?: CylinderEntity.StyleOptions | any;
|
|
7677
|
+
label?: LabelEntity.StyleOptions | any;
|
|
7708
7678
|
};
|
|
7709
7679
|
}
|
|
7710
7680
|
|
|
@@ -7721,7 +7691,6 @@ declare namespace CylinderEntity {
|
|
|
7721
7691
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
7722
7692
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
7723
7693
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
7724
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
7725
7694
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
7726
7695
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
7727
7696
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -7736,7 +7705,7 @@ declare namespace CylinderEntity {
|
|
|
7736
7705
|
declare class CylinderEntity extends BasePointEntity {
|
|
7737
7706
|
constructor(options: {
|
|
7738
7707
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
7739
|
-
style: CylinderEntity.StyleOptions;
|
|
7708
|
+
style: CylinderEntity.StyleOptions | any;
|
|
7740
7709
|
attr?: any;
|
|
7741
7710
|
orientation?: Cesium.Property;
|
|
7742
7711
|
availability?: Cesium.TimeIntervalCollection;
|
|
@@ -7745,11 +7714,10 @@ declare class CylinderEntity extends BasePointEntity {
|
|
|
7745
7714
|
parent?: Cesium.Entity;
|
|
7746
7715
|
onBeforeCreate?: (...params: any[]) => any;
|
|
7747
7716
|
drawShow?: boolean;
|
|
7748
|
-
addHeight?: number;
|
|
7749
7717
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
7750
|
-
popupOptions?: Popup.StyleOptions;
|
|
7718
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
7751
7719
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
7752
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
7720
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
7753
7721
|
contextmenuItems?: any;
|
|
7754
7722
|
id?: string | number;
|
|
7755
7723
|
name?: string;
|
|
@@ -7818,7 +7786,7 @@ declare namespace DivBillboardEntity {
|
|
|
7818
7786
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
7819
7787
|
* @property [label] - 支持附带文字的显示
|
|
7820
7788
|
*/
|
|
7821
|
-
type StyleOptions = {
|
|
7789
|
+
type StyleOptions = any | {
|
|
7822
7790
|
html: string;
|
|
7823
7791
|
opacity?: number;
|
|
7824
7792
|
scale?: number;
|
|
@@ -7853,8 +7821,8 @@ declare namespace DivBillboardEntity {
|
|
|
7853
7821
|
imageSubRegion?: Cesium.BoundingRectangle;
|
|
7854
7822
|
setHeight?: number | string;
|
|
7855
7823
|
addHeight?: number | string;
|
|
7856
|
-
highlight?: BillboardEntity.StyleOptions;
|
|
7857
|
-
label?: LabelEntity.StyleOptions;
|
|
7824
|
+
highlight?: BillboardEntity.StyleOptions | any;
|
|
7825
|
+
label?: LabelEntity.StyleOptions | any;
|
|
7858
7826
|
};
|
|
7859
7827
|
}
|
|
7860
7828
|
|
|
@@ -7871,7 +7839,6 @@ declare namespace DivBillboardEntity {
|
|
|
7871
7839
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
7872
7840
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
7873
7841
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
7874
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
7875
7842
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
7876
7843
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
7877
7844
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -7886,7 +7853,7 @@ declare namespace DivBillboardEntity {
|
|
|
7886
7853
|
declare class DivBillboardEntity extends BillboardEntity {
|
|
7887
7854
|
constructor(options: {
|
|
7888
7855
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
7889
|
-
style: DivBillboardEntity.StyleOptions;
|
|
7856
|
+
style: DivBillboardEntity.StyleOptions | any;
|
|
7890
7857
|
attr?: any;
|
|
7891
7858
|
availability?: Cesium.TimeIntervalCollection;
|
|
7892
7859
|
description?: Cesium.Property | string;
|
|
@@ -7894,11 +7861,10 @@ declare class DivBillboardEntity extends BillboardEntity {
|
|
|
7894
7861
|
parent?: Cesium.Entity;
|
|
7895
7862
|
onBeforeCreate?: (...params: any[]) => any;
|
|
7896
7863
|
drawShow?: boolean;
|
|
7897
|
-
addHeight?: number;
|
|
7898
7864
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
7899
|
-
popupOptions?: Popup.StyleOptions;
|
|
7865
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
7900
7866
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
7901
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
7867
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
7902
7868
|
contextmenuItems?: any;
|
|
7903
7869
|
id?: string | number;
|
|
7904
7870
|
name?: string;
|
|
@@ -8057,7 +8023,7 @@ declare namespace EllipseEntity {
|
|
|
8057
8023
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
8058
8024
|
* @property [label] - 支持附带文字的显示
|
|
8059
8025
|
*/
|
|
8060
|
-
type StyleOptions = {
|
|
8026
|
+
type StyleOptions = any | {
|
|
8061
8027
|
semiMinorAxis?: number | Cesium.Property;
|
|
8062
8028
|
semiMajorAxis?: number | Cesium.Property;
|
|
8063
8029
|
height?: number;
|
|
@@ -8075,7 +8041,7 @@ declare namespace EllipseEntity {
|
|
|
8075
8041
|
outlineWidth?: number;
|
|
8076
8042
|
outlineColor?: string | Cesium.Color;
|
|
8077
8043
|
outlineOpacity?: number;
|
|
8078
|
-
outlineStyle?: PolylineEntity.StyleOptions;
|
|
8044
|
+
outlineStyle?: PolylineEntity.StyleOptions | any;
|
|
8079
8045
|
rotation?: number;
|
|
8080
8046
|
rotationDegree?: number;
|
|
8081
8047
|
stRotation?: number;
|
|
@@ -8091,8 +8057,8 @@ declare namespace EllipseEntity {
|
|
|
8091
8057
|
classificationType?: Cesium.ClassificationType;
|
|
8092
8058
|
zIndex?: number;
|
|
8093
8059
|
addHeight?: number | string;
|
|
8094
|
-
highlight?: CircleEntity.StyleOptions;
|
|
8095
|
-
label?: LabelEntity.StyleOptions;
|
|
8060
|
+
highlight?: CircleEntity.StyleOptions | any;
|
|
8061
|
+
label?: LabelEntity.StyleOptions | any;
|
|
8096
8062
|
};
|
|
8097
8063
|
}
|
|
8098
8064
|
|
|
@@ -8108,7 +8074,6 @@ declare namespace EllipseEntity {
|
|
|
8108
8074
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
8109
8075
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
8110
8076
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
8111
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
8112
8077
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
8113
8078
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
8114
8079
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -8123,7 +8088,7 @@ declare namespace EllipseEntity {
|
|
|
8123
8088
|
declare class EllipseEntity extends CircleEntity {
|
|
8124
8089
|
constructor(options: {
|
|
8125
8090
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
8126
|
-
style: EllipseEntity.StyleOptions;
|
|
8091
|
+
style: EllipseEntity.StyleOptions | any;
|
|
8127
8092
|
attr?: any;
|
|
8128
8093
|
availability?: Cesium.TimeIntervalCollection;
|
|
8129
8094
|
description?: Cesium.Property | string;
|
|
@@ -8131,11 +8096,10 @@ declare class EllipseEntity extends CircleEntity {
|
|
|
8131
8096
|
parent?: Cesium.Entity;
|
|
8132
8097
|
onBeforeCreate?: (...params: any[]) => any;
|
|
8133
8098
|
drawShow?: boolean;
|
|
8134
|
-
addHeight?: number;
|
|
8135
8099
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
8136
|
-
popupOptions?: Popup.StyleOptions;
|
|
8100
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
8137
8101
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
8138
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
8102
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
8139
8103
|
contextmenuItems?: any;
|
|
8140
8104
|
id?: string | number;
|
|
8141
8105
|
name?: string;
|
|
@@ -8198,7 +8162,7 @@ declare namespace EllipsoidEntity {
|
|
|
8198
8162
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
8199
8163
|
* @property [label] - 支持附带文字的显示
|
|
8200
8164
|
*/
|
|
8201
|
-
type StyleOptions = {
|
|
8165
|
+
type StyleOptions = any | {
|
|
8202
8166
|
radii?: Cesium.Cartesian3;
|
|
8203
8167
|
radii_x?: number;
|
|
8204
8168
|
radii_y?: number;
|
|
@@ -8239,8 +8203,8 @@ declare namespace EllipsoidEntity {
|
|
|
8239
8203
|
shadows?: Cesium.ShadowMode;
|
|
8240
8204
|
setHeight?: number | string;
|
|
8241
8205
|
addHeight?: number | string;
|
|
8242
|
-
highlight?: EllipsoidEntity.StyleOptions;
|
|
8243
|
-
label?: LabelEntity.StyleOptions;
|
|
8206
|
+
highlight?: EllipsoidEntity.StyleOptions | any;
|
|
8207
|
+
label?: LabelEntity.StyleOptions | any;
|
|
8244
8208
|
};
|
|
8245
8209
|
/**
|
|
8246
8210
|
* 动态扫描面 参数
|
|
@@ -8253,7 +8217,7 @@ declare namespace EllipsoidEntity {
|
|
|
8253
8217
|
planeOptions: {
|
|
8254
8218
|
type?: string;
|
|
8255
8219
|
step?: number;
|
|
8256
|
-
style?: EllipsoidEntity.StyleOptions;
|
|
8220
|
+
style?: EllipsoidEntity.StyleOptions | any;
|
|
8257
8221
|
};
|
|
8258
8222
|
};
|
|
8259
8223
|
}
|
|
@@ -8272,7 +8236,6 @@ declare namespace EllipsoidEntity {
|
|
|
8272
8236
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
8273
8237
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
8274
8238
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
8275
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
8276
8239
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
8277
8240
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
8278
8241
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -8287,7 +8250,7 @@ declare namespace EllipsoidEntity {
|
|
|
8287
8250
|
declare class EllipsoidEntity extends BasePointEntity {
|
|
8288
8251
|
constructor(options: {
|
|
8289
8252
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
8290
|
-
style: EllipsoidEntity.StyleOptions;
|
|
8253
|
+
style: EllipsoidEntity.StyleOptions | any;
|
|
8291
8254
|
attr?: any;
|
|
8292
8255
|
orientation?: Cesium.Property;
|
|
8293
8256
|
scanPlane: EllipsoidEntity.ScanPlaneOptions | EllipsoidEntity.ScanPlaneOptions[];
|
|
@@ -8297,11 +8260,10 @@ declare class EllipsoidEntity extends BasePointEntity {
|
|
|
8297
8260
|
parent?: Cesium.Entity;
|
|
8298
8261
|
onBeforeCreate?: (...params: any[]) => any;
|
|
8299
8262
|
drawShow?: boolean;
|
|
8300
|
-
addHeight?: number;
|
|
8301
8263
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
8302
|
-
popupOptions?: Popup.StyleOptions;
|
|
8264
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
8303
8265
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
8304
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
8266
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
8305
8267
|
contextmenuItems?: any;
|
|
8306
8268
|
id?: string | number;
|
|
8307
8269
|
name?: string;
|
|
@@ -8388,7 +8350,7 @@ declare namespace FontBillboardEntity {
|
|
|
8388
8350
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
8389
8351
|
* @property [label] - 支持附带文字的显示
|
|
8390
8352
|
*/
|
|
8391
|
-
type StyleOptions = {
|
|
8353
|
+
type StyleOptions = any | {
|
|
8392
8354
|
iconClass?: string;
|
|
8393
8355
|
iconSize?: number;
|
|
8394
8356
|
color?: string;
|
|
@@ -8424,8 +8386,8 @@ declare namespace FontBillboardEntity {
|
|
|
8424
8386
|
imageSubRegion?: Cesium.BoundingRectangle;
|
|
8425
8387
|
setHeight?: number | string;
|
|
8426
8388
|
addHeight?: number | string;
|
|
8427
|
-
highlight?: BillboardEntity.StyleOptions;
|
|
8428
|
-
label?: LabelEntity.StyleOptions;
|
|
8389
|
+
highlight?: BillboardEntity.StyleOptions | any;
|
|
8390
|
+
label?: LabelEntity.StyleOptions | any;
|
|
8429
8391
|
};
|
|
8430
8392
|
}
|
|
8431
8393
|
|
|
@@ -8442,7 +8404,6 @@ declare namespace FontBillboardEntity {
|
|
|
8442
8404
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
8443
8405
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
8444
8406
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
8445
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
8446
8407
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
8447
8408
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
8448
8409
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -8457,7 +8418,7 @@ declare namespace FontBillboardEntity {
|
|
|
8457
8418
|
declare class FontBillboardEntity extends BasePointEntity {
|
|
8458
8419
|
constructor(options: {
|
|
8459
8420
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
8460
|
-
style: FontBillboardEntity.StyleOptions;
|
|
8421
|
+
style: FontBillboardEntity.StyleOptions | any;
|
|
8461
8422
|
attr?: any;
|
|
8462
8423
|
availability?: Cesium.TimeIntervalCollection;
|
|
8463
8424
|
description?: Cesium.Property | string;
|
|
@@ -8465,11 +8426,10 @@ declare class FontBillboardEntity extends BasePointEntity {
|
|
|
8465
8426
|
parent?: Cesium.Entity;
|
|
8466
8427
|
onBeforeCreate?: (...params: any[]) => any;
|
|
8467
8428
|
drawShow?: boolean;
|
|
8468
|
-
addHeight?: number;
|
|
8469
8429
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
8470
|
-
popupOptions?: Popup.StyleOptions;
|
|
8430
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
8471
8431
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
8472
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
8432
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
8473
8433
|
contextmenuItems?: any;
|
|
8474
8434
|
id?: string | number;
|
|
8475
8435
|
name?: string;
|
|
@@ -8531,7 +8491,7 @@ declare namespace LabelEntity {
|
|
|
8531
8491
|
* @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
|
|
8532
8492
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
8533
8493
|
*/
|
|
8534
|
-
type StyleOptions = {
|
|
8494
|
+
type StyleOptions = any | {
|
|
8535
8495
|
text?: string;
|
|
8536
8496
|
scale?: number;
|
|
8537
8497
|
horizontalOrigin?: Cesium.HorizontalOrigin;
|
|
@@ -8588,7 +8548,6 @@ declare namespace LabelEntity {
|
|
|
8588
8548
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
8589
8549
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
8590
8550
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
8591
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
8592
8551
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
8593
8552
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
8594
8553
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -8603,7 +8562,7 @@ declare namespace LabelEntity {
|
|
|
8603
8562
|
declare class LabelEntity extends BasePointEntity {
|
|
8604
8563
|
constructor(options: {
|
|
8605
8564
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
8606
|
-
style: LabelEntity.StyleOptions;
|
|
8565
|
+
style: LabelEntity.StyleOptions | any;
|
|
8607
8566
|
attr?: any;
|
|
8608
8567
|
availability?: Cesium.TimeIntervalCollection;
|
|
8609
8568
|
description?: Cesium.Property | string;
|
|
@@ -8611,11 +8570,10 @@ declare class LabelEntity extends BasePointEntity {
|
|
|
8611
8570
|
parent?: Cesium.Entity;
|
|
8612
8571
|
onBeforeCreate?: (...params: any[]) => any;
|
|
8613
8572
|
drawShow?: boolean;
|
|
8614
|
-
addHeight?: number;
|
|
8615
8573
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
8616
|
-
popupOptions?: Popup.StyleOptions;
|
|
8574
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
8617
8575
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
8618
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
8576
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
8619
8577
|
contextmenuItems?: any;
|
|
8620
8578
|
id?: string | number;
|
|
8621
8579
|
name?: string;
|
|
@@ -8705,7 +8663,7 @@ declare namespace ModelEntity {
|
|
|
8705
8663
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
8706
8664
|
* @property [label] - 支持附带文字的显示
|
|
8707
8665
|
*/
|
|
8708
|
-
type StyleOptions = {
|
|
8666
|
+
type StyleOptions = any | {
|
|
8709
8667
|
url?: string | Cesium.Resource;
|
|
8710
8668
|
scale?: number;
|
|
8711
8669
|
heading?: number;
|
|
@@ -8727,8 +8685,8 @@ declare namespace ModelEntity {
|
|
|
8727
8685
|
distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
|
|
8728
8686
|
distanceDisplayCondition_near?: number;
|
|
8729
8687
|
distanceDisplayCondition_far?: number;
|
|
8730
|
-
distanceDisplayPoint?: PointEntity.StyleOptions;
|
|
8731
|
-
distanceDisplayBillboard?: BillboardEntity.StyleOptions;
|
|
8688
|
+
distanceDisplayPoint?: PointEntity.StyleOptions | any;
|
|
8689
|
+
distanceDisplayBillboard?: BillboardEntity.StyleOptions | any;
|
|
8732
8690
|
hasShadows?: boolean;
|
|
8733
8691
|
shadows?: Cesium.ShadowMode;
|
|
8734
8692
|
clampToGround?: boolean;
|
|
@@ -8747,8 +8705,8 @@ declare namespace ModelEntity {
|
|
|
8747
8705
|
clippingPlanes?: Cesium.ClippingPlaneCollection;
|
|
8748
8706
|
setHeight?: number | string;
|
|
8749
8707
|
addHeight?: number | string;
|
|
8750
|
-
highlight?: ModelEntity.StyleOptions;
|
|
8751
|
-
label?: LabelEntity.StyleOptions;
|
|
8708
|
+
highlight?: ModelEntity.StyleOptions | any;
|
|
8709
|
+
label?: LabelEntity.StyleOptions | any;
|
|
8752
8710
|
};
|
|
8753
8711
|
/**
|
|
8754
8712
|
* 当前类支持的{@link EventType}事件类型
|
|
@@ -8809,12 +8767,15 @@ declare namespace ModelEntity {
|
|
|
8809
8767
|
* @param [options.referenceFrame = Cesium.ReferenceFrame.FIXED] - 当使用addDynamicPosition设置为动画轨迹位置时,position位置被定义的参考系。
|
|
8810
8768
|
* @param [options.numberOfDerivatives = 0] - 当使用addDynamicPosition设置为动画轨迹位置时,每个位置的导数的数量;即速度、加速度等。
|
|
8811
8769
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
8812
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
8813
8770
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
8814
8771
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
8815
8772
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
8816
8773
|
* @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
|
|
8817
8774
|
* @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
|
|
8775
|
+
* @param [options.billboard] - 设置附加的 图标 和对应的样式。
|
|
8776
|
+
* @param [options.point] - 设置附加的 像素点 和对应的样式
|
|
8777
|
+
* @param [options.circle] - 设置附加的 圆 和对应的样式
|
|
8778
|
+
* @param [options.path] - 设置附加的 轨迹路线 和对应的样式
|
|
8818
8779
|
* @param [options.id = uuid()] - 矢量数据id标识
|
|
8819
8780
|
* @param [options.name = ''] - 矢量数据名称
|
|
8820
8781
|
* @param [options.show = true] - 矢量数据是否显示
|
|
@@ -8824,7 +8785,7 @@ declare namespace ModelEntity {
|
|
|
8824
8785
|
declare class ModelEntity extends BasePointEntity {
|
|
8825
8786
|
constructor(options: {
|
|
8826
8787
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
8827
|
-
style: ModelEntity.StyleOptions;
|
|
8788
|
+
style: ModelEntity.StyleOptions | any;
|
|
8828
8789
|
attr?: any;
|
|
8829
8790
|
orientation?: Cesium.Property;
|
|
8830
8791
|
availability?: Cesium.TimeIntervalCollection;
|
|
@@ -8841,12 +8802,15 @@ declare class ModelEntity extends BasePointEntity {
|
|
|
8841
8802
|
referenceFrame?: Cesium.ReferenceFrame;
|
|
8842
8803
|
numberOfDerivatives?: number;
|
|
8843
8804
|
drawShow?: boolean;
|
|
8844
|
-
addHeight?: number;
|
|
8845
8805
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
8846
|
-
popupOptions?: Popup.StyleOptions;
|
|
8806
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
8847
8807
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
8848
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
8808
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
8849
8809
|
contextmenuItems?: any;
|
|
8810
|
+
billboard?: BillboardEntity.StyleOptions | any | any;
|
|
8811
|
+
point?: PointEntity.StyleOptions | any | any;
|
|
8812
|
+
circle?: CircleEntity.StyleOptions | any | any;
|
|
8813
|
+
path?: PathEntity.StyleOptions | any | any;
|
|
8850
8814
|
id?: string | number;
|
|
8851
8815
|
name?: string;
|
|
8852
8816
|
show?: boolean;
|
|
@@ -8978,7 +8942,7 @@ declare namespace PathEntity {
|
|
|
8978
8942
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
8979
8943
|
* @property [label] - 支持附带文字的显示
|
|
8980
8944
|
*/
|
|
8981
|
-
type StyleOptions = {
|
|
8945
|
+
type StyleOptions = any | {
|
|
8982
8946
|
width?: number;
|
|
8983
8947
|
color?: string | Cesium.Color;
|
|
8984
8948
|
opacity?: number;
|
|
@@ -8991,7 +8955,7 @@ declare namespace PathEntity {
|
|
|
8991
8955
|
distanceDisplayCondition_near?: number;
|
|
8992
8956
|
setHeight?: number | string;
|
|
8993
8957
|
addHeight?: number | string;
|
|
8994
|
-
label?: LabelEntity.StyleOptions;
|
|
8958
|
+
label?: LabelEntity.StyleOptions | any;
|
|
8995
8959
|
};
|
|
8996
8960
|
}
|
|
8997
8961
|
|
|
@@ -9002,10 +8966,6 @@ declare namespace PathEntity {
|
|
|
9002
8966
|
* @param [options.orientation] - 实体方向
|
|
9003
8967
|
* @param options.style - 样式信息
|
|
9004
8968
|
* @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
8969
|
* @param [options.availability] - 与该对象关联的可用性(如果有的话)。
|
|
9010
8970
|
* @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
|
|
9011
8971
|
* @param [options.viewFrom] - 观察这个物体时建议的初始偏移量。
|
|
@@ -9016,6 +8976,11 @@ declare namespace PathEntity {
|
|
|
9016
8976
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
9017
8977
|
* @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
|
|
9018
8978
|
* @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
|
|
8979
|
+
* @param [options.label] - 设置是否显示 文本 和对应的样式
|
|
8980
|
+
* @param [options.model] - 设置附加的 gltf模型 和对应的样式
|
|
8981
|
+
* @param [options.billboard] - 设置附加的 图标 和对应的样式。
|
|
8982
|
+
* @param [options.point] - 设置附加的 像素点 和对应的样式
|
|
8983
|
+
* @param [options.circle] - 设置附加的 圆 和对应的样式
|
|
9019
8984
|
* @param [options.id = uuid()] - 矢量数据id标识
|
|
9020
8985
|
* @param [options.name = ''] - 矢量数据名称
|
|
9021
8986
|
* @param [options.show = true] - 矢量数据是否显示
|
|
@@ -9026,22 +8991,23 @@ declare class PathEntity extends BasePointEntity {
|
|
|
9026
8991
|
constructor(options: {
|
|
9027
8992
|
position: Cesium.SampledPositionProperty;
|
|
9028
8993
|
orientation?: Cesium.Property;
|
|
9029
|
-
style: PathEntity.StyleOptions;
|
|
8994
|
+
style: PathEntity.StyleOptions | any;
|
|
9030
8995
|
attr?: any;
|
|
9031
|
-
label?: LabelEntity.StyleOptions;
|
|
9032
|
-
model?: ModelEntity.StyleOptions;
|
|
9033
|
-
point?: PointEntity.StyleOptions;
|
|
9034
|
-
billboard?: BillboardEntity.StyleOptions;
|
|
9035
8996
|
availability?: Cesium.TimeIntervalCollection;
|
|
9036
8997
|
description?: Cesium.Property | string;
|
|
9037
8998
|
viewFrom?: Cesium.Property;
|
|
9038
8999
|
parent?: Cesium.Entity;
|
|
9039
9000
|
onBeforeCreate?: (...params: any[]) => any;
|
|
9040
9001
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
9041
|
-
popupOptions?: Popup.StyleOptions;
|
|
9002
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
9042
9003
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
9043
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
9004
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
9044
9005
|
contextmenuItems?: any;
|
|
9006
|
+
label?: LabelEntity.StyleOptions | any;
|
|
9007
|
+
model?: ModelEntity.StyleOptions | any | any;
|
|
9008
|
+
billboard?: BillboardEntity.StyleOptions | any | any;
|
|
9009
|
+
point?: PointEntity.StyleOptions | any | any;
|
|
9010
|
+
circle?: CircleEntity.StyleOptions | any | any;
|
|
9045
9011
|
id?: string | number;
|
|
9046
9012
|
name?: string;
|
|
9047
9013
|
show?: boolean;
|
|
@@ -9142,7 +9108,7 @@ declare namespace PlaneEntity {
|
|
|
9142
9108
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
9143
9109
|
* @property [label] - 支持附带文字的显示
|
|
9144
9110
|
*/
|
|
9145
|
-
type StyleOptions = {
|
|
9111
|
+
type StyleOptions = any | {
|
|
9146
9112
|
dimensions?: Cesium.Cartesian2;
|
|
9147
9113
|
dimensions_x?: number;
|
|
9148
9114
|
dimensions_y?: number;
|
|
@@ -9170,8 +9136,8 @@ declare namespace PlaneEntity {
|
|
|
9170
9136
|
shadows?: Cesium.ShadowMode;
|
|
9171
9137
|
setHeight?: number | string;
|
|
9172
9138
|
addHeight?: number | string;
|
|
9173
|
-
highlight?: PlaneEntity.StyleOptions;
|
|
9174
|
-
label?: LabelEntity.StyleOptions;
|
|
9139
|
+
highlight?: PlaneEntity.StyleOptions | any;
|
|
9140
|
+
label?: LabelEntity.StyleOptions | any;
|
|
9175
9141
|
};
|
|
9176
9142
|
}
|
|
9177
9143
|
|
|
@@ -9188,7 +9154,6 @@ declare namespace PlaneEntity {
|
|
|
9188
9154
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
9189
9155
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
9190
9156
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
9191
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
9192
9157
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
9193
9158
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
9194
9159
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -9203,7 +9168,7 @@ declare namespace PlaneEntity {
|
|
|
9203
9168
|
declare class PlaneEntity extends BasePointEntity {
|
|
9204
9169
|
constructor(options: {
|
|
9205
9170
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
9206
|
-
style: PlaneEntity.StyleOptions;
|
|
9171
|
+
style: PlaneEntity.StyleOptions | any;
|
|
9207
9172
|
attr?: any;
|
|
9208
9173
|
orientation?: Cesium.Property;
|
|
9209
9174
|
availability?: Cesium.TimeIntervalCollection;
|
|
@@ -9212,11 +9177,10 @@ declare class PlaneEntity extends BasePointEntity {
|
|
|
9212
9177
|
parent?: Cesium.Entity;
|
|
9213
9178
|
onBeforeCreate?: (...params: any[]) => any;
|
|
9214
9179
|
drawShow?: boolean;
|
|
9215
|
-
addHeight?: number;
|
|
9216
9180
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
9217
|
-
popupOptions?: Popup.StyleOptions;
|
|
9181
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
9218
9182
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
9219
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
9183
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
9220
9184
|
contextmenuItems?: any;
|
|
9221
9185
|
id?: string | number;
|
|
9222
9186
|
name?: string;
|
|
@@ -9269,7 +9233,7 @@ declare namespace PointEntity {
|
|
|
9269
9233
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
9270
9234
|
* @property [label] - 支持附带文字的显示
|
|
9271
9235
|
*/
|
|
9272
|
-
type StyleOptions = {
|
|
9236
|
+
type StyleOptions = any | {
|
|
9273
9237
|
pixelSize?: number;
|
|
9274
9238
|
color?: string | Cesium.Color;
|
|
9275
9239
|
opacity?: number;
|
|
@@ -9292,8 +9256,8 @@ declare namespace PointEntity {
|
|
|
9292
9256
|
heightReference?: Cesium.HeightReference;
|
|
9293
9257
|
setHeight?: number | string;
|
|
9294
9258
|
addHeight?: number | string;
|
|
9295
|
-
highlight?: PointEntity.StyleOptions;
|
|
9296
|
-
label?: LabelEntity.StyleOptions;
|
|
9259
|
+
highlight?: PointEntity.StyleOptions | any;
|
|
9260
|
+
label?: LabelEntity.StyleOptions | any;
|
|
9297
9261
|
};
|
|
9298
9262
|
}
|
|
9299
9263
|
|
|
@@ -9315,12 +9279,15 @@ declare namespace PointEntity {
|
|
|
9315
9279
|
* @param [options.frameRateHeight = 30] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,多少帧计算一次贴模型高度
|
|
9316
9280
|
* @param [options.objectsToExclude] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
9317
9281
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
9318
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
9319
9282
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
9320
9283
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
9321
9284
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
9322
9285
|
* @param [options.tooltipOptions] - tooltip弹窗时的配置参数,也支持如pointerEvents等{@link Tooltip}构造参数
|
|
9323
9286
|
* @param [options.contextmenuItems] - 当矢量数据支持右键菜单时,也可以bindContextMenu方法绑定
|
|
9287
|
+
* @param [options.model] - 设置附加的 gltf模型 和对应的样式
|
|
9288
|
+
* @param [options.billboard] - 设置附加的 图标 和对应的样式
|
|
9289
|
+
* @param [options.circle] - 设置附加的 圆 和对应的样式
|
|
9290
|
+
* @param [options.path] - 设置附加的 轨迹路线 和对应的样式
|
|
9324
9291
|
* @param [options.id = uuid()] - 矢量数据id标识
|
|
9325
9292
|
* @param [options.name = ''] - 矢量数据名称
|
|
9326
9293
|
* @param [options.show = true] - 矢量数据是否显示
|
|
@@ -9330,7 +9297,7 @@ declare namespace PointEntity {
|
|
|
9330
9297
|
declare class PointEntity extends BasePointEntity {
|
|
9331
9298
|
constructor(options: {
|
|
9332
9299
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
9333
|
-
style: PointEntity.StyleOptions;
|
|
9300
|
+
style: PointEntity.StyleOptions | any;
|
|
9334
9301
|
attr?: any;
|
|
9335
9302
|
availability?: Cesium.TimeIntervalCollection;
|
|
9336
9303
|
description?: Cesium.Property | string;
|
|
@@ -9344,12 +9311,15 @@ declare class PointEntity extends BasePointEntity {
|
|
|
9344
9311
|
frameRateHeight?: number;
|
|
9345
9312
|
objectsToExclude?: any;
|
|
9346
9313
|
drawShow?: boolean;
|
|
9347
|
-
addHeight?: number;
|
|
9348
9314
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
9349
|
-
popupOptions?: Popup.StyleOptions;
|
|
9315
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
9350
9316
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
9351
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
9317
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
9352
9318
|
contextmenuItems?: any;
|
|
9319
|
+
model?: ModelEntity.StyleOptions | any | any;
|
|
9320
|
+
billboard?: BillboardEntity.StyleOptions | any | any;
|
|
9321
|
+
circle?: CircleEntity.StyleOptions | any | any;
|
|
9322
|
+
path?: PathEntity.StyleOptions | any | any;
|
|
9353
9323
|
id?: string | number;
|
|
9354
9324
|
name?: string;
|
|
9355
9325
|
show?: boolean;
|
|
@@ -9408,11 +9378,11 @@ declare namespace PolygonEntity {
|
|
|
9408
9378
|
* @property [setHeight = 0] - 指定坐标高度值,或数组指定每个点的高度(常用于图层中配置)
|
|
9409
9379
|
* @property [addHeight = 0] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
|
|
9410
9380
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
9411
|
-
* @property [label] -
|
|
9412
|
-
* @property [label.position]
|
|
9413
|
-
* @property [label.showAll]
|
|
9381
|
+
* @property [label] - 支持附带文字的显示,额外支持:<br />
|
|
9382
|
+
* // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
9383
|
+
* // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
9414
9384
|
*/
|
|
9415
|
-
type StyleOptions = {
|
|
9385
|
+
type StyleOptions = any | {
|
|
9416
9386
|
fill?: boolean;
|
|
9417
9387
|
materialType?: string;
|
|
9418
9388
|
material的多个参数?: any;
|
|
@@ -9426,7 +9396,7 @@ declare namespace PolygonEntity {
|
|
|
9426
9396
|
outlineWidth?: number;
|
|
9427
9397
|
outlineColor?: string | Cesium.Color;
|
|
9428
9398
|
outlineOpacity?: number;
|
|
9429
|
-
outlineStyle?: PolylineEntity.StyleOptions;
|
|
9399
|
+
outlineStyle?: PolylineEntity.StyleOptions | any;
|
|
9430
9400
|
distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
|
|
9431
9401
|
distanceDisplayCondition_far?: number;
|
|
9432
9402
|
distanceDisplayCondition_near?: number;
|
|
@@ -9448,11 +9418,8 @@ declare namespace PolygonEntity {
|
|
|
9448
9418
|
buffer?: number;
|
|
9449
9419
|
setHeight?: number | number[];
|
|
9450
9420
|
addHeight?: number | number[];
|
|
9451
|
-
highlight?: PolygonEntity.StyleOptions;
|
|
9452
|
-
label?:
|
|
9453
|
-
position?: string | LngLatPoint;
|
|
9454
|
-
showAll?: boolean;
|
|
9455
|
-
};
|
|
9421
|
+
highlight?: PolygonEntity.StyleOptions | any;
|
|
9422
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
9456
9423
|
};
|
|
9457
9424
|
}
|
|
9458
9425
|
|
|
@@ -9469,7 +9436,6 @@ declare namespace PolygonEntity {
|
|
|
9469
9436
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
9470
9437
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
9471
9438
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
9472
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
9473
9439
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
9474
9440
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
9475
9441
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -9487,7 +9453,7 @@ declare namespace PolygonEntity {
|
|
|
9487
9453
|
declare class PolygonEntity extends BasePolyEntity {
|
|
9488
9454
|
constructor(options: {
|
|
9489
9455
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
9490
|
-
style: PolygonEntity.StyleOptions;
|
|
9456
|
+
style: PolygonEntity.StyleOptions | any;
|
|
9491
9457
|
attr?: any;
|
|
9492
9458
|
availability?: Cesium.TimeIntervalCollection;
|
|
9493
9459
|
description?: Cesium.Property | string;
|
|
@@ -9496,14 +9462,13 @@ declare class PolygonEntity extends BasePolyEntity {
|
|
|
9496
9462
|
onBeforeCreate?: (...params: any[]) => any;
|
|
9497
9463
|
minPointNum?: number;
|
|
9498
9464
|
maxPointNum?: number;
|
|
9499
|
-
addHeight?: number;
|
|
9500
9465
|
hasEdit?: boolean;
|
|
9501
9466
|
hasMoveEdit?: boolean;
|
|
9502
9467
|
hasHeightEdit?: boolean;
|
|
9503
9468
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
9504
|
-
popupOptions?: Popup.StyleOptions;
|
|
9469
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
9505
9470
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
9506
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
9471
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
9507
9472
|
contextmenuItems?: any;
|
|
9508
9473
|
id?: string | number;
|
|
9509
9474
|
name?: string;
|
|
@@ -9564,8 +9529,9 @@ declare class PolygonEntity extends BasePolyEntity {
|
|
|
9564
9529
|
/**
|
|
9565
9530
|
* 按Cesium.CallbackProperty的方式 更新坐标集合(更加平滑)
|
|
9566
9531
|
* @param positions - 坐标数组
|
|
9532
|
+
* @returns 当前坐标集合
|
|
9567
9533
|
*/
|
|
9568
|
-
setCallbackPositions(positions: string[] | any[][] | LngLatPoint[]):
|
|
9534
|
+
setCallbackPositions(positions: string[] | any[][] | LngLatPoint[]): Cesium.Cartesian3[];
|
|
9569
9535
|
}
|
|
9570
9536
|
|
|
9571
9537
|
declare namespace PolylineEntity {
|
|
@@ -9599,12 +9565,12 @@ declare namespace PolylineEntity {
|
|
|
9599
9565
|
* @property [setHeight = 0] - 指定坐标高度值,或数组指定每个点的高度(常用于图层中配置)
|
|
9600
9566
|
* @property [addHeight = 0] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
|
|
9601
9567
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
9602
|
-
* @property [label] -
|
|
9603
|
-
* @property [label.text = "文字"]
|
|
9604
|
-
* @property [label.position]
|
|
9605
|
-
* @property [label.showAll]
|
|
9568
|
+
* @property [label] - 支持附带文字的显示,额外支持:<br />
|
|
9569
|
+
* // * @property {String} [label.text = "文字"] 文本内容,换行可以用换行符'\n'。
|
|
9570
|
+
* // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
9571
|
+
* // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
9606
9572
|
*/
|
|
9607
|
-
type StyleOptions = {
|
|
9573
|
+
type StyleOptions = any | {
|
|
9608
9574
|
materialType?: string;
|
|
9609
9575
|
material的多个参数?: any;
|
|
9610
9576
|
material?: Cesium.MaterialProperty | BaseMaterialProperty | Cesium.Color;
|
|
@@ -9632,12 +9598,8 @@ declare namespace PolylineEntity {
|
|
|
9632
9598
|
zIndex?: number;
|
|
9633
9599
|
setHeight?: number | number[];
|
|
9634
9600
|
addHeight?: number | number[];
|
|
9635
|
-
highlight?: PolylineEntity.StyleOptions;
|
|
9636
|
-
label?:
|
|
9637
|
-
text?: string;
|
|
9638
|
-
position?: string | LngLatPoint;
|
|
9639
|
-
showAll?: boolean;
|
|
9640
|
-
};
|
|
9601
|
+
highlight?: PolylineEntity.StyleOptions | any;
|
|
9602
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
9641
9603
|
};
|
|
9642
9604
|
}
|
|
9643
9605
|
|
|
@@ -9654,7 +9616,6 @@ declare namespace PolylineEntity {
|
|
|
9654
9616
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
9655
9617
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
9656
9618
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
9657
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
9658
9619
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
9659
9620
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
9660
9621
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -9672,7 +9633,7 @@ declare namespace PolylineEntity {
|
|
|
9672
9633
|
declare class PolylineEntity extends BasePolyEntity {
|
|
9673
9634
|
constructor(options: {
|
|
9674
9635
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
9675
|
-
style: PolylineEntity.StyleOptions;
|
|
9636
|
+
style: PolylineEntity.StyleOptions | any;
|
|
9676
9637
|
attr?: any;
|
|
9677
9638
|
availability?: Cesium.TimeIntervalCollection;
|
|
9678
9639
|
description?: Cesium.Property | string;
|
|
@@ -9681,14 +9642,13 @@ declare class PolylineEntity extends BasePolyEntity {
|
|
|
9681
9642
|
onBeforeCreate?: (...params: any[]) => any;
|
|
9682
9643
|
minPointNum?: number;
|
|
9683
9644
|
maxPointNum?: number;
|
|
9684
|
-
addHeight?: number;
|
|
9685
9645
|
hasEdit?: boolean;
|
|
9686
9646
|
hasMoveEdit?: boolean;
|
|
9687
9647
|
hasHeightEdit?: boolean;
|
|
9688
9648
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
9689
|
-
popupOptions?: Popup.StyleOptions;
|
|
9649
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
9690
9650
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
9691
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
9651
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
9692
9652
|
contextmenuItems?: any;
|
|
9693
9653
|
id?: string | number;
|
|
9694
9654
|
name?: string;
|
|
@@ -9738,7 +9698,7 @@ declare namespace PolylineVolumeEntity {
|
|
|
9738
9698
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
9739
9699
|
* @property [label] - 支持附带文字的显示
|
|
9740
9700
|
*/
|
|
9741
|
-
type StyleOptions = {
|
|
9701
|
+
type StyleOptions = any | {
|
|
9742
9702
|
radius?: number;
|
|
9743
9703
|
shape?: string | Cesium.Cartesian2[];
|
|
9744
9704
|
fill?: boolean;
|
|
@@ -9758,8 +9718,8 @@ declare namespace PolylineVolumeEntity {
|
|
|
9758
9718
|
shadows?: Cesium.ShadowMode;
|
|
9759
9719
|
setHeight?: number | number[];
|
|
9760
9720
|
addHeight?: number | number[];
|
|
9761
|
-
highlight?: PolylineVolumeEntity.StyleOptions;
|
|
9762
|
-
label?: LabelEntity.StyleOptions;
|
|
9721
|
+
highlight?: PolylineVolumeEntity.StyleOptions | any;
|
|
9722
|
+
label?: LabelEntity.StyleOptions | any;
|
|
9763
9723
|
};
|
|
9764
9724
|
}
|
|
9765
9725
|
|
|
@@ -9776,7 +9736,6 @@ declare namespace PolylineVolumeEntity {
|
|
|
9776
9736
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
9777
9737
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
9778
9738
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
9779
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
9780
9739
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
9781
9740
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
9782
9741
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -9794,7 +9753,7 @@ declare namespace PolylineVolumeEntity {
|
|
|
9794
9753
|
declare class PolylineVolumeEntity extends BasePolyEntity {
|
|
9795
9754
|
constructor(options: {
|
|
9796
9755
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
9797
|
-
style: PolylineVolumeEntity.StyleOptions;
|
|
9756
|
+
style: PolylineVolumeEntity.StyleOptions | any;
|
|
9798
9757
|
attr?: any;
|
|
9799
9758
|
availability?: Cesium.TimeIntervalCollection;
|
|
9800
9759
|
description?: Cesium.Property | string;
|
|
@@ -9803,14 +9762,13 @@ declare class PolylineVolumeEntity extends BasePolyEntity {
|
|
|
9803
9762
|
onBeforeCreate?: (...params: any[]) => any;
|
|
9804
9763
|
minPointNum?: number;
|
|
9805
9764
|
maxPointNum?: number;
|
|
9806
|
-
addHeight?: number;
|
|
9807
9765
|
hasEdit?: boolean;
|
|
9808
9766
|
hasMoveEdit?: boolean;
|
|
9809
9767
|
hasHeightEdit?: boolean;
|
|
9810
9768
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
9811
|
-
popupOptions?: Popup.StyleOptions;
|
|
9769
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
9812
9770
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
9813
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
9771
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
9814
9772
|
contextmenuItems?: any;
|
|
9815
9773
|
id?: string | number;
|
|
9816
9774
|
name?: string;
|
|
@@ -9876,7 +9834,7 @@ declare namespace RectangleEntity {
|
|
|
9876
9834
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
9877
9835
|
* @property [label] - 支持附带文字的显示
|
|
9878
9836
|
*/
|
|
9879
|
-
type StyleOptions = {
|
|
9837
|
+
type StyleOptions = any | {
|
|
9880
9838
|
fill?: boolean;
|
|
9881
9839
|
materialType?: string;
|
|
9882
9840
|
material的多个参数?: any;
|
|
@@ -9887,7 +9845,7 @@ declare namespace RectangleEntity {
|
|
|
9887
9845
|
outlineWidth?: number;
|
|
9888
9846
|
outlineColor?: string | Cesium.Color;
|
|
9889
9847
|
outlineOpacity?: number;
|
|
9890
|
-
outlineStyle?: PolylineEntity.StyleOptions;
|
|
9848
|
+
outlineStyle?: PolylineEntity.StyleOptions | any;
|
|
9891
9849
|
height?: number;
|
|
9892
9850
|
heightReference?: Cesium.HeightReference;
|
|
9893
9851
|
diffHeight?: number;
|
|
@@ -9908,8 +9866,8 @@ declare namespace RectangleEntity {
|
|
|
9908
9866
|
zIndex?: number;
|
|
9909
9867
|
setHeight?: number | string;
|
|
9910
9868
|
addHeight?: number | string;
|
|
9911
|
-
highlight?: RectangleEntity.StyleOptions;
|
|
9912
|
-
label?: LabelEntity.StyleOptions;
|
|
9869
|
+
highlight?: RectangleEntity.StyleOptions | any;
|
|
9870
|
+
label?: LabelEntity.StyleOptions | any;
|
|
9913
9871
|
};
|
|
9914
9872
|
}
|
|
9915
9873
|
|
|
@@ -9927,7 +9885,6 @@ declare namespace RectangleEntity {
|
|
|
9927
9885
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
9928
9886
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
9929
9887
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
9930
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
9931
9888
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
9932
9889
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
9933
9890
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -9946,7 +9903,7 @@ declare class RectangleEntity extends BasePolyEntity {
|
|
|
9946
9903
|
constructor(options: {
|
|
9947
9904
|
positions?: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
9948
9905
|
rectangle?: Cesium.Rectangle | Cesium.PositionProperty;
|
|
9949
|
-
style: RectangleEntity.StyleOptions;
|
|
9906
|
+
style: RectangleEntity.StyleOptions | any;
|
|
9950
9907
|
attr?: any;
|
|
9951
9908
|
availability?: Cesium.TimeIntervalCollection;
|
|
9952
9909
|
description?: Cesium.Property | string;
|
|
@@ -9955,14 +9912,13 @@ declare class RectangleEntity extends BasePolyEntity {
|
|
|
9955
9912
|
onBeforeCreate?: (...params: any[]) => any;
|
|
9956
9913
|
minPointNum?: number;
|
|
9957
9914
|
maxPointNum?: number;
|
|
9958
|
-
addHeight?: number;
|
|
9959
9915
|
hasEdit?: boolean;
|
|
9960
9916
|
hasMoveEdit?: boolean;
|
|
9961
9917
|
hasHeightEdit?: boolean;
|
|
9962
9918
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
9963
|
-
popupOptions?: Popup.StyleOptions;
|
|
9919
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
9964
9920
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
9965
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
9921
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
9966
9922
|
contextmenuItems?: any;
|
|
9967
9923
|
id?: string | number;
|
|
9968
9924
|
name?: string;
|
|
@@ -10135,7 +10091,7 @@ declare namespace RectangularSensor {
|
|
|
10135
10091
|
* @property [slice = 32] - 切分程度
|
|
10136
10092
|
* @property [depthTest = true] - 是否被遮挡
|
|
10137
10093
|
*/
|
|
10138
|
-
type StyleOptions = {
|
|
10094
|
+
type StyleOptions = any | {
|
|
10139
10095
|
radius: number;
|
|
10140
10096
|
xHalfAngle?: number;
|
|
10141
10097
|
xHalfAngleDegree?: number;
|
|
@@ -10182,7 +10138,6 @@ declare namespace RectangularSensor {
|
|
|
10182
10138
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
10183
10139
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
10184
10140
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
10185
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
10186
10141
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
10187
10142
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
10188
10143
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -10197,7 +10152,7 @@ declare namespace RectangularSensor {
|
|
|
10197
10152
|
declare class RectangularSensor extends BasePointEntity {
|
|
10198
10153
|
constructor(options: {
|
|
10199
10154
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
10200
|
-
style: RectangularSensor.StyleOptions;
|
|
10155
|
+
style: RectangularSensor.StyleOptions | any;
|
|
10201
10156
|
attr?: any;
|
|
10202
10157
|
orientation?: Cesium.Property;
|
|
10203
10158
|
availability?: Cesium.TimeIntervalCollection;
|
|
@@ -10206,11 +10161,10 @@ declare class RectangularSensor extends BasePointEntity {
|
|
|
10206
10161
|
parent?: Cesium.Entity;
|
|
10207
10162
|
onBeforeCreate?: (...params: any[]) => any;
|
|
10208
10163
|
drawShow?: boolean;
|
|
10209
|
-
addHeight?: number;
|
|
10210
10164
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
10211
|
-
popupOptions?: Popup.StyleOptions;
|
|
10165
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
10212
10166
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
10213
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
10167
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
10214
10168
|
contextmenuItems?: any;
|
|
10215
10169
|
id?: string | number;
|
|
10216
10170
|
name?: string;
|
|
@@ -10261,7 +10215,7 @@ declare namespace Video2D {
|
|
|
10261
10215
|
* @property [shadows = Cesium.ShadowMode.DISABLED] - 指定多边形是投射还是接收来自光源的阴影。
|
|
10262
10216
|
* @property [showFrustum = false] - 是否显示视椎体框线
|
|
10263
10217
|
*/
|
|
10264
|
-
type StyleOptions = {
|
|
10218
|
+
type StyleOptions = any | {
|
|
10265
10219
|
angle: number;
|
|
10266
10220
|
angle2: number;
|
|
10267
10221
|
distance: number;
|
|
@@ -10276,7 +10230,7 @@ declare namespace Video2D {
|
|
|
10276
10230
|
outlineWidth?: number;
|
|
10277
10231
|
outlineColor?: string | Cesium.Color;
|
|
10278
10232
|
outlineOpacity?: number;
|
|
10279
|
-
outlineStyle?: PolylineEntity.StyleOptions;
|
|
10233
|
+
outlineStyle?: PolylineEntity.StyleOptions | any;
|
|
10280
10234
|
distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
|
|
10281
10235
|
distanceDisplayCondition_far?: number;
|
|
10282
10236
|
distanceDisplayCondition_near?: number;
|
|
@@ -10309,12 +10263,12 @@ declare class Video2D extends PolygonEntity {
|
|
|
10309
10263
|
constructor(options: {
|
|
10310
10264
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
10311
10265
|
targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
10312
|
-
style: Video2D.StyleOptions;
|
|
10266
|
+
style: Video2D.StyleOptions | any;
|
|
10313
10267
|
attr?: any;
|
|
10314
10268
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
10315
|
-
popupOptions?: Popup.StyleOptions;
|
|
10269
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
10316
10270
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
10317
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
10271
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
10318
10272
|
contextmenuItems?: any;
|
|
10319
10273
|
id?: string | number;
|
|
10320
10274
|
name?: string;
|
|
@@ -10428,11 +10382,11 @@ declare namespace WallEntity {
|
|
|
10428
10382
|
* @property [setHeight] - 指定坐标高度值(常用于图层中配置),也支持字符串模版配置
|
|
10429
10383
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
10430
10384
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
10431
|
-
* @property [label] -
|
|
10432
|
-
* @property [label.position]
|
|
10433
|
-
* @property [label.showAll]
|
|
10385
|
+
* @property [label] - 支持附带文字的显示,额外支持:<br />
|
|
10386
|
+
* // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
10387
|
+
* // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
10434
10388
|
*/
|
|
10435
|
-
type StyleOptions = {
|
|
10389
|
+
type StyleOptions = any | {
|
|
10436
10390
|
diffHeight?: number;
|
|
10437
10391
|
minimumHeights?: number[];
|
|
10438
10392
|
maximumHeights?: number[];
|
|
@@ -10455,11 +10409,8 @@ declare namespace WallEntity {
|
|
|
10455
10409
|
granularity?: number;
|
|
10456
10410
|
setHeight?: number | string;
|
|
10457
10411
|
addHeight?: number | string;
|
|
10458
|
-
highlight?: WallEntity.StyleOptions;
|
|
10459
|
-
label?:
|
|
10460
|
-
position?: string | LngLatPoint;
|
|
10461
|
-
showAll?: boolean;
|
|
10462
|
-
};
|
|
10412
|
+
highlight?: WallEntity.StyleOptions | any;
|
|
10413
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
10463
10414
|
};
|
|
10464
10415
|
}
|
|
10465
10416
|
|
|
@@ -10476,7 +10427,6 @@ declare namespace WallEntity {
|
|
|
10476
10427
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
10477
10428
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
10478
10429
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
10479
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
10480
10430
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
10481
10431
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
10482
10432
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -10494,7 +10444,7 @@ declare namespace WallEntity {
|
|
|
10494
10444
|
declare class WallEntity extends BasePolyEntity {
|
|
10495
10445
|
constructor(options: {
|
|
10496
10446
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
10497
|
-
style: WallEntity.StyleOptions;
|
|
10447
|
+
style: WallEntity.StyleOptions | any;
|
|
10498
10448
|
attr?: any;
|
|
10499
10449
|
availability?: Cesium.TimeIntervalCollection;
|
|
10500
10450
|
description?: Cesium.Property | string;
|
|
@@ -10503,14 +10453,13 @@ declare class WallEntity extends BasePolyEntity {
|
|
|
10503
10453
|
onBeforeCreate?: (...params: any[]) => any;
|
|
10504
10454
|
minPointNum?: number;
|
|
10505
10455
|
maxPointNum?: number;
|
|
10506
|
-
addHeight?: number;
|
|
10507
10456
|
hasEdit?: boolean;
|
|
10508
10457
|
hasMoveEdit?: boolean;
|
|
10509
10458
|
hasHeightEdit?: boolean;
|
|
10510
10459
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
10511
|
-
popupOptions?: Popup.StyleOptions;
|
|
10460
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
10512
10461
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
10513
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
10462
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
10514
10463
|
contextmenuItems?: any;
|
|
10515
10464
|
id?: string | number;
|
|
10516
10465
|
name?: string;
|
|
@@ -10551,7 +10500,6 @@ declare class WallEntity extends BasePolyEntity {
|
|
|
10551
10500
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
10552
10501
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
10553
10502
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
10554
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
10555
10503
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
10556
10504
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
10557
10505
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -10566,7 +10514,7 @@ declare class WallEntity extends BasePolyEntity {
|
|
|
10566
10514
|
declare class AttackArrow extends PolygonEntity {
|
|
10567
10515
|
constructor(options: {
|
|
10568
10516
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
10569
|
-
style: PolygonEntity.StyleOptions;
|
|
10517
|
+
style: PolygonEntity.StyleOptions | any;
|
|
10570
10518
|
attr?: any;
|
|
10571
10519
|
availability?: Cesium.TimeIntervalCollection;
|
|
10572
10520
|
description?: Cesium.Property | string;
|
|
@@ -10574,11 +10522,10 @@ declare class AttackArrow extends PolygonEntity {
|
|
|
10574
10522
|
parent?: Cesium.Entity;
|
|
10575
10523
|
onBeforeCreate?: (...params: any[]) => any;
|
|
10576
10524
|
hasMoveEdit?: boolean;
|
|
10577
|
-
addHeight?: number;
|
|
10578
10525
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
10579
|
-
popupOptions?: Popup.StyleOptions;
|
|
10526
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
10580
10527
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
10581
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
10528
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
10582
10529
|
contextmenuItems?: any;
|
|
10583
10530
|
id?: string | number;
|
|
10584
10531
|
name?: string;
|
|
@@ -10614,7 +10561,6 @@ declare class AttackArrow extends PolygonEntity {
|
|
|
10614
10561
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
10615
10562
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
10616
10563
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
10617
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
10618
10564
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
10619
10565
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
10620
10566
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -10629,7 +10575,7 @@ declare class AttackArrow extends PolygonEntity {
|
|
|
10629
10575
|
declare class AttackArrowPW extends PolygonEntity {
|
|
10630
10576
|
constructor(options: {
|
|
10631
10577
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
10632
|
-
style: PolygonEntity.StyleOptions;
|
|
10578
|
+
style: PolygonEntity.StyleOptions | any;
|
|
10633
10579
|
attr?: any;
|
|
10634
10580
|
availability?: Cesium.TimeIntervalCollection;
|
|
10635
10581
|
description?: Cesium.Property | string;
|
|
@@ -10637,11 +10583,10 @@ declare class AttackArrowPW extends PolygonEntity {
|
|
|
10637
10583
|
parent?: Cesium.Entity;
|
|
10638
10584
|
onBeforeCreate?: (...params: any[]) => any;
|
|
10639
10585
|
hasMoveEdit?: boolean;
|
|
10640
|
-
addHeight?: number;
|
|
10641
10586
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
10642
|
-
popupOptions?: Popup.StyleOptions;
|
|
10587
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
10643
10588
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
10644
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
10589
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
10645
10590
|
contextmenuItems?: any;
|
|
10646
10591
|
id?: string | number;
|
|
10647
10592
|
name?: string;
|
|
@@ -10677,7 +10622,6 @@ declare class AttackArrowPW extends PolygonEntity {
|
|
|
10677
10622
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
10678
10623
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
10679
10624
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
10680
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
10681
10625
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
10682
10626
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
10683
10627
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -10692,7 +10636,7 @@ declare class AttackArrowPW extends PolygonEntity {
|
|
|
10692
10636
|
declare class AttackArrowYW extends PolygonEntity {
|
|
10693
10637
|
constructor(options: {
|
|
10694
10638
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
10695
|
-
style: PolygonEntity.StyleOptions;
|
|
10639
|
+
style: PolygonEntity.StyleOptions | any;
|
|
10696
10640
|
attr?: any;
|
|
10697
10641
|
availability?: Cesium.TimeIntervalCollection;
|
|
10698
10642
|
description?: Cesium.Property | string;
|
|
@@ -10700,11 +10644,10 @@ declare class AttackArrowYW extends PolygonEntity {
|
|
|
10700
10644
|
parent?: Cesium.Entity;
|
|
10701
10645
|
onBeforeCreate?: (...params: any[]) => any;
|
|
10702
10646
|
hasMoveEdit?: boolean;
|
|
10703
|
-
addHeight?: number;
|
|
10704
10647
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
10705
|
-
popupOptions?: Popup.StyleOptions;
|
|
10648
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
10706
10649
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
10707
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
10650
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
10708
10651
|
contextmenuItems?: any;
|
|
10709
10652
|
id?: string | number;
|
|
10710
10653
|
name?: string;
|
|
@@ -10740,7 +10683,6 @@ declare class AttackArrowYW extends PolygonEntity {
|
|
|
10740
10683
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
10741
10684
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
10742
10685
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
10743
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
10744
10686
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
10745
10687
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
10746
10688
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -10755,7 +10697,7 @@ declare class AttackArrowYW extends PolygonEntity {
|
|
|
10755
10697
|
declare class CloseVurve extends PolygonEntity {
|
|
10756
10698
|
constructor(options: {
|
|
10757
10699
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
10758
|
-
style: PolygonEntity.StyleOptions;
|
|
10700
|
+
style: PolygonEntity.StyleOptions | any;
|
|
10759
10701
|
attr?: any;
|
|
10760
10702
|
availability?: Cesium.TimeIntervalCollection;
|
|
10761
10703
|
description?: Cesium.Property | string;
|
|
@@ -10763,11 +10705,10 @@ declare class CloseVurve extends PolygonEntity {
|
|
|
10763
10705
|
parent?: Cesium.Entity;
|
|
10764
10706
|
onBeforeCreate?: (...params: any[]) => any;
|
|
10765
10707
|
hasMoveEdit?: boolean;
|
|
10766
|
-
addHeight?: number;
|
|
10767
10708
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
10768
|
-
popupOptions?: Popup.StyleOptions;
|
|
10709
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
10769
10710
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
10770
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
10711
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
10771
10712
|
contextmenuItems?: any;
|
|
10772
10713
|
id?: string | number;
|
|
10773
10714
|
name?: string;
|
|
@@ -10803,7 +10744,6 @@ declare class CloseVurve extends PolygonEntity {
|
|
|
10803
10744
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
10804
10745
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
10805
10746
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
10806
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
10807
10747
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
10808
10748
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
10809
10749
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -10818,7 +10758,7 @@ declare class CloseVurve extends PolygonEntity {
|
|
|
10818
10758
|
declare class DoubleArrow extends PolygonEntity {
|
|
10819
10759
|
constructor(options: {
|
|
10820
10760
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
10821
|
-
style: PolygonEntity.StyleOptions;
|
|
10761
|
+
style: PolygonEntity.StyleOptions | any;
|
|
10822
10762
|
attr?: any;
|
|
10823
10763
|
availability?: Cesium.TimeIntervalCollection;
|
|
10824
10764
|
description?: Cesium.Property | string;
|
|
@@ -10826,11 +10766,10 @@ declare class DoubleArrow extends PolygonEntity {
|
|
|
10826
10766
|
parent?: Cesium.Entity;
|
|
10827
10767
|
onBeforeCreate?: (...params: any[]) => any;
|
|
10828
10768
|
hasMoveEdit?: boolean;
|
|
10829
|
-
addHeight?: number;
|
|
10830
10769
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
10831
|
-
popupOptions?: Popup.StyleOptions;
|
|
10770
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
10832
10771
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
10833
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
10772
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
10834
10773
|
contextmenuItems?: any;
|
|
10835
10774
|
id?: string | number;
|
|
10836
10775
|
name?: string;
|
|
@@ -10878,7 +10817,6 @@ declare class EditSector extends EditPolygon {
|
|
|
10878
10817
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
10879
10818
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
10880
10819
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
10881
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
10882
10820
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
10883
10821
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
10884
10822
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -10893,7 +10831,7 @@ declare class EditSector extends EditPolygon {
|
|
|
10893
10831
|
declare class FineArrow extends PolygonEntity {
|
|
10894
10832
|
constructor(options: {
|
|
10895
10833
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
10896
|
-
style: PolygonEntity.StyleOptions;
|
|
10834
|
+
style: PolygonEntity.StyleOptions | any;
|
|
10897
10835
|
attr?: any;
|
|
10898
10836
|
availability?: Cesium.TimeIntervalCollection;
|
|
10899
10837
|
description?: Cesium.Property | string;
|
|
@@ -10901,11 +10839,10 @@ declare class FineArrow extends PolygonEntity {
|
|
|
10901
10839
|
parent?: Cesium.Entity;
|
|
10902
10840
|
onBeforeCreate?: (...params: any[]) => any;
|
|
10903
10841
|
hasMoveEdit?: boolean;
|
|
10904
|
-
addHeight?: number;
|
|
10905
10842
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
10906
|
-
popupOptions?: Popup.StyleOptions;
|
|
10843
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
10907
10844
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
10908
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
10845
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
10909
10846
|
contextmenuItems?: any;
|
|
10910
10847
|
id?: string | number;
|
|
10911
10848
|
name?: string;
|
|
@@ -10941,7 +10878,6 @@ declare class FineArrow extends PolygonEntity {
|
|
|
10941
10878
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
10942
10879
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
10943
10880
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
10944
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
10945
10881
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
10946
10882
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
10947
10883
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -10956,7 +10892,7 @@ declare class FineArrow extends PolygonEntity {
|
|
|
10956
10892
|
declare class FineArrowYW extends PolygonEntity {
|
|
10957
10893
|
constructor(options: {
|
|
10958
10894
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
10959
|
-
style: PolygonEntity.StyleOptions;
|
|
10895
|
+
style: PolygonEntity.StyleOptions | any;
|
|
10960
10896
|
attr?: any;
|
|
10961
10897
|
availability?: Cesium.TimeIntervalCollection;
|
|
10962
10898
|
description?: Cesium.Property | string;
|
|
@@ -10964,11 +10900,10 @@ declare class FineArrowYW extends PolygonEntity {
|
|
|
10964
10900
|
parent?: Cesium.Entity;
|
|
10965
10901
|
onBeforeCreate?: (...params: any[]) => any;
|
|
10966
10902
|
hasMoveEdit?: boolean;
|
|
10967
|
-
addHeight?: number;
|
|
10968
10903
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
10969
|
-
popupOptions?: Popup.StyleOptions;
|
|
10904
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
10970
10905
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
10971
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
10906
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
10972
10907
|
contextmenuItems?: any;
|
|
10973
10908
|
id?: string | number;
|
|
10974
10909
|
name?: string;
|
|
@@ -11004,7 +10939,6 @@ declare class FineArrowYW extends PolygonEntity {
|
|
|
11004
10939
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
11005
10940
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11006
10941
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
11007
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11008
10942
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
11009
10943
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
11010
10944
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -11019,7 +10953,7 @@ declare class FineArrowYW extends PolygonEntity {
|
|
|
11019
10953
|
declare class GatheringPlace extends PolygonEntity {
|
|
11020
10954
|
constructor(options: {
|
|
11021
10955
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
11022
|
-
style: PolygonEntity.StyleOptions;
|
|
10956
|
+
style: PolygonEntity.StyleOptions | any;
|
|
11023
10957
|
attr?: any;
|
|
11024
10958
|
availability?: Cesium.TimeIntervalCollection;
|
|
11025
10959
|
description?: Cesium.Property | string;
|
|
@@ -11027,11 +10961,10 @@ declare class GatheringPlace extends PolygonEntity {
|
|
|
11027
10961
|
parent?: Cesium.Entity;
|
|
11028
10962
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11029
10963
|
hasMoveEdit?: boolean;
|
|
11030
|
-
addHeight?: number;
|
|
11031
10964
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11032
|
-
popupOptions?: Popup.StyleOptions;
|
|
10965
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11033
10966
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11034
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
10967
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11035
10968
|
contextmenuItems?: any;
|
|
11036
10969
|
id?: string | number;
|
|
11037
10970
|
name?: string;
|
|
@@ -11067,7 +11000,6 @@ declare class GatheringPlace extends PolygonEntity {
|
|
|
11067
11000
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
11068
11001
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11069
11002
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
11070
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11071
11003
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
11072
11004
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
11073
11005
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -11082,7 +11014,7 @@ declare class GatheringPlace extends PolygonEntity {
|
|
|
11082
11014
|
declare class IsosTriangle extends PolygonEntity {
|
|
11083
11015
|
constructor(options: {
|
|
11084
11016
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
11085
|
-
style: PolygonEntity.StyleOptions;
|
|
11017
|
+
style: PolygonEntity.StyleOptions | any;
|
|
11086
11018
|
attr?: any;
|
|
11087
11019
|
availability?: Cesium.TimeIntervalCollection;
|
|
11088
11020
|
description?: Cesium.Property | string;
|
|
@@ -11090,11 +11022,10 @@ declare class IsosTriangle extends PolygonEntity {
|
|
|
11090
11022
|
parent?: Cesium.Entity;
|
|
11091
11023
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11092
11024
|
hasMoveEdit?: boolean;
|
|
11093
|
-
addHeight?: number;
|
|
11094
11025
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11095
|
-
popupOptions?: Popup.StyleOptions;
|
|
11026
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11096
11027
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11097
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11028
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11098
11029
|
contextmenuItems?: any;
|
|
11099
11030
|
id?: string | number;
|
|
11100
11031
|
name?: string;
|
|
@@ -11130,7 +11061,6 @@ declare class IsosTriangle extends PolygonEntity {
|
|
|
11130
11061
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
11131
11062
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11132
11063
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
11133
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11134
11064
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
11135
11065
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
11136
11066
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -11145,7 +11075,7 @@ declare class IsosTriangle extends PolygonEntity {
|
|
|
11145
11075
|
declare class Lune extends PolygonEntity {
|
|
11146
11076
|
constructor(options: {
|
|
11147
11077
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
11148
|
-
style: PolygonEntity.StyleOptions;
|
|
11078
|
+
style: PolygonEntity.StyleOptions | any;
|
|
11149
11079
|
attr?: any;
|
|
11150
11080
|
availability?: Cesium.TimeIntervalCollection;
|
|
11151
11081
|
description?: Cesium.Property | string;
|
|
@@ -11153,11 +11083,10 @@ declare class Lune extends PolygonEntity {
|
|
|
11153
11083
|
parent?: Cesium.Entity;
|
|
11154
11084
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11155
11085
|
hasMoveEdit?: boolean;
|
|
11156
|
-
addHeight?: number;
|
|
11157
11086
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11158
|
-
popupOptions?: Popup.StyleOptions;
|
|
11087
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11159
11088
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11160
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11089
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11161
11090
|
contextmenuItems?: any;
|
|
11162
11091
|
id?: string | number;
|
|
11163
11092
|
name?: string;
|
|
@@ -11196,7 +11125,6 @@ declare class Lune extends PolygonEntity {
|
|
|
11196
11125
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
11197
11126
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11198
11127
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
11199
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11200
11128
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
11201
11129
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
11202
11130
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -11223,11 +11151,10 @@ declare class Regular extends PolygonEntity {
|
|
|
11223
11151
|
parent?: Cesium.Entity;
|
|
11224
11152
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11225
11153
|
hasMoveEdit?: boolean;
|
|
11226
|
-
addHeight?: number;
|
|
11227
11154
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11228
|
-
popupOptions?: Popup.StyleOptions;
|
|
11155
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11229
11156
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11230
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11157
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11231
11158
|
contextmenuItems?: any;
|
|
11232
11159
|
id?: string | number;
|
|
11233
11160
|
name?: string;
|
|
@@ -11281,7 +11208,6 @@ declare class Regular extends PolygonEntity {
|
|
|
11281
11208
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
11282
11209
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11283
11210
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
11284
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11285
11211
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
11286
11212
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
11287
11213
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -11308,11 +11234,10 @@ declare class Sector extends PolygonEntity {
|
|
|
11308
11234
|
parent?: Cesium.Entity;
|
|
11309
11235
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11310
11236
|
hasMoveEdit?: boolean;
|
|
11311
|
-
addHeight?: number;
|
|
11312
11237
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11313
|
-
popupOptions?: Popup.StyleOptions;
|
|
11238
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11314
11239
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11315
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11240
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11316
11241
|
contextmenuItems?: any;
|
|
11317
11242
|
id?: string | number;
|
|
11318
11243
|
name?: string;
|
|
@@ -11363,7 +11288,6 @@ declare class Sector extends PolygonEntity {
|
|
|
11363
11288
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
11364
11289
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11365
11290
|
* @param [options.hasMoveEdit = true] - 绘制时,是否可以整体平移
|
|
11366
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11367
11291
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
11368
11292
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
11369
11293
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -11378,7 +11302,7 @@ declare class Sector extends PolygonEntity {
|
|
|
11378
11302
|
declare class StraightArrow extends PolygonEntity {
|
|
11379
11303
|
constructor(options: {
|
|
11380
11304
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
11381
|
-
style: PolygonEntity.StyleOptions;
|
|
11305
|
+
style: PolygonEntity.StyleOptions | any;
|
|
11382
11306
|
attr?: any;
|
|
11383
11307
|
availability?: Cesium.TimeIntervalCollection;
|
|
11384
11308
|
description?: Cesium.Property | string;
|
|
@@ -11386,11 +11310,10 @@ declare class StraightArrow extends PolygonEntity {
|
|
|
11386
11310
|
parent?: Cesium.Entity;
|
|
11387
11311
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11388
11312
|
hasMoveEdit?: boolean;
|
|
11389
|
-
addHeight?: number;
|
|
11390
11313
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11391
|
-
popupOptions?: Popup.StyleOptions;
|
|
11314
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11392
11315
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11393
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11316
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11394
11317
|
contextmenuItems?: any;
|
|
11395
11318
|
id?: string | number;
|
|
11396
11319
|
name?: string;
|
|
@@ -11431,7 +11354,6 @@ declare class StraightArrow extends PolygonEntity {
|
|
|
11431
11354
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11432
11355
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
11433
11356
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
11434
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11435
11357
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
11436
11358
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
11437
11359
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -11449,9 +11371,9 @@ declare class StraightArrow extends PolygonEntity {
|
|
|
11449
11371
|
declare class AngleMeasure extends PolylineEntity {
|
|
11450
11372
|
constructor(options: {
|
|
11451
11373
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
11452
|
-
style: PolylineEntity.StyleOptions;
|
|
11374
|
+
style: PolylineEntity.StyleOptions | any;
|
|
11453
11375
|
attr?: any;
|
|
11454
|
-
label?: LabelEntity.StyleOptions;
|
|
11376
|
+
label?: LabelEntity.StyleOptions | any;
|
|
11455
11377
|
angleDecimal?: number;
|
|
11456
11378
|
decimal?: number;
|
|
11457
11379
|
availability?: Cesium.TimeIntervalCollection;
|
|
@@ -11461,14 +11383,13 @@ declare class AngleMeasure extends PolylineEntity {
|
|
|
11461
11383
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11462
11384
|
minPointNum?: number;
|
|
11463
11385
|
maxPointNum?: number;
|
|
11464
|
-
addHeight?: number;
|
|
11465
11386
|
hasEdit?: boolean;
|
|
11466
11387
|
hasMoveEdit?: boolean;
|
|
11467
11388
|
hasHeightEdit?: boolean;
|
|
11468
11389
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11469
|
-
popupOptions?: Popup.StyleOptions;
|
|
11390
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11470
11391
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11471
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11392
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11472
11393
|
contextmenuItems?: any;
|
|
11473
11394
|
id?: string | number;
|
|
11474
11395
|
name?: string;
|
|
@@ -11511,7 +11432,6 @@ declare class AngleMeasure extends PolylineEntity {
|
|
|
11511
11432
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11512
11433
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
11513
11434
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
11514
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11515
11435
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
11516
11436
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
11517
11437
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -11529,9 +11449,9 @@ declare class AngleMeasure extends PolylineEntity {
|
|
|
11529
11449
|
declare class AreaMeasure extends PolygonEntity {
|
|
11530
11450
|
constructor(options: {
|
|
11531
11451
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
11532
|
-
style: PolygonEntity.StyleOptions;
|
|
11452
|
+
style: PolygonEntity.StyleOptions | any;
|
|
11533
11453
|
attr?: any;
|
|
11534
|
-
label?: LabelEntity.StyleOptions;
|
|
11454
|
+
label?: LabelEntity.StyleOptions | any;
|
|
11535
11455
|
decimal?: number;
|
|
11536
11456
|
availability?: Cesium.TimeIntervalCollection;
|
|
11537
11457
|
description?: Cesium.Property | string;
|
|
@@ -11540,14 +11460,13 @@ declare class AreaMeasure extends PolygonEntity {
|
|
|
11540
11460
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11541
11461
|
minPointNum?: number;
|
|
11542
11462
|
maxPointNum?: number;
|
|
11543
|
-
addHeight?: number;
|
|
11544
11463
|
hasEdit?: boolean;
|
|
11545
11464
|
hasMoveEdit?: boolean;
|
|
11546
11465
|
hasHeightEdit?: boolean;
|
|
11547
11466
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11548
|
-
popupOptions?: Popup.StyleOptions;
|
|
11467
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11549
11468
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11550
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11469
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11551
11470
|
contextmenuItems?: any;
|
|
11552
11471
|
id?: string | number;
|
|
11553
11472
|
name?: string;
|
|
@@ -11596,7 +11515,6 @@ declare class AreaMeasure extends PolygonEntity {
|
|
|
11596
11515
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11597
11516
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
11598
11517
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
11599
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11600
11518
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
11601
11519
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
11602
11520
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -11614,9 +11532,9 @@ declare class AreaMeasure extends PolygonEntity {
|
|
|
11614
11532
|
declare class AreaSurfaceMeasure extends AreaMeasure {
|
|
11615
11533
|
constructor(options: {
|
|
11616
11534
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
11617
|
-
style: PolygonEntity.StyleOptions;
|
|
11535
|
+
style: PolygonEntity.StyleOptions | any;
|
|
11618
11536
|
attr?: any;
|
|
11619
|
-
label?: LabelEntity.StyleOptions;
|
|
11537
|
+
label?: LabelEntity.StyleOptions | any;
|
|
11620
11538
|
decimal?: number;
|
|
11621
11539
|
availability?: Cesium.TimeIntervalCollection;
|
|
11622
11540
|
description?: Cesium.Property | string;
|
|
@@ -11625,14 +11543,13 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
|
|
|
11625
11543
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11626
11544
|
minPointNum?: number;
|
|
11627
11545
|
maxPointNum?: number;
|
|
11628
|
-
addHeight?: number;
|
|
11629
11546
|
hasEdit?: boolean;
|
|
11630
11547
|
hasMoveEdit?: boolean;
|
|
11631
11548
|
hasHeightEdit?: boolean;
|
|
11632
11549
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11633
|
-
popupOptions?: Popup.StyleOptions;
|
|
11550
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11634
11551
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11635
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11552
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11636
11553
|
contextmenuItems?: any;
|
|
11637
11554
|
id?: string | number;
|
|
11638
11555
|
name?: string;
|
|
@@ -11665,7 +11582,6 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
|
|
|
11665
11582
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11666
11583
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
11667
11584
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
11668
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11669
11585
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
11670
11586
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
11671
11587
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -11683,9 +11599,9 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
|
|
|
11683
11599
|
declare class DistanceMeasure extends PolylineEntity {
|
|
11684
11600
|
constructor(options: {
|
|
11685
11601
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
11686
|
-
style: PolylineEntity.StyleOptions;
|
|
11602
|
+
style: PolylineEntity.StyleOptions | any;
|
|
11687
11603
|
attr?: any;
|
|
11688
|
-
label?: LabelEntity.StyleOptions;
|
|
11604
|
+
label?: LabelEntity.StyleOptions | any;
|
|
11689
11605
|
decimal?: number;
|
|
11690
11606
|
availability?: Cesium.TimeIntervalCollection;
|
|
11691
11607
|
description?: Cesium.Property | string;
|
|
@@ -11694,14 +11610,13 @@ declare class DistanceMeasure extends PolylineEntity {
|
|
|
11694
11610
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11695
11611
|
minPointNum?: number;
|
|
11696
11612
|
maxPointNum?: number;
|
|
11697
|
-
addHeight?: number;
|
|
11698
11613
|
hasEdit?: boolean;
|
|
11699
11614
|
hasMoveEdit?: boolean;
|
|
11700
11615
|
hasHeightEdit?: boolean;
|
|
11701
11616
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11702
|
-
popupOptions?: Popup.StyleOptions;
|
|
11617
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11703
11618
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11704
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11619
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11705
11620
|
contextmenuItems?: any;
|
|
11706
11621
|
id?: string | number;
|
|
11707
11622
|
name?: string;
|
|
@@ -11744,7 +11659,6 @@ declare class DistanceMeasure extends PolylineEntity {
|
|
|
11744
11659
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11745
11660
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
11746
11661
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
11747
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11748
11662
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
11749
11663
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
11750
11664
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -11762,9 +11676,9 @@ declare class DistanceMeasure extends PolylineEntity {
|
|
|
11762
11676
|
declare class DistanceSurfaceMeasure extends DistanceMeasure {
|
|
11763
11677
|
constructor(options: {
|
|
11764
11678
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
11765
|
-
style: PolylineEntity.StyleOptions;
|
|
11679
|
+
style: PolylineEntity.StyleOptions | any;
|
|
11766
11680
|
attr?: any;
|
|
11767
|
-
label?: LabelEntity.StyleOptions;
|
|
11681
|
+
label?: LabelEntity.StyleOptions | any;
|
|
11768
11682
|
decimal?: number;
|
|
11769
11683
|
availability?: Cesium.TimeIntervalCollection;
|
|
11770
11684
|
description?: Cesium.Property | string;
|
|
@@ -11773,14 +11687,13 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
|
|
|
11773
11687
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11774
11688
|
minPointNum?: number;
|
|
11775
11689
|
maxPointNum?: number;
|
|
11776
|
-
addHeight?: number;
|
|
11777
11690
|
hasEdit?: boolean;
|
|
11778
11691
|
hasMoveEdit?: boolean;
|
|
11779
11692
|
hasHeightEdit?: boolean;
|
|
11780
11693
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11781
|
-
popupOptions?: Popup.StyleOptions;
|
|
11694
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11782
11695
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11783
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11696
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11784
11697
|
contextmenuItems?: any;
|
|
11785
11698
|
id?: string | number;
|
|
11786
11699
|
name?: string;
|
|
@@ -11813,7 +11726,6 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
|
|
|
11813
11726
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11814
11727
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
11815
11728
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
11816
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11817
11729
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
11818
11730
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
11819
11731
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -11831,9 +11743,9 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
|
|
|
11831
11743
|
declare class HeightMeasure extends PolylineEntity {
|
|
11832
11744
|
constructor(options: {
|
|
11833
11745
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
11834
|
-
style: PolylineEntity.StyleOptions;
|
|
11746
|
+
style: PolylineEntity.StyleOptions | any;
|
|
11835
11747
|
attr?: any;
|
|
11836
|
-
label?: LabelEntity.StyleOptions;
|
|
11748
|
+
label?: LabelEntity.StyleOptions | any;
|
|
11837
11749
|
decimal?: number;
|
|
11838
11750
|
availability?: Cesium.TimeIntervalCollection;
|
|
11839
11751
|
description?: Cesium.Property | string;
|
|
@@ -11842,14 +11754,13 @@ declare class HeightMeasure extends PolylineEntity {
|
|
|
11842
11754
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11843
11755
|
minPointNum?: number;
|
|
11844
11756
|
maxPointNum?: number;
|
|
11845
|
-
addHeight?: number;
|
|
11846
11757
|
hasEdit?: boolean;
|
|
11847
11758
|
hasMoveEdit?: boolean;
|
|
11848
11759
|
hasHeightEdit?: boolean;
|
|
11849
11760
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11850
|
-
popupOptions?: Popup.StyleOptions;
|
|
11761
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11851
11762
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11852
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11763
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11853
11764
|
contextmenuItems?: any;
|
|
11854
11765
|
id?: string | number;
|
|
11855
11766
|
name?: string;
|
|
@@ -11892,7 +11803,6 @@ declare class HeightMeasure extends PolylineEntity {
|
|
|
11892
11803
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11893
11804
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
11894
11805
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
11895
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11896
11806
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
11897
11807
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
11898
11808
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -11910,9 +11820,9 @@ declare class HeightMeasure extends PolylineEntity {
|
|
|
11910
11820
|
declare class HeightTriangleMeasure extends HeightMeasure {
|
|
11911
11821
|
constructor(options: {
|
|
11912
11822
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
11913
|
-
style: PolylineEntity.StyleOptions;
|
|
11823
|
+
style: PolylineEntity.StyleOptions | any;
|
|
11914
11824
|
attr?: any;
|
|
11915
|
-
label?: LabelEntity.StyleOptions;
|
|
11825
|
+
label?: LabelEntity.StyleOptions | any;
|
|
11916
11826
|
decimal?: number;
|
|
11917
11827
|
availability?: Cesium.TimeIntervalCollection;
|
|
11918
11828
|
description?: Cesium.Property | string;
|
|
@@ -11921,14 +11831,13 @@ declare class HeightTriangleMeasure extends HeightMeasure {
|
|
|
11921
11831
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11922
11832
|
minPointNum?: number;
|
|
11923
11833
|
maxPointNum?: number;
|
|
11924
|
-
addHeight?: number;
|
|
11925
11834
|
hasEdit?: boolean;
|
|
11926
11835
|
hasMoveEdit?: boolean;
|
|
11927
11836
|
hasHeightEdit?: boolean;
|
|
11928
11837
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11929
|
-
popupOptions?: Popup.StyleOptions;
|
|
11838
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11930
11839
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11931
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11840
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11932
11841
|
contextmenuItems?: any;
|
|
11933
11842
|
id?: string | number;
|
|
11934
11843
|
name?: string;
|
|
@@ -11964,7 +11873,6 @@ declare class HeightTriangleMeasure extends HeightMeasure {
|
|
|
11964
11873
|
* @param [options.parent] - 要与此实体关联的父实体。
|
|
11965
11874
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11966
11875
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
11967
|
-
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
11968
11876
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
11969
11877
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
11970
11878
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -11979,7 +11887,7 @@ declare class HeightTriangleMeasure extends HeightMeasure {
|
|
|
11979
11887
|
declare class PointMeasure extends PointEntity {
|
|
11980
11888
|
constructor(options: {
|
|
11981
11889
|
position: LngLatPoint | Cesium.Cartesian3 | Cesium.PositionProperty | number[] | string;
|
|
11982
|
-
style: PointEntity.StyleOptions;
|
|
11890
|
+
style: PointEntity.StyleOptions | any;
|
|
11983
11891
|
attr?: any;
|
|
11984
11892
|
availability?: Cesium.TimeIntervalCollection;
|
|
11985
11893
|
description?: Cesium.Property | string;
|
|
@@ -11987,11 +11895,10 @@ declare class PointMeasure extends PointEntity {
|
|
|
11987
11895
|
parent?: Cesium.Entity;
|
|
11988
11896
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11989
11897
|
drawShow?: boolean;
|
|
11990
|
-
addHeight?: number;
|
|
11991
11898
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
11992
|
-
popupOptions?: Popup.StyleOptions;
|
|
11899
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
11993
11900
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
11994
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11901
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
11995
11902
|
contextmenuItems?: any;
|
|
11996
11903
|
id?: string | number;
|
|
11997
11904
|
name?: string;
|
|
@@ -12042,9 +11949,9 @@ declare class PointMeasure extends PointEntity {
|
|
|
12042
11949
|
declare class SectionMeasure extends DistanceMeasure {
|
|
12043
11950
|
constructor(options: {
|
|
12044
11951
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
12045
|
-
style: PolylineEntity.StyleOptions;
|
|
11952
|
+
style: PolylineEntity.StyleOptions | any;
|
|
12046
11953
|
attr?: any;
|
|
12047
|
-
label?: LabelEntity.StyleOptions;
|
|
11954
|
+
label?: LabelEntity.StyleOptions | any;
|
|
12048
11955
|
decimal?: number;
|
|
12049
11956
|
availability?: Cesium.TimeIntervalCollection;
|
|
12050
11957
|
description?: Cesium.Property | string;
|
|
@@ -12058,9 +11965,9 @@ declare class SectionMeasure extends DistanceMeasure {
|
|
|
12058
11965
|
hasMoveEdit?: boolean;
|
|
12059
11966
|
hasHeightEdit?: boolean;
|
|
12060
11967
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
12061
|
-
popupOptions?: Popup.StyleOptions;
|
|
11968
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
12062
11969
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
12063
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
11970
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
12064
11971
|
contextmenuItems?: any;
|
|
12065
11972
|
id?: string | number;
|
|
12066
11973
|
name?: string;
|
|
@@ -12107,10 +12014,10 @@ declare class SectionMeasure extends DistanceMeasure {
|
|
|
12107
12014
|
*/
|
|
12108
12015
|
declare class VolumeMeasure extends AreaMeasure {
|
|
12109
12016
|
constructor(options: {
|
|
12110
|
-
style: PolygonEntity.StyleOptions;
|
|
12017
|
+
style: PolygonEntity.StyleOptions | any;
|
|
12111
12018
|
attr?: any;
|
|
12112
|
-
polygonWallStyle?: PolygonEntity.StyleOptions;
|
|
12113
|
-
label?: LabelEntity.StyleOptions;
|
|
12019
|
+
polygonWallStyle?: PolygonEntity.StyleOptions | any;
|
|
12020
|
+
label?: LabelEntity.StyleOptions | any;
|
|
12114
12021
|
showFillVolume?: boolean;
|
|
12115
12022
|
fillVolumeName?: string;
|
|
12116
12023
|
showDigVolume?: boolean;
|
|
@@ -12119,7 +12026,7 @@ declare class VolumeMeasure extends AreaMeasure {
|
|
|
12119
12026
|
areaName?: string;
|
|
12120
12027
|
heightLabel?: boolean;
|
|
12121
12028
|
offsetLabel?: boolean;
|
|
12122
|
-
labelHeight?: LabelEntity.StyleOptions;
|
|
12029
|
+
labelHeight?: LabelEntity.StyleOptions | any;
|
|
12123
12030
|
decimal?: number;
|
|
12124
12031
|
has3dtiles?: boolean;
|
|
12125
12032
|
id?: string | number;
|
|
@@ -12156,10 +12063,10 @@ declare class VolumeMeasure extends AreaMeasure {
|
|
|
12156
12063
|
updateText(unit: string): void;
|
|
12157
12064
|
/**
|
|
12158
12065
|
* 通过鼠标拾取高度,赋值给基准面
|
|
12159
|
-
* @param callback - 拾取完成后的回调方法
|
|
12160
|
-
* @returns
|
|
12066
|
+
* @param [callback] - 拾取完成后的回调方法
|
|
12067
|
+
* @returns 拾取完成后的回调,与callback 2选1
|
|
12161
12068
|
*/
|
|
12162
|
-
selecteHeight(callback
|
|
12069
|
+
selecteHeight(callback?: (...params: any[]) => any): Promise<number>;
|
|
12163
12070
|
/**
|
|
12164
12071
|
* 通过标绘 来创建矢量对象
|
|
12165
12072
|
* @param layer - 图层
|
|
@@ -12232,9 +12139,9 @@ declare class BasePointPrimitive extends BasePrimitive {
|
|
|
12232
12139
|
frameRateHeight?: number;
|
|
12233
12140
|
objectsToExclude?: any;
|
|
12234
12141
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
12235
|
-
popupOptions?: Popup.StyleOptions;
|
|
12142
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
12236
12143
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
12237
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
12144
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
12238
12145
|
contextmenuItems?: any;
|
|
12239
12146
|
id?: string | number;
|
|
12240
12147
|
name?: string;
|
|
@@ -12373,9 +12280,9 @@ declare class BasePolyPrimitive extends BasePrimitive {
|
|
|
12373
12280
|
debugShowBoundingVolume?: boolean;
|
|
12374
12281
|
debugShowShadowVolume?: boolean;
|
|
12375
12282
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
12376
|
-
popupOptions?: Popup.StyleOptions;
|
|
12283
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
12377
12284
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
12378
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
12285
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
12379
12286
|
contextmenuItems?: any;
|
|
12380
12287
|
id?: string | number;
|
|
12381
12288
|
name?: string;
|
|
@@ -12441,15 +12348,13 @@ declare class BasePolyPrimitive extends BasePrimitive {
|
|
|
12441
12348
|
* @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
|
|
12442
12349
|
* @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
12443
12350
|
* @param [options.offset = 0] - 可以按需增加偏移高度(单位:米),便于可视
|
|
12444
|
-
* @
|
|
12445
|
-
* @returns 当前对象本身,可以链式调用
|
|
12351
|
+
* @returns 异步计算完成的Promise
|
|
12446
12352
|
*/
|
|
12447
12353
|
autoSurfaceHeight(options?: {
|
|
12448
12354
|
has3dtiles?: boolean;
|
|
12449
12355
|
objectsToExclude?: any;
|
|
12450
12356
|
offset?: number;
|
|
12451
|
-
|
|
12452
|
-
}): BasePolyPrimitive;
|
|
12357
|
+
}): Promise<any>;
|
|
12453
12358
|
}
|
|
12454
12359
|
|
|
12455
12360
|
declare namespace BasePrimitive {
|
|
@@ -12548,9 +12453,9 @@ declare class BasePrimitive extends BaseGraphic {
|
|
|
12548
12453
|
debugShowBoundingVolume?: boolean;
|
|
12549
12454
|
debugShowShadowVolume?: boolean;
|
|
12550
12455
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
12551
|
-
popupOptions?: Popup.StyleOptions;
|
|
12456
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
12552
12457
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
12553
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
12458
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
12554
12459
|
contextmenuItems?: any;
|
|
12555
12460
|
id?: string | number;
|
|
12556
12461
|
name?: string;
|
|
@@ -12633,12 +12538,12 @@ declare class BasePrimitive extends BaseGraphic {
|
|
|
12633
12538
|
declare class BillboardPrimitive extends BasePointPrimitive {
|
|
12634
12539
|
constructor(options: {
|
|
12635
12540
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
12636
|
-
style: BillboardEntity.StyleOptions;
|
|
12541
|
+
style: BillboardEntity.StyleOptions | any;
|
|
12637
12542
|
attr?: any;
|
|
12638
12543
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
12639
|
-
popupOptions?: Popup.StyleOptions;
|
|
12544
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
12640
12545
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
12641
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
12546
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
12642
12547
|
contextmenuItems?: any;
|
|
12643
12548
|
id?: string | number;
|
|
12644
12549
|
name?: string;
|
|
@@ -12689,7 +12594,7 @@ declare namespace BoxPrimitive {
|
|
|
12689
12594
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
12690
12595
|
* @property [label] - 支持附带文字的显示
|
|
12691
12596
|
*/
|
|
12692
|
-
type StyleOptions = {
|
|
12597
|
+
type StyleOptions = any | {
|
|
12693
12598
|
dimensions?: Cesium.Cartesian3;
|
|
12694
12599
|
dimensions_x?: number;
|
|
12695
12600
|
dimensions_y?: number;
|
|
@@ -12715,8 +12620,8 @@ declare namespace BoxPrimitive {
|
|
|
12715
12620
|
renderState?: any;
|
|
12716
12621
|
setHeight?: number | string;
|
|
12717
12622
|
addHeight?: number | string;
|
|
12718
|
-
highlight?: BoxPrimitive.StyleOptions;
|
|
12719
|
-
label?: LabelEntity.StyleOptions;
|
|
12623
|
+
highlight?: BoxPrimitive.StyleOptions | any;
|
|
12624
|
+
label?: LabelEntity.StyleOptions | any;
|
|
12720
12625
|
};
|
|
12721
12626
|
}
|
|
12722
12627
|
|
|
@@ -12754,7 +12659,7 @@ declare class BoxPrimitive extends BasePointPrimitive {
|
|
|
12754
12659
|
constructor(options: {
|
|
12755
12660
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
12756
12661
|
modelMatrix?: Cesium.Matrix4;
|
|
12757
|
-
style: BoxPrimitive.StyleOptions;
|
|
12662
|
+
style: BoxPrimitive.StyleOptions | any;
|
|
12758
12663
|
attr?: any;
|
|
12759
12664
|
appearance?: Cesium.Appearance;
|
|
12760
12665
|
attributes?: Cesium.Appearance;
|
|
@@ -12769,9 +12674,9 @@ declare class BoxPrimitive extends BasePointPrimitive {
|
|
|
12769
12674
|
debugShowBoundingVolume?: boolean;
|
|
12770
12675
|
debugShowShadowVolume?: boolean;
|
|
12771
12676
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
12772
|
-
popupOptions?: Popup.StyleOptions;
|
|
12677
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
12773
12678
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
12774
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
12679
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
12775
12680
|
contextmenuItems?: any;
|
|
12776
12681
|
id?: string | number;
|
|
12777
12682
|
name?: string;
|
|
@@ -12818,7 +12723,7 @@ declare namespace CirclePrimitive {
|
|
|
12818
12723
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
12819
12724
|
* @property [label] - 支持附带文字的显示
|
|
12820
12725
|
*/
|
|
12821
|
-
type StyleOptions = {
|
|
12726
|
+
type StyleOptions = any | {
|
|
12822
12727
|
radius?: number;
|
|
12823
12728
|
height?: number;
|
|
12824
12729
|
diffHeight?: number;
|
|
@@ -12834,7 +12739,7 @@ declare namespace CirclePrimitive {
|
|
|
12834
12739
|
outline?: boolean;
|
|
12835
12740
|
outlineColor?: string | Cesium.Color;
|
|
12836
12741
|
outlineOpacity?: number;
|
|
12837
|
-
outlineStyle?: PolylinePrimitive.StyleOptions;
|
|
12742
|
+
outlineStyle?: PolylinePrimitive.StyleOptions | any;
|
|
12838
12743
|
materialSupport?: Cesium.MaterialAppearance.MaterialSupportType;
|
|
12839
12744
|
clampToGround?: boolean;
|
|
12840
12745
|
classificationType?: Cesium.ClassificationType;
|
|
@@ -12848,8 +12753,8 @@ declare namespace CirclePrimitive {
|
|
|
12848
12753
|
renderState?: any;
|
|
12849
12754
|
setHeight?: number | string;
|
|
12850
12755
|
addHeight?: number | string;
|
|
12851
|
-
highlight?: CirclePrimitive.StyleOptions;
|
|
12852
|
-
label?: LabelEntity.StyleOptions;
|
|
12756
|
+
highlight?: CirclePrimitive.StyleOptions | any;
|
|
12757
|
+
label?: LabelEntity.StyleOptions | any;
|
|
12853
12758
|
};
|
|
12854
12759
|
}
|
|
12855
12760
|
|
|
@@ -12887,7 +12792,7 @@ declare class CirclePrimitive extends BasePointPrimitive {
|
|
|
12887
12792
|
constructor(options: {
|
|
12888
12793
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
12889
12794
|
modelMatrix?: Cesium.Matrix4;
|
|
12890
|
-
style: CirclePrimitive.StyleOptions;
|
|
12795
|
+
style: CirclePrimitive.StyleOptions | any;
|
|
12891
12796
|
attr?: any;
|
|
12892
12797
|
appearance?: Cesium.Appearance;
|
|
12893
12798
|
attributes?: Cesium.Appearance;
|
|
@@ -12902,9 +12807,9 @@ declare class CirclePrimitive extends BasePointPrimitive {
|
|
|
12902
12807
|
debugShowBoundingVolume?: boolean;
|
|
12903
12808
|
debugShowShadowVolume?: boolean;
|
|
12904
12809
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
12905
|
-
popupOptions?: Popup.StyleOptions;
|
|
12810
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
12906
12811
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
12907
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
12812
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
12908
12813
|
contextmenuItems?: any;
|
|
12909
12814
|
id?: string | number;
|
|
12910
12815
|
name?: string;
|
|
@@ -13001,7 +12906,7 @@ declare namespace CloudPrimitive {
|
|
|
13001
12906
|
* @property slice - 云的“切片”,即为广告牌外观选择的云的特定横截面。给定一个介于 0 和 1 之间的值,切片根据其在 z 方向上的最大尺寸指定与云相交的深度。
|
|
13002
12907
|
* @property [brightness = 1.0] - 亮度
|
|
13003
12908
|
*/
|
|
13004
|
-
type StyleOptions = {
|
|
12909
|
+
type StyleOptions = any | {
|
|
13005
12910
|
scale: Cesium.Cartesian2;
|
|
13006
12911
|
maximumSize: Cesium.Cartesian3;
|
|
13007
12912
|
slice: number;
|
|
@@ -13032,12 +12937,12 @@ declare namespace CloudPrimitive {
|
|
|
13032
12937
|
declare class CloudPrimitive extends BasePointPrimitive {
|
|
13033
12938
|
constructor(options: {
|
|
13034
12939
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
13035
|
-
style: CloudPrimitive.StyleOptions;
|
|
12940
|
+
style: CloudPrimitive.StyleOptions | any;
|
|
13036
12941
|
attr?: any;
|
|
13037
12942
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
13038
|
-
popupOptions?: Popup.StyleOptions;
|
|
12943
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
13039
12944
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
13040
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
12945
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
13041
12946
|
contextmenuItems?: any;
|
|
13042
12947
|
id?: string | number;
|
|
13043
12948
|
name?: string;
|
|
@@ -13178,7 +13083,7 @@ declare namespace ConeTrackPrimitive {
|
|
|
13178
13083
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
13179
13084
|
* @property [label] - 支持附带文字的显示
|
|
13180
13085
|
*/
|
|
13181
|
-
type StyleOptions = {
|
|
13086
|
+
type StyleOptions = any | {
|
|
13182
13087
|
angle?: number;
|
|
13183
13088
|
bottomRadius?: number;
|
|
13184
13089
|
length?: number;
|
|
@@ -13203,8 +13108,8 @@ declare namespace ConeTrackPrimitive {
|
|
|
13203
13108
|
vertexShaderSource?: string;
|
|
13204
13109
|
fragmentShaderSource?: string;
|
|
13205
13110
|
renderState?: any;
|
|
13206
|
-
highlight?: CylinderPrimitive.StyleOptions;
|
|
13207
|
-
label?: LabelEntity.StyleOptions;
|
|
13111
|
+
highlight?: CylinderPrimitive.StyleOptions | any;
|
|
13112
|
+
label?: LabelEntity.StyleOptions | any;
|
|
13208
13113
|
};
|
|
13209
13114
|
}
|
|
13210
13115
|
|
|
@@ -13242,7 +13147,7 @@ declare class ConeTrackPrimitive extends CylinderPrimitive {
|
|
|
13242
13147
|
constructor(options: {
|
|
13243
13148
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
13244
13149
|
targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
13245
|
-
style: ConeTrackPrimitive.StyleOptions;
|
|
13150
|
+
style: ConeTrackPrimitive.StyleOptions | any;
|
|
13246
13151
|
attr?: any;
|
|
13247
13152
|
appearance?: Cesium.Appearance;
|
|
13248
13153
|
attributes?: Cesium.Appearance;
|
|
@@ -13257,9 +13162,9 @@ declare class ConeTrackPrimitive extends CylinderPrimitive {
|
|
|
13257
13162
|
debugShowBoundingVolume?: boolean;
|
|
13258
13163
|
debugShowShadowVolume?: boolean;
|
|
13259
13164
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
13260
|
-
popupOptions?: Popup.StyleOptions;
|
|
13165
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
13261
13166
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
13262
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
13167
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
13263
13168
|
contextmenuItems?: any;
|
|
13264
13169
|
id?: string | number;
|
|
13265
13170
|
name?: string;
|
|
@@ -13316,7 +13221,7 @@ declare namespace CorridorPrimitive {
|
|
|
13316
13221
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
13317
13222
|
* @property [label] - 支持附带文字的显示
|
|
13318
13223
|
*/
|
|
13319
|
-
type StyleOptions = {
|
|
13224
|
+
type StyleOptions = any | {
|
|
13320
13225
|
width?: number;
|
|
13321
13226
|
cornerType?: string | Cesium.CornerType;
|
|
13322
13227
|
materialType?: string;
|
|
@@ -13344,7 +13249,7 @@ declare namespace CorridorPrimitive {
|
|
|
13344
13249
|
renderState?: any;
|
|
13345
13250
|
setHeight?: number | string;
|
|
13346
13251
|
addHeight?: number | string;
|
|
13347
|
-
label?: LabelPrimitive.StyleOptions;
|
|
13252
|
+
label?: LabelPrimitive.StyleOptions | any;
|
|
13348
13253
|
};
|
|
13349
13254
|
}
|
|
13350
13255
|
|
|
@@ -13380,7 +13285,7 @@ declare namespace CorridorPrimitive {
|
|
|
13380
13285
|
declare class CorridorPrimitive extends BasePolyPrimitive {
|
|
13381
13286
|
constructor(options: {
|
|
13382
13287
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
13383
|
-
style: CorridorPrimitive.StyleOptions;
|
|
13288
|
+
style: CorridorPrimitive.StyleOptions | any;
|
|
13384
13289
|
attr?: any;
|
|
13385
13290
|
appearance?: Cesium.Appearance;
|
|
13386
13291
|
attributes?: Cesium.Appearance;
|
|
@@ -13395,9 +13300,9 @@ declare class CorridorPrimitive extends BasePolyPrimitive {
|
|
|
13395
13300
|
debugShowBoundingVolume?: boolean;
|
|
13396
13301
|
debugShowShadowVolume?: boolean;
|
|
13397
13302
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
13398
|
-
popupOptions?: Popup.StyleOptions;
|
|
13303
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
13399
13304
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
13400
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
13305
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
13401
13306
|
contextmenuItems?: any;
|
|
13402
13307
|
id?: string | number;
|
|
13403
13308
|
name?: string;
|
|
@@ -13436,7 +13341,7 @@ declare namespace CylinderPrimitive {
|
|
|
13436
13341
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
13437
13342
|
* @property [label] - 支持附带文字的显示
|
|
13438
13343
|
*/
|
|
13439
|
-
type StyleOptions = {
|
|
13344
|
+
type StyleOptions = any | {
|
|
13440
13345
|
topRadius?: number;
|
|
13441
13346
|
bottomRadius?: number;
|
|
13442
13347
|
length?: number;
|
|
@@ -13460,8 +13365,8 @@ declare namespace CylinderPrimitive {
|
|
|
13460
13365
|
vertexShaderSource?: string;
|
|
13461
13366
|
fragmentShaderSource?: string;
|
|
13462
13367
|
renderState?: any;
|
|
13463
|
-
highlight?: CylinderPrimitive.StyleOptions;
|
|
13464
|
-
label?: LabelEntity.StyleOptions;
|
|
13368
|
+
highlight?: CylinderPrimitive.StyleOptions | any;
|
|
13369
|
+
label?: LabelEntity.StyleOptions | any;
|
|
13465
13370
|
};
|
|
13466
13371
|
}
|
|
13467
13372
|
|
|
@@ -13499,7 +13404,7 @@ declare class CylinderPrimitive extends BasePointPrimitive {
|
|
|
13499
13404
|
constructor(options: {
|
|
13500
13405
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
13501
13406
|
modelMatrix?: Cesium.Matrix4;
|
|
13502
|
-
style: CylinderPrimitive.StyleOptions;
|
|
13407
|
+
style: CylinderPrimitive.StyleOptions | any;
|
|
13503
13408
|
attr?: any;
|
|
13504
13409
|
appearance?: Cesium.Appearance;
|
|
13505
13410
|
attributes?: Cesium.Appearance;
|
|
@@ -13514,9 +13419,9 @@ declare class CylinderPrimitive extends BasePointPrimitive {
|
|
|
13514
13419
|
debugShowBoundingVolume?: boolean;
|
|
13515
13420
|
debugShowShadowVolume?: boolean;
|
|
13516
13421
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
13517
|
-
popupOptions?: Popup.StyleOptions;
|
|
13422
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
13518
13423
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
13519
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
13424
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
13520
13425
|
contextmenuItems?: any;
|
|
13521
13426
|
id?: string | number;
|
|
13522
13427
|
name?: string;
|
|
@@ -13535,7 +13440,7 @@ declare namespace DiffuseWall {
|
|
|
13535
13440
|
* @property [speed = 10] - 扩散的速度,值越大越快
|
|
13536
13441
|
* @property [shadows = Cesium.ShadowMode.DISABLED] - 指定对象是投射还是接收来自光源的阴影。
|
|
13537
13442
|
*/
|
|
13538
|
-
type StyleOptions = {
|
|
13443
|
+
type StyleOptions = any | {
|
|
13539
13444
|
diffHeight?: number;
|
|
13540
13445
|
color?: string | Cesium.Color;
|
|
13541
13446
|
opacity?: number;
|
|
@@ -13566,12 +13471,12 @@ declare class DiffuseWall extends BasePolyPrimitive {
|
|
|
13566
13471
|
constructor(options: {
|
|
13567
13472
|
positions?: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
13568
13473
|
position?: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
13569
|
-
style?: DiffuseWall.StyleOptions;
|
|
13474
|
+
style?: DiffuseWall.StyleOptions | any;
|
|
13570
13475
|
attr?: any;
|
|
13571
13476
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
13572
|
-
popupOptions?: Popup.StyleOptions;
|
|
13477
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
13573
13478
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
13574
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
13479
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
13575
13480
|
contextmenuItems?: any;
|
|
13576
13481
|
id?: string | number;
|
|
13577
13482
|
name?: string;
|
|
@@ -13605,7 +13510,7 @@ declare namespace DynamicRiver {
|
|
|
13605
13510
|
* @property [move = true] - 是否开启流动效果
|
|
13606
13511
|
* @property [direction = true] - 设置流动方向
|
|
13607
13512
|
*/
|
|
13608
|
-
type StyleOptions = {
|
|
13513
|
+
type StyleOptions = any | {
|
|
13609
13514
|
image: string;
|
|
13610
13515
|
opacity?: number;
|
|
13611
13516
|
width?: number;
|
|
@@ -13632,7 +13537,7 @@ declare namespace DynamicRiver {
|
|
|
13632
13537
|
declare class DynamicRiver extends BasePolyPrimitive {
|
|
13633
13538
|
constructor(options: {
|
|
13634
13539
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
13635
|
-
style: DynamicRiver.StyleOptions;
|
|
13540
|
+
style: DynamicRiver.StyleOptions | any;
|
|
13636
13541
|
attr?: any;
|
|
13637
13542
|
id?: string | number;
|
|
13638
13543
|
name?: string;
|
|
@@ -13727,7 +13632,7 @@ declare namespace EllipsoidPrimitive {
|
|
|
13727
13632
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
13728
13633
|
* @property [label] - 支持附带文字的显示
|
|
13729
13634
|
*/
|
|
13730
|
-
type StyleOptions = {
|
|
13635
|
+
type StyleOptions = any | {
|
|
13731
13636
|
radii?: Cesium.Cartesian3;
|
|
13732
13637
|
radii_x?: number;
|
|
13733
13638
|
radii_y?: number;
|
|
@@ -13762,8 +13667,8 @@ declare namespace EllipsoidPrimitive {
|
|
|
13762
13667
|
vertexShaderSource?: string;
|
|
13763
13668
|
fragmentShaderSource?: string;
|
|
13764
13669
|
renderState?: any;
|
|
13765
|
-
highlight?: EllipsoidPrimitive.StyleOptions;
|
|
13766
|
-
label?: LabelEntity.StyleOptions;
|
|
13670
|
+
highlight?: EllipsoidPrimitive.StyleOptions | any;
|
|
13671
|
+
label?: LabelEntity.StyleOptions | any;
|
|
13767
13672
|
};
|
|
13768
13673
|
}
|
|
13769
13674
|
|
|
@@ -13801,7 +13706,7 @@ declare class EllipsoidPrimitive extends BasePointPrimitive {
|
|
|
13801
13706
|
constructor(options: {
|
|
13802
13707
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
13803
13708
|
modelMatrix?: Cesium.Matrix4;
|
|
13804
|
-
style: EllipsoidPrimitive.StyleOptions;
|
|
13709
|
+
style: EllipsoidPrimitive.StyleOptions | any;
|
|
13805
13710
|
attr?: any;
|
|
13806
13711
|
appearance?: Cesium.Appearance;
|
|
13807
13712
|
attributes?: Cesium.Appearance;
|
|
@@ -13816,9 +13721,9 @@ declare class EllipsoidPrimitive extends BasePointPrimitive {
|
|
|
13816
13721
|
debugShowBoundingVolume?: boolean;
|
|
13817
13722
|
debugShowShadowVolume?: boolean;
|
|
13818
13723
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
13819
|
-
popupOptions?: Popup.StyleOptions;
|
|
13724
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
13820
13725
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
13821
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
13726
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
13822
13727
|
contextmenuItems?: any;
|
|
13823
13728
|
id?: string | number;
|
|
13824
13729
|
name?: string;
|
|
@@ -13856,7 +13761,7 @@ declare namespace FrustumPrimitive {
|
|
|
13856
13761
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
13857
13762
|
* @property [label] - 支持附带文字的显示
|
|
13858
13763
|
*/
|
|
13859
|
-
type StyleOptions = {
|
|
13764
|
+
type StyleOptions = any | {
|
|
13860
13765
|
angle?: number;
|
|
13861
13766
|
angle2?: number;
|
|
13862
13767
|
length?: number;
|
|
@@ -13879,8 +13784,8 @@ declare namespace FrustumPrimitive {
|
|
|
13879
13784
|
vertexShaderSource?: string;
|
|
13880
13785
|
fragmentShaderSource?: string;
|
|
13881
13786
|
renderState?: any;
|
|
13882
|
-
highlight?: FrustumPrimitive.StyleOptions;
|
|
13883
|
-
label?: LabelEntity.StyleOptions;
|
|
13787
|
+
highlight?: FrustumPrimitive.StyleOptions | any;
|
|
13788
|
+
label?: LabelEntity.StyleOptions | any;
|
|
13884
13789
|
};
|
|
13885
13790
|
}
|
|
13886
13791
|
|
|
@@ -13918,7 +13823,7 @@ declare class FrustumPrimitive extends BasePointPrimitive {
|
|
|
13918
13823
|
constructor(options: {
|
|
13919
13824
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
13920
13825
|
targetPosition?: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
13921
|
-
style: FrustumPrimitive.StyleOptions;
|
|
13826
|
+
style: FrustumPrimitive.StyleOptions | any;
|
|
13922
13827
|
attr?: any;
|
|
13923
13828
|
appearance?: Cesium.Appearance;
|
|
13924
13829
|
attributes?: Cesium.Appearance;
|
|
@@ -13933,9 +13838,9 @@ declare class FrustumPrimitive extends BasePointPrimitive {
|
|
|
13933
13838
|
debugShowBoundingVolume?: boolean;
|
|
13934
13839
|
debugShowShadowVolume?: boolean;
|
|
13935
13840
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
13936
|
-
popupOptions?: Popup.StyleOptions;
|
|
13841
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
13937
13842
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
13938
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
13843
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
13939
13844
|
contextmenuItems?: any;
|
|
13940
13845
|
id?: string | number;
|
|
13941
13846
|
name?: string;
|
|
@@ -13991,8 +13896,8 @@ declare namespace LabelPrimitive {
|
|
|
13991
13896
|
* 文字 支持的样式信息(与LabelEntity相同)
|
|
13992
13897
|
* @property [所有] - 与LabelEntity相同
|
|
13993
13898
|
*/
|
|
13994
|
-
type StyleOptions = {
|
|
13995
|
-
所有?: LabelEntity.StyleOptions;
|
|
13899
|
+
type StyleOptions = any | {
|
|
13900
|
+
所有?: LabelEntity.StyleOptions | any;
|
|
13996
13901
|
};
|
|
13997
13902
|
}
|
|
13998
13903
|
|
|
@@ -14016,12 +13921,12 @@ declare namespace LabelPrimitive {
|
|
|
14016
13921
|
declare class LabelPrimitive extends BasePointPrimitive {
|
|
14017
13922
|
constructor(options: {
|
|
14018
13923
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
14019
|
-
style: LabelPrimitive.StyleOptions;
|
|
13924
|
+
style: LabelPrimitive.StyleOptions | any;
|
|
14020
13925
|
attr?: any;
|
|
14021
13926
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
14022
|
-
popupOptions?: Popup.StyleOptions;
|
|
13927
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
14023
13928
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
14024
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
13929
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
14025
13930
|
contextmenuItems?: any;
|
|
14026
13931
|
id?: string | number;
|
|
14027
13932
|
name?: string;
|
|
@@ -14046,7 +13951,7 @@ declare namespace LightCone {
|
|
|
14046
13951
|
* @property [radius = 100] - 锥体底部半径。(单位:米)
|
|
14047
13952
|
* @property [height = 1000] - 锥体高度,相对于椭球面的高度。(单位:米)
|
|
14048
13953
|
*/
|
|
14049
|
-
type StyleOptions = {
|
|
13954
|
+
type StyleOptions = any | {
|
|
14050
13955
|
color?: string | Cesium.Color;
|
|
14051
13956
|
radius?: number;
|
|
14052
13957
|
height?: number;
|
|
@@ -14073,12 +13978,12 @@ declare namespace LightCone {
|
|
|
14073
13978
|
declare class LightCone extends BasePointPrimitive {
|
|
14074
13979
|
constructor(options: {
|
|
14075
13980
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
14076
|
-
style: LightCone.StyleOptions;
|
|
13981
|
+
style: LightCone.StyleOptions | any;
|
|
14077
13982
|
attr?: any;
|
|
14078
13983
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
14079
|
-
popupOptions?: Popup.StyleOptions;
|
|
13984
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
14080
13985
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
14081
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
13986
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
14082
13987
|
contextmenuItems?: any;
|
|
14083
13988
|
id?: string | number;
|
|
14084
13989
|
name?: string;
|
|
@@ -14157,7 +14062,7 @@ declare namespace ModelPrimitive {
|
|
|
14157
14062
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
14158
14063
|
* @property [label] - 支持附带文字的显示
|
|
14159
14064
|
*/
|
|
14160
|
-
type StyleOptions = {
|
|
14065
|
+
type StyleOptions = any | {
|
|
14161
14066
|
url?: string | Cesium.Resource;
|
|
14162
14067
|
scale?: number;
|
|
14163
14068
|
scaleX?: number;
|
|
@@ -14181,8 +14086,8 @@ declare namespace ModelPrimitive {
|
|
|
14181
14086
|
distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
|
|
14182
14087
|
distanceDisplayCondition_near?: number;
|
|
14183
14088
|
distanceDisplayCondition_far?: number;
|
|
14184
|
-
distanceDisplayPoint?: PointEntity.StyleOptions;
|
|
14185
|
-
distanceDisplayBillboard?: BillboardEntity.StyleOptions;
|
|
14089
|
+
distanceDisplayPoint?: PointEntity.StyleOptions | any;
|
|
14090
|
+
distanceDisplayBillboard?: BillboardEntity.StyleOptions | any;
|
|
14186
14091
|
customShader?: Cesium.CustomShader;
|
|
14187
14092
|
hasShadows?: boolean;
|
|
14188
14093
|
shadows?: Cesium.ShadowMode;
|
|
@@ -14215,8 +14120,8 @@ declare namespace ModelPrimitive {
|
|
|
14215
14120
|
loop?: Cesium.ModelAnimationLoop;
|
|
14216
14121
|
setHeight?: number | string;
|
|
14217
14122
|
addHeight?: number | string;
|
|
14218
|
-
highlight?: ModelPrimitive.StyleOptions;
|
|
14219
|
-
label?: LabelEntity.StyleOptions;
|
|
14123
|
+
highlight?: ModelPrimitive.StyleOptions | any;
|
|
14124
|
+
label?: LabelEntity.StyleOptions | any;
|
|
14220
14125
|
};
|
|
14221
14126
|
/**
|
|
14222
14127
|
* 当前类支持的{@link EventType}事件类型
|
|
@@ -14296,7 +14201,7 @@ declare class ModelPrimitive extends BasePointPrimitive {
|
|
|
14296
14201
|
constructor(options: {
|
|
14297
14202
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
14298
14203
|
modelMatrix?: Cesium.Matrix4;
|
|
14299
|
-
style: ModelPrimitive.StyleOptions;
|
|
14204
|
+
style: ModelPrimitive.StyleOptions | any;
|
|
14300
14205
|
attr?: any;
|
|
14301
14206
|
appearance?: Cesium.Appearance;
|
|
14302
14207
|
attributes?: Cesium.Appearance;
|
|
@@ -14307,9 +14212,9 @@ declare class ModelPrimitive extends BasePointPrimitive {
|
|
|
14307
14212
|
frameRateHeight?: number;
|
|
14308
14213
|
objectsToExclude?: any;
|
|
14309
14214
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
14310
|
-
popupOptions?: Popup.StyleOptions;
|
|
14215
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
14311
14216
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
14312
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
14217
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
14313
14218
|
contextmenuItems?: any;
|
|
14314
14219
|
id?: string | number;
|
|
14315
14220
|
name?: string;
|
|
@@ -14348,12 +14253,12 @@ declare namespace Pit {
|
|
|
14348
14253
|
* @property [splitNum = 50] - 井墙面每两点之间插值个数
|
|
14349
14254
|
* @property [label] - 支持附带文字的显示
|
|
14350
14255
|
*/
|
|
14351
|
-
type StyleOptions = {
|
|
14256
|
+
type StyleOptions = any | {
|
|
14352
14257
|
image: string;
|
|
14353
14258
|
imageBottom: string;
|
|
14354
14259
|
diffHeight: number;
|
|
14355
14260
|
splitNum?: number;
|
|
14356
|
-
label?: LabelPrimitive.StyleOptions;
|
|
14261
|
+
label?: LabelPrimitive.StyleOptions | any;
|
|
14357
14262
|
};
|
|
14358
14263
|
}
|
|
14359
14264
|
|
|
@@ -14390,7 +14295,7 @@ declare namespace Pit {
|
|
|
14390
14295
|
declare class Pit extends BasePolyPrimitive {
|
|
14391
14296
|
constructor(options: {
|
|
14392
14297
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
14393
|
-
style: Pit.StyleOptions;
|
|
14298
|
+
style: Pit.StyleOptions | any;
|
|
14394
14299
|
attr?: any;
|
|
14395
14300
|
appearance?: Cesium.Appearance;
|
|
14396
14301
|
attributes?: Cesium.Appearance;
|
|
@@ -14405,9 +14310,9 @@ declare class Pit extends BasePolyPrimitive {
|
|
|
14405
14310
|
debugShowBoundingVolume?: boolean;
|
|
14406
14311
|
debugShowShadowVolume?: boolean;
|
|
14407
14312
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
14408
|
-
popupOptions?: Popup.StyleOptions;
|
|
14313
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
14409
14314
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
14410
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
14315
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
14411
14316
|
contextmenuItems?: any;
|
|
14412
14317
|
id?: string | number;
|
|
14413
14318
|
name?: string;
|
|
@@ -14456,7 +14361,7 @@ declare namespace PlanePrimitive {
|
|
|
14456
14361
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
14457
14362
|
* @property [label] - 支持附带文字的显示
|
|
14458
14363
|
*/
|
|
14459
|
-
type StyleOptions = {
|
|
14364
|
+
type StyleOptions = any | {
|
|
14460
14365
|
dimensions?: Cesium.Cartesian2;
|
|
14461
14366
|
dimensions_x?: number;
|
|
14462
14367
|
dimensions_y?: number;
|
|
@@ -14480,8 +14385,8 @@ declare namespace PlanePrimitive {
|
|
|
14480
14385
|
vertexShaderSource?: string;
|
|
14481
14386
|
fragmentShaderSource?: string;
|
|
14482
14387
|
renderState?: any;
|
|
14483
|
-
highlight?: PlanePrimitive.StyleOptions;
|
|
14484
|
-
label?: LabelEntity.StyleOptions;
|
|
14388
|
+
highlight?: PlanePrimitive.StyleOptions | any;
|
|
14389
|
+
label?: LabelEntity.StyleOptions | any;
|
|
14485
14390
|
};
|
|
14486
14391
|
}
|
|
14487
14392
|
|
|
@@ -14519,7 +14424,7 @@ declare class PlanePrimitive extends BasePointPrimitive {
|
|
|
14519
14424
|
constructor(options: {
|
|
14520
14425
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
14521
14426
|
modelMatrix?: Cesium.Matrix4;
|
|
14522
|
-
style: PlanePrimitive.StyleOptions;
|
|
14427
|
+
style: PlanePrimitive.StyleOptions | any;
|
|
14523
14428
|
attr?: any;
|
|
14524
14429
|
appearance?: Cesium.Appearance;
|
|
14525
14430
|
attributes?: Cesium.Appearance;
|
|
@@ -14534,9 +14439,9 @@ declare class PlanePrimitive extends BasePointPrimitive {
|
|
|
14534
14439
|
debugShowBoundingVolume?: boolean;
|
|
14535
14440
|
debugShowShadowVolume?: boolean;
|
|
14536
14441
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
14537
|
-
popupOptions?: Popup.StyleOptions;
|
|
14442
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
14538
14443
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
14539
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
14444
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
14540
14445
|
contextmenuItems?: any;
|
|
14541
14446
|
id?: string | number;
|
|
14542
14447
|
name?: string;
|
|
@@ -14575,7 +14480,7 @@ declare namespace PointPrimitive {
|
|
|
14575
14480
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
14576
14481
|
* @property [label] - 支持附带文字的显示
|
|
14577
14482
|
*/
|
|
14578
|
-
type StyleOptions = {
|
|
14483
|
+
type StyleOptions = any | {
|
|
14579
14484
|
pixelSize?: number;
|
|
14580
14485
|
color?: string | Cesium.Color;
|
|
14581
14486
|
opacity?: number;
|
|
@@ -14596,7 +14501,7 @@ declare namespace PointPrimitive {
|
|
|
14596
14501
|
translucencyByDistance?: Cesium.NearFarScalar;
|
|
14597
14502
|
setHeight?: number | string;
|
|
14598
14503
|
addHeight?: number | string;
|
|
14599
|
-
label?: LabelPrimitive.StyleOptions;
|
|
14504
|
+
label?: LabelPrimitive.StyleOptions | any;
|
|
14600
14505
|
};
|
|
14601
14506
|
}
|
|
14602
14507
|
|
|
@@ -14621,13 +14526,13 @@ declare namespace PointPrimitive {
|
|
|
14621
14526
|
declare class PointPrimitive extends BasePointPrimitive {
|
|
14622
14527
|
constructor(options: {
|
|
14623
14528
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
14624
|
-
style: PointPrimitive.StyleOptions;
|
|
14529
|
+
style: PointPrimitive.StyleOptions | any;
|
|
14625
14530
|
attr?: any;
|
|
14626
14531
|
frameRate?: number;
|
|
14627
14532
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
14628
|
-
popupOptions?: Popup.StyleOptions;
|
|
14533
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
14629
14534
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
14630
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
14535
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
14631
14536
|
contextmenuItems?: any;
|
|
14632
14537
|
id?: string | number;
|
|
14633
14538
|
name?: string;
|
|
@@ -14682,11 +14587,11 @@ declare namespace PolygonPrimitive {
|
|
|
14682
14587
|
* @property [setHeight] - 指定坐标高度值,或数组指定每个点的高度(常用于图层中配置)
|
|
14683
14588
|
* @property [addHeight] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
|
|
14684
14589
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
14685
|
-
* @property [label] - 支持附带文字的显示
|
|
14686
|
-
* @property [label.position]
|
|
14687
|
-
* @property [label.showAll]
|
|
14590
|
+
* @property [label] - 支持附带文字的显示 ,额外支持:<br />
|
|
14591
|
+
* // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
14592
|
+
* // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
14688
14593
|
*/
|
|
14689
|
-
type StyleOptions = {
|
|
14594
|
+
type StyleOptions = any | {
|
|
14690
14595
|
materialType?: string;
|
|
14691
14596
|
material的多个参数?: any;
|
|
14692
14597
|
material?: Cesium.Material;
|
|
@@ -14699,7 +14604,7 @@ declare namespace PolygonPrimitive {
|
|
|
14699
14604
|
outline?: boolean;
|
|
14700
14605
|
outlineColor?: string | Cesium.Color;
|
|
14701
14606
|
outlineOpacity?: number;
|
|
14702
|
-
outlineStyle?: PolylinePrimitive.StyleOptions;
|
|
14607
|
+
outlineStyle?: PolylinePrimitive.StyleOptions | any;
|
|
14703
14608
|
height?: number;
|
|
14704
14609
|
diffHeight?: number;
|
|
14705
14610
|
extrudedHeight?: number;
|
|
@@ -14722,11 +14627,8 @@ declare namespace PolygonPrimitive {
|
|
|
14722
14627
|
buffer?: number;
|
|
14723
14628
|
setHeight?: number | number[];
|
|
14724
14629
|
addHeight?: number | number[];
|
|
14725
|
-
highlight?: PolygonPrimitive.StyleOptions;
|
|
14726
|
-
label?:
|
|
14727
|
-
position?: string | LngLatPoint;
|
|
14728
|
-
showAll?: boolean;
|
|
14729
|
-
};
|
|
14630
|
+
highlight?: PolygonPrimitive.StyleOptions | any;
|
|
14631
|
+
label?: LabelPrimitive.StyleOptions | any | any;
|
|
14730
14632
|
};
|
|
14731
14633
|
}
|
|
14732
14634
|
|
|
@@ -14762,7 +14664,7 @@ declare namespace PolygonPrimitive {
|
|
|
14762
14664
|
declare class PolygonPrimitive extends BasePolyPrimitive {
|
|
14763
14665
|
constructor(options: {
|
|
14764
14666
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
14765
|
-
style: PolygonPrimitive.StyleOptions;
|
|
14667
|
+
style: PolygonPrimitive.StyleOptions | any;
|
|
14766
14668
|
attr?: any;
|
|
14767
14669
|
appearance?: Cesium.Appearance;
|
|
14768
14670
|
attributes?: Cesium.Appearance;
|
|
@@ -14777,9 +14679,9 @@ declare class PolygonPrimitive extends BasePolyPrimitive {
|
|
|
14777
14679
|
debugShowBoundingVolume?: boolean;
|
|
14778
14680
|
debugShowShadowVolume?: boolean;
|
|
14779
14681
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
14780
|
-
popupOptions?: Popup.StyleOptions;
|
|
14682
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
14781
14683
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
14782
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
14684
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
14783
14685
|
contextmenuItems?: any;
|
|
14784
14686
|
id?: string | number;
|
|
14785
14687
|
name?: string;
|
|
@@ -14825,11 +14727,11 @@ declare namespace PolylinePrimitive {
|
|
|
14825
14727
|
* @property [setHeight] - 指定坐标高度值,或数组指定每个点的高度(常用于图层中配置)
|
|
14826
14728
|
* @property [addHeight] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
|
|
14827
14729
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
14828
|
-
* @property [label] - 支持附带文字的显示
|
|
14829
|
-
* @property [label.position]
|
|
14830
|
-
* @property [label.showAll]
|
|
14730
|
+
* @property [label] - 支持附带文字的显示 ,额外支持:<br />
|
|
14731
|
+
* // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
14732
|
+
* // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
14831
14733
|
*/
|
|
14832
|
-
type StyleOptions = {
|
|
14734
|
+
type StyleOptions = any | {
|
|
14833
14735
|
width?: number;
|
|
14834
14736
|
materialType?: string;
|
|
14835
14737
|
material的多个参数?: any;
|
|
@@ -14854,11 +14756,8 @@ declare namespace PolylinePrimitive {
|
|
|
14854
14756
|
classificationType?: Cesium.ClassificationType;
|
|
14855
14757
|
setHeight?: number | number[];
|
|
14856
14758
|
addHeight?: number | number[];
|
|
14857
|
-
highlight?: PolylinePrimitive.StyleOptions;
|
|
14858
|
-
label?:
|
|
14859
|
-
position?: string | LngLatPoint;
|
|
14860
|
-
showAll?: boolean;
|
|
14861
|
-
};
|
|
14759
|
+
highlight?: PolylinePrimitive.StyleOptions | any;
|
|
14760
|
+
label?: LabelPrimitive.StyleOptions | any | any;
|
|
14862
14761
|
};
|
|
14863
14762
|
}
|
|
14864
14763
|
|
|
@@ -14894,7 +14793,7 @@ declare namespace PolylinePrimitive {
|
|
|
14894
14793
|
declare class PolylinePrimitive extends BasePolyPrimitive {
|
|
14895
14794
|
constructor(options: {
|
|
14896
14795
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
14897
|
-
style: PolylinePrimitive.StyleOptions;
|
|
14796
|
+
style: PolylinePrimitive.StyleOptions | any;
|
|
14898
14797
|
attr?: any;
|
|
14899
14798
|
appearance?: Cesium.Appearance;
|
|
14900
14799
|
attributes?: Cesium.Appearance;
|
|
@@ -14909,9 +14808,9 @@ declare class PolylinePrimitive extends BasePolyPrimitive {
|
|
|
14909
14808
|
debugShowBoundingVolume?: boolean;
|
|
14910
14809
|
debugShowShadowVolume?: boolean;
|
|
14911
14810
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
14912
|
-
popupOptions?: Popup.StyleOptions;
|
|
14811
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
14913
14812
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
14914
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
14813
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
14915
14814
|
contextmenuItems?: any;
|
|
14916
14815
|
id?: string | number;
|
|
14917
14816
|
name?: string;
|
|
@@ -14953,7 +14852,7 @@ declare class PolylinePrimitive extends BasePolyPrimitive {
|
|
|
14953
14852
|
declare class PolylineSimplePrimitive extends BasePolyPrimitive {
|
|
14954
14853
|
constructor(options: {
|
|
14955
14854
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
14956
|
-
style: PolylinePrimitive.StyleOptions;
|
|
14855
|
+
style: PolylinePrimitive.StyleOptions | any;
|
|
14957
14856
|
attr?: any;
|
|
14958
14857
|
appearance?: Cesium.Appearance;
|
|
14959
14858
|
attributes?: Cesium.Appearance;
|
|
@@ -14968,9 +14867,9 @@ declare class PolylineSimplePrimitive extends BasePolyPrimitive {
|
|
|
14968
14867
|
debugShowBoundingVolume?: boolean;
|
|
14969
14868
|
debugShowShadowVolume?: boolean;
|
|
14970
14869
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
14971
|
-
popupOptions?: Popup.StyleOptions;
|
|
14870
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
14972
14871
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
14973
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
14872
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
14974
14873
|
contextmenuItems?: any;
|
|
14975
14874
|
id?: string | number;
|
|
14976
14875
|
name?: string;
|
|
@@ -15007,7 +14906,7 @@ declare namespace PolylineVolumePrimitive {
|
|
|
15007
14906
|
* @property [addHeight] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
|
|
15008
14907
|
* @property [label] - 支持附带文字的显示
|
|
15009
14908
|
*/
|
|
15010
|
-
type StyleOptions = {
|
|
14909
|
+
type StyleOptions = any | {
|
|
15011
14910
|
radius?: number;
|
|
15012
14911
|
shape?: string | Cesium.Cartesian2[];
|
|
15013
14912
|
materialType?: string;
|
|
@@ -15028,7 +14927,7 @@ declare namespace PolylineVolumePrimitive {
|
|
|
15028
14927
|
renderState?: any;
|
|
15029
14928
|
setHeight?: number | number[];
|
|
15030
14929
|
addHeight?: number | number[];
|
|
15031
|
-
label?: LabelPrimitive.StyleOptions;
|
|
14930
|
+
label?: LabelPrimitive.StyleOptions | any;
|
|
15032
14931
|
};
|
|
15033
14932
|
}
|
|
15034
14933
|
|
|
@@ -15064,7 +14963,7 @@ declare namespace PolylineVolumePrimitive {
|
|
|
15064
14963
|
declare class PolylineVolumePrimitive extends BasePolyPrimitive {
|
|
15065
14964
|
constructor(options: {
|
|
15066
14965
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
15067
|
-
style: PolylineVolumePrimitive.StyleOptions;
|
|
14966
|
+
style: PolylineVolumePrimitive.StyleOptions | any;
|
|
15068
14967
|
attr?: any;
|
|
15069
14968
|
appearance?: Cesium.Appearance;
|
|
15070
14969
|
attributes?: Cesium.Appearance;
|
|
@@ -15079,9 +14978,9 @@ declare class PolylineVolumePrimitive extends BasePolyPrimitive {
|
|
|
15079
14978
|
debugShowBoundingVolume?: boolean;
|
|
15080
14979
|
debugShowShadowVolume?: boolean;
|
|
15081
14980
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
15082
|
-
popupOptions?: Popup.StyleOptions;
|
|
14981
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
15083
14982
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
15084
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
14983
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
15085
14984
|
contextmenuItems?: any;
|
|
15086
14985
|
id?: string | number;
|
|
15087
14986
|
name?: string;
|
|
@@ -15120,7 +15019,7 @@ declare namespace RectanglePrimitive {
|
|
|
15120
15019
|
* @property [addHeight] - 在现有坐标基础上增加的高度值(常用于图层中配置),也支持字符串模版配置
|
|
15121
15020
|
* @property [label] - 支持附带文字的显示
|
|
15122
15021
|
*/
|
|
15123
|
-
type StyleOptions = {
|
|
15022
|
+
type StyleOptions = any | {
|
|
15124
15023
|
materialType?: string;
|
|
15125
15024
|
material的多个参数?: any;
|
|
15126
15025
|
material?: Cesium.Material;
|
|
@@ -15130,7 +15029,7 @@ declare namespace RectanglePrimitive {
|
|
|
15130
15029
|
outline?: boolean;
|
|
15131
15030
|
outlineColor?: string | Cesium.Color;
|
|
15132
15031
|
outlineOpacity?: number;
|
|
15133
|
-
outlineStyle?: PolylinePrimitive.StyleOptions;
|
|
15032
|
+
outlineStyle?: PolylinePrimitive.StyleOptions | any;
|
|
15134
15033
|
height?: number;
|
|
15135
15034
|
diffHeight?: number;
|
|
15136
15035
|
extrudedHeight?: number;
|
|
@@ -15145,7 +15044,7 @@ declare namespace RectanglePrimitive {
|
|
|
15145
15044
|
classification?: boolean;
|
|
15146
15045
|
setHeight?: number | string;
|
|
15147
15046
|
addHeight?: number | string;
|
|
15148
|
-
label?: LabelPrimitive.StyleOptions;
|
|
15047
|
+
label?: LabelPrimitive.StyleOptions | any;
|
|
15149
15048
|
};
|
|
15150
15049
|
}
|
|
15151
15050
|
|
|
@@ -15183,7 +15082,7 @@ declare class RectanglePrimitive extends BasePolyPrimitive {
|
|
|
15183
15082
|
constructor(options: {
|
|
15184
15083
|
positions?: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
15185
15084
|
rectangle?: Cesium.Rectangle | Cesium.PositionProperty;
|
|
15186
|
-
style: RectanglePrimitive.StyleOptions;
|
|
15085
|
+
style: RectanglePrimitive.StyleOptions | any;
|
|
15187
15086
|
attr?: any;
|
|
15188
15087
|
appearance?: Cesium.Appearance;
|
|
15189
15088
|
attributes?: Cesium.Appearance;
|
|
@@ -15198,9 +15097,9 @@ declare class RectanglePrimitive extends BasePolyPrimitive {
|
|
|
15198
15097
|
debugShowBoundingVolume?: boolean;
|
|
15199
15098
|
debugShowShadowVolume?: boolean;
|
|
15200
15099
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
15201
|
-
popupOptions?: Popup.StyleOptions;
|
|
15100
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
15202
15101
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
15203
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
15102
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
15204
15103
|
contextmenuItems?: any;
|
|
15205
15104
|
id?: string | number;
|
|
15206
15105
|
name?: string;
|
|
@@ -15241,7 +15140,7 @@ declare namespace Road {
|
|
|
15241
15140
|
* @property [height = 0] - 道路 高度,相对于椭球面的高度。(单位:米)
|
|
15242
15141
|
* @property [axisY = true] - 是否uv交换(图片横竖切换)
|
|
15243
15142
|
*/
|
|
15244
|
-
type StyleOptions = {
|
|
15143
|
+
type StyleOptions = any | {
|
|
15245
15144
|
image: string;
|
|
15246
15145
|
width?: number;
|
|
15247
15146
|
height?: number;
|
|
@@ -15264,7 +15163,7 @@ declare namespace Road {
|
|
|
15264
15163
|
declare class Road extends DynamicRiver {
|
|
15265
15164
|
constructor(options: {
|
|
15266
15165
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
15267
|
-
style: Road.StyleOptions;
|
|
15166
|
+
style: Road.StyleOptions | any;
|
|
15268
15167
|
attr?: any;
|
|
15269
15168
|
id?: string | number;
|
|
15270
15169
|
name?: string;
|
|
@@ -15285,7 +15184,7 @@ declare namespace ScrollWall {
|
|
|
15285
15184
|
* @property [style = 1] - 样式,可选值:1、2
|
|
15286
15185
|
* @property [shadows = Cesium.ShadowMode.DISABLED] - 指定对象是投射还是接收来自光源的阴影。
|
|
15287
15186
|
*/
|
|
15288
|
-
type StyleOptions = {
|
|
15187
|
+
type StyleOptions = any | {
|
|
15289
15188
|
diffHeight?: number;
|
|
15290
15189
|
color?: string | Cesium.Color;
|
|
15291
15190
|
opacity?: number;
|
|
@@ -15316,12 +15215,12 @@ declare namespace ScrollWall {
|
|
|
15316
15215
|
declare class ScrollWall extends BasePolyPrimitive {
|
|
15317
15216
|
constructor(options: {
|
|
15318
15217
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
15319
|
-
style: ScrollWall.StyleOptions;
|
|
15218
|
+
style: ScrollWall.StyleOptions | any;
|
|
15320
15219
|
attr?: any;
|
|
15321
15220
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
15322
|
-
popupOptions?: Popup.StyleOptions;
|
|
15221
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
15323
15222
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
15324
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
15223
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
15325
15224
|
contextmenuItems?: any;
|
|
15326
15225
|
id?: string | number;
|
|
15327
15226
|
name?: string;
|
|
@@ -15360,11 +15259,11 @@ declare namespace WallPrimitive {
|
|
|
15360
15259
|
* @property [fragmentShaderSource] - 可选的GLSL片段着色器源覆盖默认的片段着色器。
|
|
15361
15260
|
* @property [renderState] - 可选渲染状态,以覆盖默认渲染状态。
|
|
15362
15261
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
15363
|
-
* @property [label] - 支持附带文字的显示
|
|
15364
|
-
* @property [label.position]
|
|
15365
|
-
* @property [label.showAll]
|
|
15262
|
+
* @property [label] - 支持附带文字的显示 ,额外支持:<br />
|
|
15263
|
+
* // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
15264
|
+
* // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
15366
15265
|
*/
|
|
15367
|
-
type StyleOptions = {
|
|
15266
|
+
type StyleOptions = any | {
|
|
15368
15267
|
diffHeight?: number;
|
|
15369
15268
|
materialType?: string;
|
|
15370
15269
|
material的多个参数?: any;
|
|
@@ -15384,11 +15283,8 @@ declare namespace WallPrimitive {
|
|
|
15384
15283
|
vertexShaderSource?: string;
|
|
15385
15284
|
fragmentShaderSource?: string;
|
|
15386
15285
|
renderState?: any;
|
|
15387
|
-
highlight?: WallPrimitive.StyleOptions;
|
|
15388
|
-
label?:
|
|
15389
|
-
position?: string | LngLatPoint;
|
|
15390
|
-
showAll?: boolean;
|
|
15391
|
-
};
|
|
15286
|
+
highlight?: WallPrimitive.StyleOptions | any;
|
|
15287
|
+
label?: LabelPrimitive.StyleOptions | any | any;
|
|
15392
15288
|
};
|
|
15393
15289
|
}
|
|
15394
15290
|
|
|
@@ -15424,7 +15320,7 @@ declare namespace WallPrimitive {
|
|
|
15424
15320
|
declare class WallPrimitive extends BasePolyPrimitive {
|
|
15425
15321
|
constructor(options: {
|
|
15426
15322
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
15427
|
-
style: WallPrimitive.StyleOptions;
|
|
15323
|
+
style: WallPrimitive.StyleOptions | any;
|
|
15428
15324
|
attr?: any;
|
|
15429
15325
|
appearance?: Cesium.Appearance;
|
|
15430
15326
|
attributes?: Cesium.Appearance;
|
|
@@ -15439,9 +15335,9 @@ declare class WallPrimitive extends BasePolyPrimitive {
|
|
|
15439
15335
|
debugShowBoundingVolume?: boolean;
|
|
15440
15336
|
debugShowShadowVolume?: boolean;
|
|
15441
15337
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
15442
|
-
popupOptions?: Popup.StyleOptions;
|
|
15338
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
15443
15339
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
15444
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
15340
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
15445
15341
|
contextmenuItems?: any;
|
|
15446
15342
|
id?: string | number;
|
|
15447
15343
|
name?: string;
|
|
@@ -15493,11 +15389,11 @@ declare namespace Water {
|
|
|
15493
15389
|
* @property [setHeight] - 指定坐标高度值,或数组指定每个点的高度(常用于图层中配置)
|
|
15494
15390
|
* @property [addHeight] - 在现有坐标基础上增加的高度值,或数组指定每个点增加的高度(常用于图层中配置)
|
|
15495
15391
|
* @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
|
|
15496
|
-
* @property [label] - 支持附带文字的显示
|
|
15497
|
-
* @property [label.position]
|
|
15498
|
-
* @property [label.showAll]
|
|
15392
|
+
* @property [label] - 支持附带文字的显示 ,额外支持:<br />
|
|
15393
|
+
* // * @property {String|LngLatPoint} [label.position] 文字所在位置,默认是矢量对象本身的center属性值。支持配置 'center':围合面的内部中心点坐标,'{xxxx}'配置属性字段, 或者直接指定坐标值。
|
|
15394
|
+
* // * @property {Boolean} [label.showAll] MultiPolygon和MultiLineString时,是否显示所有注记,默认只在最大坐标数的面或线上显示。
|
|
15499
15395
|
*/
|
|
15500
|
-
type StyleOptions = {
|
|
15396
|
+
type StyleOptions = any | {
|
|
15501
15397
|
baseWaterColor?: string;
|
|
15502
15398
|
blendColor?: string;
|
|
15503
15399
|
specularMap?: string;
|
|
@@ -15533,11 +15429,8 @@ declare namespace Water {
|
|
|
15533
15429
|
renderState?: any;
|
|
15534
15430
|
setHeight?: number | number[];
|
|
15535
15431
|
addHeight?: number | number[];
|
|
15536
|
-
highlight?: PolygonPrimitive.StyleOptions;
|
|
15537
|
-
label?:
|
|
15538
|
-
position?: string | LngLatPoint;
|
|
15539
|
-
showAll?: boolean;
|
|
15540
|
-
};
|
|
15432
|
+
highlight?: PolygonPrimitive.StyleOptions | any;
|
|
15433
|
+
label?: LabelPrimitive.StyleOptions | any | any;
|
|
15541
15434
|
};
|
|
15542
15435
|
}
|
|
15543
15436
|
|
|
@@ -15570,7 +15463,7 @@ declare namespace Water {
|
|
|
15570
15463
|
declare class Water extends PolygonPrimitive {
|
|
15571
15464
|
constructor(options: {
|
|
15572
15465
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[];
|
|
15573
|
-
style: Water.StyleOptions;
|
|
15466
|
+
style: Water.StyleOptions | any;
|
|
15574
15467
|
attr?: any;
|
|
15575
15468
|
vertexCacheOptimize?: boolean;
|
|
15576
15469
|
interleave?: boolean;
|
|
@@ -15582,9 +15475,9 @@ declare class Water extends PolygonPrimitive {
|
|
|
15582
15475
|
debugShowBoundingVolume?: boolean;
|
|
15583
15476
|
debugShowShadowVolume?: boolean;
|
|
15584
15477
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
15585
|
-
popupOptions?: Popup.StyleOptions;
|
|
15478
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
15586
15479
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
15587
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
15480
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
15588
15481
|
contextmenuItems?: any;
|
|
15589
15482
|
id?: string | number;
|
|
15590
15483
|
name?: string;
|
|
@@ -15604,7 +15497,7 @@ declare namespace BaseRoamLine {
|
|
|
15604
15497
|
*/
|
|
15605
15498
|
type WallShadingOptions = {
|
|
15606
15499
|
type?: string;
|
|
15607
|
-
通用参数?: WallEntity.StyleOptions;
|
|
15500
|
+
通用参数?: WallEntity.StyleOptions | any;
|
|
15608
15501
|
maxDistance?: number;
|
|
15609
15502
|
};
|
|
15610
15503
|
/**
|
|
@@ -15615,7 +15508,7 @@ declare namespace BaseRoamLine {
|
|
|
15615
15508
|
*/
|
|
15616
15509
|
type CylinderShadingOptions = {
|
|
15617
15510
|
type?: string;
|
|
15618
|
-
通用参数?: CylinderEntity.StyleOptions;
|
|
15511
|
+
通用参数?: CylinderEntity.StyleOptions | any;
|
|
15619
15512
|
};
|
|
15620
15513
|
/**
|
|
15621
15514
|
* circle 类型shading 支持的参数,
|
|
@@ -15625,7 +15518,7 @@ declare namespace BaseRoamLine {
|
|
|
15625
15518
|
*/
|
|
15626
15519
|
type CircleShadingOptions = {
|
|
15627
15520
|
type?: string;
|
|
15628
|
-
通用参数?: CircleEntity.StyleOptions;
|
|
15521
|
+
通用参数?: CircleEntity.StyleOptions | any;
|
|
15629
15522
|
};
|
|
15630
15523
|
/**
|
|
15631
15524
|
* polyline 类型shading 支持的参数,
|
|
@@ -15636,7 +15529,7 @@ declare namespace BaseRoamLine {
|
|
|
15636
15529
|
*/
|
|
15637
15530
|
type PolylineShadingOptions = {
|
|
15638
15531
|
type?: string;
|
|
15639
|
-
通用参数?: PolylineEntity.StyleOptions;
|
|
15532
|
+
通用参数?: PolylineEntity.StyleOptions | any;
|
|
15640
15533
|
maxDistance?: number;
|
|
15641
15534
|
};
|
|
15642
15535
|
/**
|
|
@@ -15647,7 +15540,7 @@ declare namespace BaseRoamLine {
|
|
|
15647
15540
|
*/
|
|
15648
15541
|
type PolylineGoingShadingOptions = {
|
|
15649
15542
|
type?: string;
|
|
15650
|
-
通用参数?: PolylineEntity.StyleOptions;
|
|
15543
|
+
通用参数?: PolylineEntity.StyleOptions | any;
|
|
15651
15544
|
};
|
|
15652
15545
|
}
|
|
15653
15546
|
|
|
@@ -16015,7 +15908,8 @@ declare namespace DynamicRoamLine {
|
|
|
16015
15908
|
/**
|
|
16016
15909
|
* 动态漫游路线管理类 【动态传入的数据】
|
|
16017
15910
|
* @param options - 参数对象,包括以下:
|
|
16018
|
-
* @param [options.model] - 设置是否显示 gltf模型
|
|
15911
|
+
* @param [options.model] - 设置是否显示 gltf模型 和对应的样式, 还额外包括:<br />
|
|
15912
|
+
* // * @param {Boolean} [options.model.noPitchRoll] 设置为true时,可以设置模型只动态更改方向,内部固定模型的Pitch和Roll方向值为0
|
|
16019
15913
|
* @param [options.label] - 设置是否显示 文本 和对应的样式
|
|
16020
15914
|
* @param [options.billboard] - 设置是否显示 图标 和对应的样式,如果不设置gltf模型时,可以选择该项。
|
|
16021
15915
|
* @param [options.point] - 设置是否显示 图标 和对应的样式,如果不设置gltf模型时,可以选择该项。
|
|
@@ -16060,11 +15954,11 @@ declare namespace DynamicRoamLine {
|
|
|
16060
15954
|
*/
|
|
16061
15955
|
declare class DynamicRoamLine extends BaseRoamLine {
|
|
16062
15956
|
constructor(options: {
|
|
16063
|
-
model?: ModelEntity.StyleOptions;
|
|
16064
|
-
label?: LabelEntity.StyleOptions;
|
|
16065
|
-
billboard?: BillboardEntity.StyleOptions;
|
|
16066
|
-
point?: PointEntity.StyleOptions;
|
|
16067
|
-
circle?: CircleEntity.StyleOptions;
|
|
15957
|
+
model?: ModelEntity.StyleOptions | any;
|
|
15958
|
+
label?: LabelEntity.StyleOptions | any;
|
|
15959
|
+
billboard?: BillboardEntity.StyleOptions | any;
|
|
15960
|
+
point?: PointEntity.StyleOptions | any;
|
|
15961
|
+
circle?: CircleEntity.StyleOptions | any;
|
|
16068
15962
|
attr?: any;
|
|
16069
15963
|
hasCache?: boolean;
|
|
16070
15964
|
maxCacheCount?: number;
|
|
@@ -16093,9 +15987,9 @@ declare class DynamicRoamLine extends BaseRoamLine {
|
|
|
16093
15987
|
offsetZ?: number;
|
|
16094
15988
|
};
|
|
16095
15989
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
16096
|
-
popupOptions?: Popup.StyleOptions;
|
|
15990
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
16097
15991
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
16098
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
15992
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
16099
15993
|
contextmenuItems?: any;
|
|
16100
15994
|
id?: string | number;
|
|
16101
15995
|
name?: string;
|
|
@@ -16196,10 +16090,11 @@ declare namespace RoamLine {
|
|
|
16196
16090
|
* @param options.positions - 轨迹的 坐标数组
|
|
16197
16091
|
* @param options.speed - 轨迹的 速度( 单位:千米/小时)
|
|
16198
16092
|
* @param [options.timeField = 'time'] - 当points数组中已有时间值,请传入该值的字段名称,同时speed将失效,已实际传入时间字段为准。
|
|
16199
|
-
* @param [options.model] - 设置是否显示 gltf模型
|
|
16093
|
+
* @param [options.model] - 设置是否显示 gltf模型 和对应的样式还额外包括:<br />
|
|
16094
|
+
* //* @param {Boolean} [options.model.noPitchRoll] 设置为true时,可以设置模型只动态更改方向,内部固定模型的Pitch和Roll方向值为0
|
|
16200
16095
|
* @param [options.label] - 设置是否显示 文本 和对应的样式
|
|
16201
16096
|
* @param [options.billboard] - 设置是否显示 图标 和对应的样式,如果不设置gltf模型时,可以选择该项。
|
|
16202
|
-
* @param [options.point] - 设置是否显示
|
|
16097
|
+
* @param [options.point] - 设置是否显示 像素点 和对应的样式,如果不设置gltf模型时,可以选择该项。
|
|
16203
16098
|
* @param [options.path] - 设置是否显示 轨迹路线 和对应的样式
|
|
16204
16099
|
* @param [options.circle] - 设置是否显示 圆对象 和对应的样式
|
|
16205
16100
|
* @param [options.attr] - 矢量数据的 属性信息,可以任意附加属性。
|
|
@@ -16218,11 +16113,6 @@ declare namespace RoamLine {
|
|
|
16218
16113
|
* @param [options.forwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 在任何可用坐标之后一次请求值时要执行的推断类型,默认为最后一个坐标位置。
|
|
16219
16114
|
* @param [options.backwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 在任何可用坐标之前一次请求值时要执行的推断类型,默认为第一个坐标位置。
|
|
16220
16115
|
* @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
16116
|
* @param [options.clampToTileset = false] - 是否贴3dtiles模型上(贴模型效率较慢,按需开启)
|
|
16227
16117
|
* @param [options.frameRateHeight = 30] - 当clampToTileset:true时,控制贴模型的效率,多少帧计算一次贴模型高度,
|
|
16228
16118
|
* @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,默认是当前本身,可以是: primitives, entities, 或 3D Tiles features
|
|
@@ -16258,12 +16148,12 @@ declare class RoamLine extends BaseRoamLine {
|
|
|
16258
16148
|
positions: any[][] | LngLatPoint[];
|
|
16259
16149
|
speed: any[][] | number;
|
|
16260
16150
|
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;
|
|
16151
|
+
model?: ModelEntity.StyleOptions | any | any;
|
|
16152
|
+
label?: LabelEntity.StyleOptions | any | any;
|
|
16153
|
+
billboard?: BillboardEntity.StyleOptions | any | any;
|
|
16154
|
+
point?: PointEntity.StyleOptions | any | any;
|
|
16155
|
+
path?: PathEntity.StyleOptions | any | any;
|
|
16156
|
+
circle?: CircleEntity.StyleOptions | any | any;
|
|
16267
16157
|
attr?: any;
|
|
16268
16158
|
offsetHeight?: number;
|
|
16269
16159
|
startTime?: string | Date | Cesium.JulianDate;
|
|
@@ -16280,9 +16170,6 @@ declare class RoamLine extends BaseRoamLine {
|
|
|
16280
16170
|
forwardExtrapolationType?: Cesium.ExtrapolationType;
|
|
16281
16171
|
backwardExtrapolationType?: Cesium.ExtrapolationType;
|
|
16282
16172
|
fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
|
|
16283
|
-
splitNum?: number;
|
|
16284
|
-
minDistance?: number;
|
|
16285
|
-
offset?: number;
|
|
16286
16173
|
clampToTileset?: boolean;
|
|
16287
16174
|
frameRateHeight?: number;
|
|
16288
16175
|
objectsToExclude?: any;
|
|
@@ -16305,9 +16192,9 @@ declare class RoamLine extends BaseRoamLine {
|
|
|
16305
16192
|
offsetZ?: number;
|
|
16306
16193
|
};
|
|
16307
16194
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
16308
|
-
popupOptions?: Popup.StyleOptions;
|
|
16195
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
16309
16196
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
16310
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
16197
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
16311
16198
|
contextmenuItems?: any;
|
|
16312
16199
|
id?: string | number;
|
|
16313
16200
|
name?: string;
|
|
@@ -16363,10 +16250,23 @@ declare class RoamLine extends BaseRoamLine {
|
|
|
16363
16250
|
stop(): void;
|
|
16364
16251
|
/**
|
|
16365
16252
|
* 计算贴地线
|
|
16366
|
-
* @param
|
|
16367
|
-
* @
|
|
16253
|
+
* @param [options] - 控制参数
|
|
16254
|
+
* @param [options.splitNum = 100] - 插值数,等比分割的个数
|
|
16255
|
+
* @param [options.minDistance = null] - 插值最小间隔(单位:米),优先级高于splitNum
|
|
16256
|
+
* @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准)
|
|
16257
|
+
* @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
16258
|
+
* @param [options.offset = 0] - 可以按需增加偏移高度(单位:米),便于可视
|
|
16259
|
+
* @param [options.callback] - 计算完成的回调方法
|
|
16260
|
+
* @returns 异步计算完成的Promise
|
|
16368
16261
|
*/
|
|
16369
|
-
clampToGround(
|
|
16262
|
+
clampToGround(options?: {
|
|
16263
|
+
splitNum?: number;
|
|
16264
|
+
minDistance?: number;
|
|
16265
|
+
has3dtiles?: boolean;
|
|
16266
|
+
objectsToExclude?: any;
|
|
16267
|
+
offset?: number;
|
|
16268
|
+
callback?: (...params: any[]) => any;
|
|
16269
|
+
}): Promise<any>;
|
|
16370
16270
|
/**
|
|
16371
16271
|
* 获取剖面数据
|
|
16372
16272
|
* @param callback - 计算完成的回调方法
|
|
@@ -16515,7 +16415,7 @@ declare class BaseGraphicLayer extends BaseLayer {
|
|
|
16515
16415
|
* @param [options] - 控制参数
|
|
16516
16416
|
* @returns 当前对象本身,可以链式调用
|
|
16517
16417
|
*/
|
|
16518
|
-
bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions): BaseGraphicLayer;
|
|
16418
|
+
bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions | any): BaseGraphicLayer;
|
|
16519
16419
|
/**
|
|
16520
16420
|
* 解除绑定的鼠标单击对象后的弹窗。
|
|
16521
16421
|
* @param [bubbling = false] - 单击事件中是否继续冒泡查找
|
|
@@ -16544,7 +16444,7 @@ declare class BaseGraphicLayer extends BaseLayer {
|
|
|
16544
16444
|
* @param [options] - 控制参数
|
|
16545
16445
|
* @returns 当前对象本身,可以链式调用
|
|
16546
16446
|
*/
|
|
16547
|
-
bindTooltip(content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions): BaseGraphicLayer;
|
|
16447
|
+
bindTooltip(content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions | any): BaseGraphicLayer;
|
|
16548
16448
|
/**
|
|
16549
16449
|
* 解除绑定的鼠标移入对象后的弹窗。
|
|
16550
16450
|
* @param [bubbling = false] - 单击事件中是否继续冒泡查找
|
|
@@ -16937,7 +16837,7 @@ declare class CzmGeoJsonLayer extends BaseGraphicLayer {
|
|
|
16937
16837
|
zIndex?: number;
|
|
16938
16838
|
opacity?: number;
|
|
16939
16839
|
symbol?: {
|
|
16940
|
-
styleOptions: BillboardEntity.StyleOptions | PolylineEntity.StyleOptions | PolygonEntity.StyleOptions | any;
|
|
16840
|
+
styleOptions: BillboardEntity.StyleOptions | any | PolylineEntity.StyleOptions | any | PolygonEntity.StyleOptions | any | any;
|
|
16941
16841
|
styleField?: string;
|
|
16942
16842
|
styleFieldOptions?: any;
|
|
16943
16843
|
callback?: (...params: any[]) => any;
|
|
@@ -17237,7 +17137,7 @@ declare class KmlLayer extends CzmGeoJsonLayer {
|
|
|
17237
17137
|
zIndex?: number;
|
|
17238
17138
|
opacity?: number;
|
|
17239
17139
|
symbol?: {
|
|
17240
|
-
styleOptions: BillboardEntity.StyleOptions | PolylineEntity.StyleOptions | PolygonEntity.StyleOptions | any;
|
|
17140
|
+
styleOptions: BillboardEntity.StyleOptions | any | PolylineEntity.StyleOptions | any | PolygonEntity.StyleOptions | any | any;
|
|
17241
17141
|
styleField?: string;
|
|
17242
17142
|
styleFieldOptions?: any;
|
|
17243
17143
|
callback?: (...params: any[]) => any;
|
|
@@ -17510,7 +17410,7 @@ declare class ArcGisWfsSingleLayer extends GeoJsonLayer {
|
|
|
17510
17410
|
opacity?: number;
|
|
17511
17411
|
zIndex?: number;
|
|
17512
17412
|
symbol?: {
|
|
17513
|
-
styleOptions: BillboardEntity.StyleOptions | PolylineEntity.StyleOptions | PolygonEntity.StyleOptions | any;
|
|
17413
|
+
styleOptions: BillboardEntity.StyleOptions | any | PolylineEntity.StyleOptions | any | PolygonEntity.StyleOptions | any | any;
|
|
17514
17414
|
styleField?: string;
|
|
17515
17415
|
styleFieldOptions?: any;
|
|
17516
17416
|
callback?: (...params: any[]) => any;
|
|
@@ -17640,7 +17540,7 @@ declare class GeodePoiLayer extends LodGraphicLayer {
|
|
|
17640
17540
|
zIndex?: number;
|
|
17641
17541
|
opacity?: number;
|
|
17642
17542
|
symbol?: {
|
|
17643
|
-
styleOptions: BillboardEntity.StyleOptions | PointEntity.StyleOptions;
|
|
17543
|
+
styleOptions: BillboardEntity.StyleOptions | any | PointEntity.StyleOptions | any;
|
|
17644
17544
|
styleField?: string;
|
|
17645
17545
|
styleFieldOptions?: any;
|
|
17646
17546
|
};
|
|
@@ -18544,8 +18444,8 @@ declare class GraphicLayer extends BaseGraphicLayer {
|
|
|
18544
18444
|
declare class GraticuleLayer extends BaseLayer {
|
|
18545
18445
|
constructor(options?: {
|
|
18546
18446
|
numLines?: number;
|
|
18547
|
-
lineStyle?: PolylinePrimitive.StyleOptions;
|
|
18548
|
-
labelStyle?: LabelEntity.StyleOptions;
|
|
18447
|
+
lineStyle?: PolylinePrimitive.StyleOptions | any;
|
|
18448
|
+
labelStyle?: LabelEntity.StyleOptions | any;
|
|
18549
18449
|
id?: string | number;
|
|
18550
18450
|
pid?: string | number;
|
|
18551
18451
|
name?: string;
|
|
@@ -18700,7 +18600,7 @@ declare class LodGraphicLayer extends GraphicLayer {
|
|
|
18700
18600
|
opacity?: number;
|
|
18701
18601
|
zIndex?: number;
|
|
18702
18602
|
symbol?: {
|
|
18703
|
-
styleOptions: BillboardEntity.StyleOptions | PolylineEntity.StyleOptions | PolygonEntity.StyleOptions | any;
|
|
18603
|
+
styleOptions: BillboardEntity.StyleOptions | any | PolylineEntity.StyleOptions | any | PolygonEntity.StyleOptions | any | any;
|
|
18704
18604
|
styleField?: string;
|
|
18705
18605
|
styleFieldOptions?: any;
|
|
18706
18606
|
merge?: boolean;
|
|
@@ -19118,7 +19018,7 @@ declare namespace TilesetLayer {
|
|
|
19118
19018
|
/**
|
|
19119
19019
|
* 3dtiles 三维模型图层。
|
|
19120
19020
|
* @param options - 参数对象, 构造参数建议从{@link http://mars3d.cn/editor.html?id=layer-tileset/manager/edit|模型编辑页面}设置后保存参数后拷贝json参数即可。参数包括以下:
|
|
19121
|
-
* @param options.url - tileset的主JSON文件的 url
|
|
19021
|
+
* @param options.url - tileset的主JSON文件的 url ,ION资源时可以写 url: Cesium.IonResource.fromAssetId(8564),
|
|
19122
19022
|
* @param [options.maximumScreenSpaceError = 16] - 用于驱动细化细节级别的最大屏幕空间错误。可以简单理解为:数值加大,能让最终成像变模糊。
|
|
19123
19023
|
* @param [options.maximumMemoryUsage = 512] - 数据集可以使用的最大内存量(以MB计),这个参数要根据当前客户端显卡显存来配置,如果我们场景只显示这一个模型数据,这个可以设置到显存的50% 左右,比如我的显存是4G,这个可以设置到2048左右。那么既保证不超过显存限制,又可以最大利用显存缓存。<br />
|
|
19124
19024
|
* 解释:
|
|
@@ -19210,7 +19110,7 @@ declare namespace TilesetLayer {
|
|
|
19210
19110
|
*/
|
|
19211
19111
|
declare class TilesetLayer extends BaseGraphicLayer {
|
|
19212
19112
|
constructor(options: {
|
|
19213
|
-
url: Cesium.Resource |
|
|
19113
|
+
url: string | Cesium.Resource | Cesium.IonResource;
|
|
19214
19114
|
maximumScreenSpaceError?: number;
|
|
19215
19115
|
maximumMemoryUsage?: number;
|
|
19216
19116
|
position?: {
|
|
@@ -19460,7 +19360,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
19460
19360
|
* @param [options] - 控制参数
|
|
19461
19361
|
* @returns 当前对象本身,可以链式调用
|
|
19462
19362
|
*/
|
|
19463
|
-
bindPopup(content: string | any[] | ((...params: any[]) => any), options?: Popup.StyleOptions): TilesetLayer;
|
|
19363
|
+
bindPopup(content: string | any[] | ((...params: any[]) => any), options?: Popup.StyleOptions | any): TilesetLayer;
|
|
19464
19364
|
/**
|
|
19465
19365
|
* 解除绑定的鼠标单击对象后的弹窗。
|
|
19466
19366
|
* @returns 当前对象本身,可以链式调用
|
|
@@ -20157,7 +20057,7 @@ declare class ArcGisLayer extends BaseTileLayer {
|
|
|
20157
20057
|
* @param [options] - 控制参数
|
|
20158
20058
|
* @returns 当前对象本身,可以链式调用
|
|
20159
20059
|
*/
|
|
20160
|
-
bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions): ArcGisLayer;
|
|
20060
|
+
bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions | any): ArcGisLayer;
|
|
20161
20061
|
/**
|
|
20162
20062
|
* 解除绑定的鼠标单击对象后的弹窗。
|
|
20163
20063
|
* @returns 当前对象本身,可以链式调用
|
|
@@ -22685,7 +22585,7 @@ declare class WmsLayer extends BaseTileLayer {
|
|
|
22685
22585
|
* @param [options] - 控制参数
|
|
22686
22586
|
* @returns 当前对象本身,可以链式调用
|
|
22687
22587
|
*/
|
|
22688
|
-
bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions): WmsLayer;
|
|
22588
|
+
bindPopup(content: string | ((...params: any[]) => any), options?: Popup.StyleOptions | any): WmsLayer;
|
|
22689
22589
|
/**
|
|
22690
22590
|
* 解除绑定的鼠标单击对象后的弹窗。
|
|
22691
22591
|
* @returns 当前对象本身,可以链式调用
|
|
@@ -23053,8 +22953,25 @@ declare class XyzLayer extends BaseTileLayer {
|
|
|
23053
22953
|
|
|
23054
22954
|
/**
|
|
23055
22955
|
* 右键菜单 控件
|
|
22956
|
+
* @param [options] - 参数对象,包括以下:
|
|
22957
|
+
* @param [options.preventDefault = true] - 是否取消右键菜单
|
|
22958
|
+
* @param [options.id = uuid()] - 对象的id标识
|
|
22959
|
+
* @param [options.enabled = true] - 对象的启用状态
|
|
22960
|
+
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
|
|
22961
|
+
* @param [options.insertIndex] - 可以自定义插入到父容器中的index顺序,默认是插入到最后面。
|
|
22962
|
+
* @param [options.insertBefore] - 可以自定义插入到指定兄弟容器的前面,与insertIndex二选一。
|
|
22963
|
+
* @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
|
|
23056
22964
|
*/
|
|
23057
22965
|
declare class ContextMenu extends BaseControl {
|
|
22966
|
+
constructor(options?: {
|
|
22967
|
+
preventDefault?: boolean;
|
|
22968
|
+
id?: string | number;
|
|
22969
|
+
enabled?: boolean;
|
|
22970
|
+
parentContainer?: HTMLElement;
|
|
22971
|
+
insertIndex?: number;
|
|
22972
|
+
insertBefore?: HTMLElement;
|
|
22973
|
+
eventParent?: BaseClass | boolean;
|
|
22974
|
+
});
|
|
23058
22975
|
/**
|
|
23059
22976
|
* 设置DOM容器的显示隐藏
|
|
23060
22977
|
*/
|
|
@@ -23063,8 +22980,35 @@ declare class ContextMenu extends BaseControl {
|
|
|
23063
22980
|
|
|
23064
22981
|
/**
|
|
23065
22982
|
* 键盘漫游控制类
|
|
22983
|
+
* @param [options] - 参数对象,包括以下:
|
|
22984
|
+
* @param [options.moveStep = 10] - 平移步长 (米)
|
|
22985
|
+
* @param [options.dirStep = 25] - 相机原地旋转步长,值越大步长越小。
|
|
22986
|
+
* @param [options.rotateStep = 1.0] - 相机围绕目标点旋转速率,0.3 - 2.0
|
|
22987
|
+
* @param [options.minPitch = 0.1] - 最小仰角 0 - 1
|
|
22988
|
+
* @param [options.maxPitch = 0.95] - 最大仰角 0 - 1
|
|
22989
|
+
* @param [options.minHeight = 0] - 最低高度(单位:米)
|
|
22990
|
+
* @param [options.id = uuid()] - 对象的id标识
|
|
22991
|
+
* @param [options.enabled = true] - 对象的启用状态
|
|
22992
|
+
* @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
|
|
22993
|
+
* @param [options.insertIndex] - 可以自定义插入到父容器中的index顺序,默认是插入到最后面。
|
|
22994
|
+
* @param [options.insertBefore] - 可以自定义插入到指定兄弟容器的前面,与insertIndex二选一。
|
|
22995
|
+
* @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
|
|
23066
22996
|
*/
|
|
23067
22997
|
declare class KeyboardRoam extends BaseControl {
|
|
22998
|
+
constructor(options?: {
|
|
22999
|
+
moveStep?: number;
|
|
23000
|
+
dirStep?: number;
|
|
23001
|
+
rotateStep?: number;
|
|
23002
|
+
minPitch?: number;
|
|
23003
|
+
maxPitch?: number;
|
|
23004
|
+
minHeight?: number;
|
|
23005
|
+
id?: string | number;
|
|
23006
|
+
enabled?: boolean;
|
|
23007
|
+
parentContainer?: HTMLElement;
|
|
23008
|
+
insertIndex?: number;
|
|
23009
|
+
insertBefore?: HTMLElement;
|
|
23010
|
+
eventParent?: BaseClass | boolean;
|
|
23011
|
+
});
|
|
23068
23012
|
/**
|
|
23069
23013
|
* 平移步长 (米)
|
|
23070
23014
|
*/
|
|
@@ -23334,7 +23278,6 @@ declare namespace Map {
|
|
|
23334
23278
|
* 添加到地图的控件 参数
|
|
23335
23279
|
*
|
|
23336
23280
|
* 以下是mars3d.control定义的控件,支持所有控件类型
|
|
23337
|
-
* @property [defaultContextMenu = true] - 是否绑定默认的地图右键菜单
|
|
23338
23281
|
* @property [mouseDownView] - 鼠标滚轮缩放美化样式, 对应 {@link MouseDownView}构造参数
|
|
23339
23282
|
* @property [locationBar] - 鼠标提示控件, 对应 {@link LocationBar}构造参数
|
|
23340
23283
|
* @property [locationBar.fps] - 是否显示实时FPS帧率
|
|
@@ -23345,6 +23288,21 @@ declare namespace Map {
|
|
|
23345
23288
|
* @property [zoom] - 时钟动画控制控件 , 对应 {@link Zoom}构造参数
|
|
23346
23289
|
* @property [overviewMap] - 鹰眼地图 控件, 对应{@link OverviewMap }构造参数
|
|
23347
23290
|
* @property [mapSplit] - 卷帘对比 控件, 对应{@link MapSplit }构造参数
|
|
23291
|
+
* @property [contextmenu] - 内置 右键菜单 控制参数, 对应{@link ContextMenu }构造参数
|
|
23292
|
+
* @property [contextmenu.preventDefault = true] - 是否取消右键菜单
|
|
23293
|
+
* @property [contextmenu.hasDefault = true] - 是否绑定默认的地图右键菜单
|
|
23294
|
+
* @property [popup] - 内置 Popup 控制参数
|
|
23295
|
+
* @property [popup.isOnly = true] - 是否单个显示模式
|
|
23296
|
+
* @property [popup.depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
|
|
23297
|
+
* @property [tooltip] - 内置 Tooltip 控制参数
|
|
23298
|
+
* @property [tooltip.cacheTime = 20] - 延迟缓存的时间,单位:毫秒
|
|
23299
|
+
* @property [keyboardRoam] - 内置 键盘漫游 控制参数, 对应{@link KeyboardRoam }构造参数
|
|
23300
|
+
* @property [keyboardRoam.moveStep = 10] - 平移步长 (米)
|
|
23301
|
+
* @property [keyboardRoam.dirStep = 25] - 相机原地旋转步长,值越大步长越小。
|
|
23302
|
+
* @property [keyboardRoam.rotateStep = 1.0] - 相机围绕目标点旋转速率,0.3 - 2.0
|
|
23303
|
+
* @property [keyboardRoam.minPitch = 0.1] - 最小仰角 0 - 1
|
|
23304
|
+
* @property [keyboardRoam.maxPitch = 0.95] - 最大仰角 0 - 1
|
|
23305
|
+
* @property [keyboardRoam.minHeight = 0] - 最低高度(单位:米)
|
|
23348
23306
|
*
|
|
23349
23307
|
* 以下是Cesium.Viewer所支持的控件相关的options
|
|
23350
23308
|
* @property [infoBox = true] - 是否显示 点击要素之后显示的信息
|
|
@@ -23365,7 +23323,6 @@ declare namespace Map {
|
|
|
23365
23323
|
* @property [showRenderLoopErrors = true] - 如果为true,则在发生渲染循环错误时,此小部件将自动向包含错误的用户显示HTML面板。
|
|
23366
23324
|
*/
|
|
23367
23325
|
type controlOptions = {
|
|
23368
|
-
defaultContextMenu?: boolean;
|
|
23369
23326
|
mouseDownView?: boolean;
|
|
23370
23327
|
locationBar?: {
|
|
23371
23328
|
fps?: boolean;
|
|
@@ -23377,6 +23334,25 @@ declare namespace Map {
|
|
|
23377
23334
|
zoom?: any;
|
|
23378
23335
|
overviewMap?: any;
|
|
23379
23336
|
mapSplit?: any;
|
|
23337
|
+
contextmenu?: {
|
|
23338
|
+
preventDefault?: boolean;
|
|
23339
|
+
hasDefault?: boolean;
|
|
23340
|
+
};
|
|
23341
|
+
popup?: {
|
|
23342
|
+
isOnly?: boolean;
|
|
23343
|
+
depthTest?: boolean;
|
|
23344
|
+
};
|
|
23345
|
+
tooltip?: {
|
|
23346
|
+
cacheTime?: number;
|
|
23347
|
+
};
|
|
23348
|
+
keyboardRoam?: {
|
|
23349
|
+
moveStep?: number;
|
|
23350
|
+
dirStep?: number;
|
|
23351
|
+
rotateStep?: number;
|
|
23352
|
+
minPitch?: number;
|
|
23353
|
+
maxPitch?: number;
|
|
23354
|
+
minHeight?: number;
|
|
23355
|
+
};
|
|
23380
23356
|
infoBox?: boolean;
|
|
23381
23357
|
selectionIndicator?: boolean;
|
|
23382
23358
|
animation?: boolean;
|
|
@@ -23486,9 +23462,9 @@ declare namespace Map {
|
|
|
23486
23462
|
show?: boolean;
|
|
23487
23463
|
center?: any;
|
|
23488
23464
|
popup?: any;
|
|
23489
|
-
popupOptions?: Popup.StyleOptions;
|
|
23465
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
23490
23466
|
tooltip?: any;
|
|
23491
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
23467
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
23492
23468
|
多个参数?: any;
|
|
23493
23469
|
};
|
|
23494
23470
|
/**
|
|
@@ -23908,11 +23884,13 @@ declare class Map extends BaseClass {
|
|
|
23908
23884
|
* @param [options] - 参数对象,包括以下:
|
|
23909
23885
|
* @param [options.basemaps] - 默认不比较及处理,true:返回所有basemps中配置图层,false:排除所有所有basemps中配置图层
|
|
23910
23886
|
* @param [options.layers] - 默认不比较及处理,true:返回所有operationallayers中配置图层,false:排除所有operationallayers中配置图层
|
|
23887
|
+
* @param [options.childs = true] - 是否获取GroupLayer内的子图层
|
|
23911
23888
|
* @returns 图层数组
|
|
23912
23889
|
*/
|
|
23913
23890
|
getLayers(options?: {
|
|
23914
23891
|
basemaps?: boolean;
|
|
23915
23892
|
layers?: boolean;
|
|
23893
|
+
childs?: boolean;
|
|
23916
23894
|
}): BaseLayer[] | any[];
|
|
23917
23895
|
/**
|
|
23918
23896
|
* 获取所有basemps底图图层
|
|
@@ -24426,7 +24404,7 @@ declare class Map extends BaseClass {
|
|
|
24426
24404
|
* @param [options] - 配置参数
|
|
24427
24405
|
* @returns 当前对象本身,可以链式调用
|
|
24428
24406
|
*/
|
|
24429
|
-
openPopup(position: LngLatPoint | Cesium.Cartesian3 | number[], content: string | ((...params: any[]) => any) | BaseGraphic | BaseGraphicLayer, options?: Popup.StyleOptions): Map;
|
|
24407
|
+
openPopup(position: LngLatPoint | Cesium.Cartesian3 | number[], content: string | ((...params: any[]) => any) | BaseGraphic | BaseGraphicLayer, options?: Popup.StyleOptions | any): Map;
|
|
24430
24408
|
/**
|
|
24431
24409
|
* 关闭Popup弹窗
|
|
24432
24410
|
* @returns 当前对象本身,可以链式调用
|
|
@@ -24439,7 +24417,7 @@ declare class Map extends BaseClass {
|
|
|
24439
24417
|
* @param [options] - 配置参数
|
|
24440
24418
|
* @returns 当前对象本身,可以链式调用
|
|
24441
24419
|
*/
|
|
24442
|
-
openTooltip(position: LngLatPoint | Cesium.Cartesian3 | number[], content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions): Map;
|
|
24420
|
+
openTooltip(position: LngLatPoint | Cesium.Cartesian3 | number[], content: string | ((...params: any[]) => any), options?: Tooltip.StyleOptions | any): Map;
|
|
24443
24421
|
/**
|
|
24444
24422
|
* 关闭Tooltip弹窗
|
|
24445
24423
|
* @returns 当前对象本身,可以链式调用
|
|
@@ -25317,14 +25295,20 @@ declare class TextMaterialProperty extends Image2MaterialProperty {
|
|
|
25317
25295
|
* @param options.image - 背景图片URL
|
|
25318
25296
|
* @param [options.color = new Cesium.Color(1, 0, 0, 1.0)] - 背景图片颜色
|
|
25319
25297
|
* @param [options.count = 1] - 数量
|
|
25320
|
-
* @param [options.
|
|
25298
|
+
* @param [options.direction = -1] - 方向,1是往下,-1是往上
|
|
25299
|
+
* @param [options.speed = 5.0] - 速度,值越大越快
|
|
25300
|
+
* @param [options.bloom = false] - 是否泛光
|
|
25301
|
+
* @param [options.axisY = false] - 是否Y轴朝上
|
|
25321
25302
|
*/
|
|
25322
25303
|
declare class WallScrollMaterialProperty extends BaseMaterialProperty {
|
|
25323
25304
|
constructor(options?: {
|
|
25324
25305
|
image: string;
|
|
25325
25306
|
color?: string | Cesium.Color;
|
|
25326
25307
|
count?: number;
|
|
25308
|
+
direction?: number;
|
|
25327
25309
|
speed?: number;
|
|
25310
|
+
bloom?: boolean;
|
|
25311
|
+
axisY?: boolean;
|
|
25328
25312
|
});
|
|
25329
25313
|
/**
|
|
25330
25314
|
* 获取 材质名称
|
|
@@ -25614,7 +25598,12 @@ declare class EchartsLayer extends BaseLayer {
|
|
|
25614
25598
|
* 热力图图层,基于heatmap.js库渲染。
|
|
25615
25599
|
* 【需要引入 heatmap.js 库 和 mars3d-heatmap 插件库】
|
|
25616
25600
|
* @param options - 参数对象,包括以下:
|
|
25617
|
-
* @param [options.positions] -
|
|
25601
|
+
* @param [options.positions] - 坐标数据集合(含value热力值),有热力值时,传入LatLngPoint数组,热力值为value字段。示例:[{lat:31.123,lng:103.568,value:1.2},{lat:31.233,lng:103.938,value:2.3}]
|
|
25602
|
+
* @param [options.rectangle] - 坐标的矩形区域范围,默认内部自动计算
|
|
25603
|
+
* @param options.rectangle.xmin - 最小经度值
|
|
25604
|
+
* @param options.rectangle.xmax - 最大纬度值
|
|
25605
|
+
* @param options.rectangle.ymin - 最小纬度值
|
|
25606
|
+
* @param options.rectangle.ymax - 最大纬度值
|
|
25618
25607
|
* @param [options.heatStyle] - heatmap热力图本身configObject参数,详情也可查阅 [heatmap文档]{@link https://www.patrick-wied.at/static/heatmapjs/docs.html}
|
|
25619
25608
|
* @param [options.heatStyle.maxOpacity = 0.8] - 最大不透明度,取值范围0.0-1.0。
|
|
25620
25609
|
* @param [options.heatStyle.minOpacity = 0.1] - 最小不透明度,取值范围0.0-1.0。
|
|
@@ -25649,6 +25638,12 @@ declare class EchartsLayer extends BaseLayer {
|
|
|
25649
25638
|
declare class HeatLayer extends BaseLayer {
|
|
25650
25639
|
constructor(options: {
|
|
25651
25640
|
positions?: LngLatPoint[] | Cesium.Cartesian3[] | any;
|
|
25641
|
+
rectangle?: {
|
|
25642
|
+
xmin: number;
|
|
25643
|
+
xmax: number;
|
|
25644
|
+
ymin: number;
|
|
25645
|
+
ymax: number;
|
|
25646
|
+
};
|
|
25652
25647
|
heatStyle?: {
|
|
25653
25648
|
maxOpacity?: number;
|
|
25654
25649
|
minOpacity?: number;
|
|
@@ -25663,7 +25658,7 @@ declare class HeatLayer extends BaseLayer {
|
|
|
25663
25658
|
arcBlurScale?: boolean;
|
|
25664
25659
|
height?: number;
|
|
25665
25660
|
diffHeight?: number;
|
|
25666
|
-
多个参数?: RectanglePrimitive.StyleOptions;
|
|
25661
|
+
多个参数?: RectanglePrimitive.StyleOptions | any;
|
|
25667
25662
|
};
|
|
25668
25663
|
maxCanvasSize?: number;
|
|
25669
25664
|
minCanvasSize?: number;
|
|
@@ -25694,9 +25689,10 @@ declare class HeatLayer extends BaseLayer {
|
|
|
25694
25689
|
/**
|
|
25695
25690
|
* 矩形的样式参数
|
|
25696
25691
|
*/
|
|
25697
|
-
style: RectanglePrimitive.StyleOptions;
|
|
25692
|
+
style: RectanglePrimitive.StyleOptions | any;
|
|
25698
25693
|
/**
|
|
25699
|
-
*
|
|
25694
|
+
* 坐标数据集合(含value热力值),示例:[{lat:31.123,lng:103.568,value:1.2},{lat:31.233,lng:103.938,value:2.3}] 。
|
|
25695
|
+
* 平滑更新建议使用setPositions方法
|
|
25700
25696
|
*/
|
|
25701
25697
|
positions: Cesium.Cartesian3[] | LngLatPoint[];
|
|
25702
25698
|
/**
|
|
@@ -25708,11 +25704,19 @@ declare class HeatLayer extends BaseLayer {
|
|
|
25708
25704
|
*/
|
|
25709
25705
|
readonly rectangle: Cesium.Rectangle;
|
|
25710
25706
|
/**
|
|
25711
|
-
*
|
|
25712
|
-
* @param item -
|
|
25707
|
+
* 添加新的坐标点(含热力值)
|
|
25708
|
+
* @param item - 坐标点(含热力值),示例: {lat:31.123,lng:103.568,value:1.2}
|
|
25709
|
+
* @param [isGD] - 是否固定区域坐标,true时可以平滑更新
|
|
25710
|
+
* @returns 无
|
|
25711
|
+
*/
|
|
25712
|
+
addPosition(item: Cesium.Cartesian3 | LngLatPoint, isGD?: boolean): void;
|
|
25713
|
+
/**
|
|
25714
|
+
* 更新所有坐标点(含热力值)数据
|
|
25715
|
+
* @param arr - 坐标点(含热力值),示例:[{lat:31.123,lng:103.568,value:1.2},{lat:31.233,lng:103.938,value:2.3}]
|
|
25716
|
+
* @param [isGD] - 是否固定区域坐标,true时可以平滑更新
|
|
25713
25717
|
* @returns 无
|
|
25714
25718
|
*/
|
|
25715
|
-
|
|
25719
|
+
setPositions(arr: Cesium.Cartesian3[] | LngLatPoint[], isGD?: boolean): void;
|
|
25716
25720
|
/**
|
|
25717
25721
|
* 清除矢量对象
|
|
25718
25722
|
* @returns 无
|
|
@@ -25727,6 +25731,12 @@ declare class HeatLayer extends BaseLayer {
|
|
|
25727
25731
|
getRectangle(options?: {
|
|
25728
25732
|
isFormat?: boolean;
|
|
25729
25733
|
}): Cesium.Rectangle | any;
|
|
25734
|
+
/**
|
|
25735
|
+
* 根据坐标点获取其对应的value值和颜色值
|
|
25736
|
+
* @param item - 坐标点
|
|
25737
|
+
* @returns 格式为 {"x":2081,"y":767,"value":3,"color":"rgba(209,231,0,195)"}
|
|
25738
|
+
*/
|
|
25739
|
+
getPointData(item: Cesium.Cartesian3 | LngLatPoint): any;
|
|
25730
25740
|
}
|
|
25731
25741
|
|
|
25732
25742
|
/**
|
|
@@ -25774,7 +25784,7 @@ declare class MapVLayer extends BaseLayer {
|
|
|
25774
25784
|
roll?: number;
|
|
25775
25785
|
};
|
|
25776
25786
|
flyTo?: boolean;
|
|
25777
|
-
}|any, dataSet?: any);
|
|
25787
|
+
} | any, dataSet?: any);
|
|
25778
25788
|
/**
|
|
25779
25789
|
* 图层对应的Canvas对象
|
|
25780
25790
|
*/
|
|
@@ -26110,7 +26120,7 @@ declare namespace CamberRadar {
|
|
|
26110
26120
|
* @property [pitch = 0] - 俯仰角(度数值,0-360度)
|
|
26111
26121
|
* @property [roll = 0] - 翻滚角(度数值,0-360度)
|
|
26112
26122
|
*/
|
|
26113
|
-
type StyleOptions = {
|
|
26123
|
+
type StyleOptions = any | {
|
|
26114
26124
|
color?: string | Cesium.Color;
|
|
26115
26125
|
opacity?: number;
|
|
26116
26126
|
outline?: boolean;
|
|
@@ -26146,7 +26156,7 @@ declare namespace CamberRadar {
|
|
|
26146
26156
|
declare class CamberRadar extends BasePointPrimitive {
|
|
26147
26157
|
constructor(options: {
|
|
26148
26158
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
26149
|
-
style: CamberRadar.StyleOptions;
|
|
26159
|
+
style: CamberRadar.StyleOptions | any;
|
|
26150
26160
|
attr?: any;
|
|
26151
26161
|
id?: string | number;
|
|
26152
26162
|
name?: string;
|
|
@@ -26211,7 +26221,7 @@ declare namespace ConicSensor {
|
|
|
26211
26221
|
* @property [rayEllipsoid = false] - 是否求交地球计算动态length
|
|
26212
26222
|
* @property [hideRayEllipsoid = false] - 在地球相交时 是否隐藏
|
|
26213
26223
|
*/
|
|
26214
|
-
type StyleOptions = {
|
|
26224
|
+
type StyleOptions = any | {
|
|
26215
26225
|
angle?: number;
|
|
26216
26226
|
length?: number;
|
|
26217
26227
|
heading?: number;
|
|
@@ -26246,7 +26256,7 @@ declare namespace ConicSensor {
|
|
|
26246
26256
|
declare class ConicSensor extends BasePointPrimitive {
|
|
26247
26257
|
constructor(options: {
|
|
26248
26258
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
26249
|
-
style: ConicSensor.StyleOptions;
|
|
26259
|
+
style: ConicSensor.StyleOptions | any;
|
|
26250
26260
|
attr?: any;
|
|
26251
26261
|
lookAt?: Cesium.Cartesian3 | Cesium.PositionProperty;
|
|
26252
26262
|
fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
|
|
@@ -26333,6 +26343,10 @@ declare class ConicSensor extends BasePointPrimitive {
|
|
|
26333
26343
|
* @returns 坐标数组
|
|
26334
26344
|
*/
|
|
26335
26345
|
getRayEarthPositions(): Cesium.Cartesian3[];
|
|
26346
|
+
/**
|
|
26347
|
+
* 矢量数据对应的 Cesium内部对象 (不同子类中实现)
|
|
26348
|
+
*/
|
|
26349
|
+
readonly czmObject: Cesium.Entity | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.ClassificationPrimitive | any;
|
|
26336
26350
|
}
|
|
26337
26351
|
|
|
26338
26352
|
declare namespace RectSensor {
|
|
@@ -26369,7 +26383,7 @@ declare namespace RectSensor {
|
|
|
26369
26383
|
* @property [rayEllipsoid = false] - 是否求交地球计算动态length
|
|
26370
26384
|
* @property [hideRayEllipsoid = false] - 在地球相交时 是否隐藏
|
|
26371
26385
|
*/
|
|
26372
|
-
type StyleOptions = {
|
|
26386
|
+
type StyleOptions = any | {
|
|
26373
26387
|
angle1?: number;
|
|
26374
26388
|
angle2?: number;
|
|
26375
26389
|
angle?: number;
|
|
@@ -26406,7 +26420,7 @@ declare namespace RectSensor {
|
|
|
26406
26420
|
declare class RectSensor extends BasePointPrimitive {
|
|
26407
26421
|
constructor(options: {
|
|
26408
26422
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
26409
|
-
style: RectSensor.StyleOptions;
|
|
26423
|
+
style: RectSensor.StyleOptions | any;
|
|
26410
26424
|
attr?: any;
|
|
26411
26425
|
lookAt?: Cesium.Cartesian3 | Cesium.PositionProperty;
|
|
26412
26426
|
fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
|
|
@@ -26497,6 +26511,10 @@ declare class RectSensor extends BasePointPrimitive {
|
|
|
26497
26511
|
* @returns 坐标数组
|
|
26498
26512
|
*/
|
|
26499
26513
|
getRayEarthPositions(): Cesium.Cartesian3[];
|
|
26514
|
+
/**
|
|
26515
|
+
* 矢量数据对应的 Cesium内部对象 (不同子类中实现)
|
|
26516
|
+
*/
|
|
26517
|
+
readonly czmObject: Cesium.Entity | Cesium.Primitive | Cesium.GroundPrimitive | Cesium.ClassificationPrimitive | any;
|
|
26500
26518
|
}
|
|
26501
26519
|
|
|
26502
26520
|
declare namespace Satellite {
|
|
@@ -26545,13 +26563,13 @@ declare class Satellite extends BaseGraphic {
|
|
|
26545
26563
|
period?: number;
|
|
26546
26564
|
position: Cesium.SampledPositionProperty;
|
|
26547
26565
|
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;
|
|
26566
|
+
model?: ModelEntity.StyleOptions | any;
|
|
26567
|
+
cone?: SatelliteSensor.StyleOptions | any;
|
|
26568
|
+
label?: LabelEntity.StyleOptions | any;
|
|
26569
|
+
billboard?: BillboardEntity.StyleOptions | any;
|
|
26570
|
+
point?: PointEntity.StyleOptions | any;
|
|
26571
|
+
path?: PolylineEntity.StyleOptions | any;
|
|
26572
|
+
shadingLine?: BillboardEntity.StyleOptions | any;
|
|
26555
26573
|
fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
|
|
26556
26574
|
frameRate?: number;
|
|
26557
26575
|
id?: string | number;
|
|
@@ -26708,7 +26726,7 @@ declare namespace SatelliteSensor {
|
|
|
26708
26726
|
* @property [outlineColor = color] - 边线颜色
|
|
26709
26727
|
* @property [rayEllipsoid = false] - 是否求交地球计算
|
|
26710
26728
|
*/
|
|
26711
|
-
type StyleOptions = {
|
|
26729
|
+
type StyleOptions = any | {
|
|
26712
26730
|
sensorType?: SatelliteSensor.Type;
|
|
26713
26731
|
angle1?: number;
|
|
26714
26732
|
angle2?: number;
|
|
@@ -26751,7 +26769,7 @@ declare namespace SatelliteSensor {
|
|
|
26751
26769
|
declare class SatelliteSensor extends BasePointPrimitive {
|
|
26752
26770
|
constructor(options?: {
|
|
26753
26771
|
position: LngLatPoint | Cesium.Cartesian3 | number[];
|
|
26754
|
-
style: SatelliteSensor.StyleOptions;
|
|
26772
|
+
style: SatelliteSensor.StyleOptions | any;
|
|
26755
26773
|
attr?: any;
|
|
26756
26774
|
lookAt?: Cesium.Cartesian3 | Cesium.PositionProperty;
|
|
26757
26775
|
trackedEntity?: Cesium.Entity;
|
|
@@ -27637,6 +27655,9 @@ declare namespace widget {
|
|
|
27637
27655
|
* uri: "widgets/bookmark/widget.js",
|
|
27638
27656
|
* autoDisable: true,
|
|
27639
27657
|
* testdata:'测试数据1987', //传数据进widget内部,widget内部使用this.config.testdata获取到传的数据
|
|
27658
|
+
* success:function(thisWidget){
|
|
27659
|
+
* //创建完成的回调方法
|
|
27660
|
+
* }
|
|
27640
27661
|
* });
|
|
27641
27662
|
* @param item - 指widget模块的uri 或 指模块的配置参数,当有配置参数时,参数优先级是:
|
|
27642
27663
|
* 【activate方法传入的配置 > init方法传入的配置(widget.json) > widget.js内部配置的】
|
|
@@ -28761,7 +28782,7 @@ declare class Measure extends BaseThing {
|
|
|
28761
28782
|
hasEdit?: boolean;
|
|
28762
28783
|
isAutoEditing?: boolean;
|
|
28763
28784
|
isContinued?: boolean;
|
|
28764
|
-
label?: LabelEntity.StyleOptions;
|
|
28785
|
+
label?: LabelEntity.StyleOptions | any;
|
|
28765
28786
|
id?: string | number;
|
|
28766
28787
|
enabled?: boolean;
|
|
28767
28788
|
eventParent?: BaseClass | boolean;
|
|
@@ -28792,7 +28813,7 @@ declare class Measure extends BaseThing {
|
|
|
28792
28813
|
* @returns 绘制创建完成的Promise,返回 长度测量控制类 对象
|
|
28793
28814
|
*/
|
|
28794
28815
|
distance(options?: {
|
|
28795
|
-
style?: PolylineEntity.StyleOptions;
|
|
28816
|
+
style?: PolylineEntity.StyleOptions | any;
|
|
28796
28817
|
unit?: string;
|
|
28797
28818
|
maxPointNum?: number;
|
|
28798
28819
|
addHeight?: number;
|
|
@@ -28813,7 +28834,7 @@ declare class Measure extends BaseThing {
|
|
|
28813
28834
|
* @returns 绘制创建完成的Promise,返回 贴地长度测量控制类 对象
|
|
28814
28835
|
*/
|
|
28815
28836
|
distanceSurface(options?: {
|
|
28816
|
-
style?: PolylineEntity.StyleOptions;
|
|
28837
|
+
style?: PolylineEntity.StyleOptions | any;
|
|
28817
28838
|
unit?: string;
|
|
28818
28839
|
maxPointNum?: number;
|
|
28819
28840
|
addHeight?: number;
|
|
@@ -28835,7 +28856,7 @@ declare class Measure extends BaseThing {
|
|
|
28835
28856
|
* @returns 绘制创建完成的Promise,返回 剖面分析控制类矢量对象
|
|
28836
28857
|
*/
|
|
28837
28858
|
section(options?: {
|
|
28838
|
-
style?: PolylineEntity.StyleOptions;
|
|
28859
|
+
style?: PolylineEntity.StyleOptions | any;
|
|
28839
28860
|
unit?: string;
|
|
28840
28861
|
maxPointNum?: number;
|
|
28841
28862
|
addHeight?: number;
|
|
@@ -28852,7 +28873,7 @@ declare class Measure extends BaseThing {
|
|
|
28852
28873
|
* @returns 绘制创建完成的Promise,返回 面积测量控制类 对象
|
|
28853
28874
|
*/
|
|
28854
28875
|
area(options?: {
|
|
28855
|
-
style?: PolygonEntity.StyleOptions;
|
|
28876
|
+
style?: PolygonEntity.StyleOptions | any;
|
|
28856
28877
|
unit?: string;
|
|
28857
28878
|
decimal?: number;
|
|
28858
28879
|
}): Promise<AreaMeasure | any>;
|
|
@@ -28867,7 +28888,7 @@ declare class Measure extends BaseThing {
|
|
|
28867
28888
|
* @returns 绘制创建完成的Promise,返回 面积测量控制类 对象
|
|
28868
28889
|
*/
|
|
28869
28890
|
areaSurface(options?: {
|
|
28870
|
-
style?: PolygonEntity.StyleOptions;
|
|
28891
|
+
style?: PolygonEntity.StyleOptions | any;
|
|
28871
28892
|
unit?: string;
|
|
28872
28893
|
splitNum?: number;
|
|
28873
28894
|
has3dtiles?: boolean;
|
|
@@ -28892,7 +28913,7 @@ declare class Measure extends BaseThing {
|
|
|
28892
28913
|
* @returns 绘制创建完成的Promise,返回 体积测量控制类 对象
|
|
28893
28914
|
*/
|
|
28894
28915
|
volume(options?: {
|
|
28895
|
-
style?: PolygonEntity.StyleOptions;
|
|
28916
|
+
style?: PolygonEntity.StyleOptions | any;
|
|
28896
28917
|
unit?: string;
|
|
28897
28918
|
splitNum?: number;
|
|
28898
28919
|
has3dtiles?: boolean;
|
|
@@ -28902,8 +28923,8 @@ declare class Measure extends BaseThing {
|
|
|
28902
28923
|
heightLabel?: boolean;
|
|
28903
28924
|
offsetLabel?: boolean;
|
|
28904
28925
|
showArea?: boolean;
|
|
28905
|
-
polygonWall?: PolygonEntity.StyleOptions;
|
|
28906
|
-
labelHeight?: LabelEntity.StyleOptions;
|
|
28926
|
+
polygonWall?: PolygonEntity.StyleOptions | any;
|
|
28927
|
+
labelHeight?: LabelEntity.StyleOptions | any;
|
|
28907
28928
|
decimal?: number;
|
|
28908
28929
|
}): Promise<VolumeMeasure | any>;
|
|
28909
28930
|
/**
|
|
@@ -28915,7 +28936,7 @@ declare class Measure extends BaseThing {
|
|
|
28915
28936
|
* @returns 绘制创建完成的Promise,返回 高度测量 对象
|
|
28916
28937
|
*/
|
|
28917
28938
|
height(options?: {
|
|
28918
|
-
style?: PolylineEntity.StyleOptions;
|
|
28939
|
+
style?: PolylineEntity.StyleOptions | any;
|
|
28919
28940
|
unit?: string;
|
|
28920
28941
|
decimal?: number;
|
|
28921
28942
|
}): Promise<HeightMeasure | any>;
|
|
@@ -28929,7 +28950,7 @@ declare class Measure extends BaseThing {
|
|
|
28929
28950
|
* @returns 绘制创建完成的Promise,返回 三角高度测量控制类 对象
|
|
28930
28951
|
*/
|
|
28931
28952
|
heightTriangle(options?: {
|
|
28932
|
-
style?: PolylineEntity.StyleOptions;
|
|
28953
|
+
style?: PolylineEntity.StyleOptions | any;
|
|
28933
28954
|
unit?: string;
|
|
28934
28955
|
decimal?: number;
|
|
28935
28956
|
}): Promise<HeightTriangleMeasure | any>;
|
|
@@ -28942,7 +28963,7 @@ declare class Measure extends BaseThing {
|
|
|
28942
28963
|
* @returns 绘制创建完成的Promise,返回 角度测量控制类 对象
|
|
28943
28964
|
*/
|
|
28944
28965
|
angle(options?: {
|
|
28945
|
-
style?: PolylineEntity.StyleOptions;
|
|
28966
|
+
style?: PolylineEntity.StyleOptions | any;
|
|
28946
28967
|
angleDecimal?: number;
|
|
28947
28968
|
decimal?: number;
|
|
28948
28969
|
}): Promise<AngleMeasure | any>;
|
|
@@ -28953,7 +28974,7 @@ declare class Measure extends BaseThing {
|
|
|
28953
28974
|
* @returns 绘制创建完成的Promise,返回 坐标测量控制类 对象
|
|
28954
28975
|
*/
|
|
28955
28976
|
point(options?: {
|
|
28956
|
-
style?: PointEntity.StyleOptions;
|
|
28977
|
+
style?: PointEntity.StyleOptions | any;
|
|
28957
28978
|
}): Promise<PointMeasure | any>;
|
|
28958
28979
|
/**
|
|
28959
28980
|
* 取消并停止绘制,如有未完成的绘制会自动删除
|
|
@@ -29130,13 +29151,13 @@ declare class Sightline extends BaseThing {
|
|
|
29130
29151
|
* @param [options.offsetHeight = 0] - 在起点增加的高度值,比如加上人的身高
|
|
29131
29152
|
* @param [options.splitNum = 50] - 插值数,等比分割的个数
|
|
29132
29153
|
* @param [options.minDistance] - 插值时的最小间隔(单位:米),优先级高于splitNum
|
|
29133
|
-
* @returns
|
|
29154
|
+
* @returns 分析结果完成的Promise
|
|
29134
29155
|
*/
|
|
29135
29156
|
addAsync(origin: Cesium.Cartesian3, target: Cesium.Cartesian3, options?: {
|
|
29136
29157
|
offsetHeight?: number;
|
|
29137
29158
|
splitNum?: number;
|
|
29138
29159
|
minDistance?: number;
|
|
29139
|
-
}):
|
|
29160
|
+
}): Promise<any>;
|
|
29140
29161
|
/**
|
|
29141
29162
|
* 清除分析
|
|
29142
29163
|
* @returns 无
|
|
@@ -29432,10 +29453,10 @@ declare class RotatePoint extends BaseThing {
|
|
|
29432
29453
|
readonly isStart: boolean;
|
|
29433
29454
|
/**
|
|
29434
29455
|
* 开始旋转
|
|
29435
|
-
* @param point - 旋转的中心点
|
|
29456
|
+
* @param [point] - 旋转的中心点
|
|
29436
29457
|
* @returns 无
|
|
29437
29458
|
*/
|
|
29438
|
-
start(point
|
|
29459
|
+
start(point?: LngLatPoint | Cesium.Cartesian3 | number[]): void;
|
|
29439
29460
|
/**
|
|
29440
29461
|
* 停止旋转
|
|
29441
29462
|
* @returns 无
|
|
@@ -29600,7 +29621,7 @@ declare namespace FloodByGraphic {
|
|
|
29600
29621
|
declare class FloodByGraphic extends BaseThing {
|
|
29601
29622
|
constructor(options?: {
|
|
29602
29623
|
positions?: any[][] | string[] | LngLatPoint[] | Cesium.Cartesian3[];
|
|
29603
|
-
style?: PolygonEntity.StyleOptions;
|
|
29624
|
+
style?: PolygonEntity.StyleOptions | any;
|
|
29604
29625
|
speed?: number;
|
|
29605
29626
|
minHeight?: number;
|
|
29606
29627
|
maxHeight?: number;
|
|
@@ -29790,9 +29811,9 @@ declare class Slope extends BaseThing {
|
|
|
29790
29811
|
length?: number;
|
|
29791
29812
|
};
|
|
29792
29813
|
tooltip?: (...params: any[]) => any;
|
|
29793
|
-
tooltipOptions?: Tooltip.StyleOptions;
|
|
29814
|
+
tooltipOptions?: Tooltip.StyleOptions | any;
|
|
29794
29815
|
popup?: (...params: any[]) => any;
|
|
29795
|
-
popupOptions?: Popup.StyleOptions;
|
|
29816
|
+
popupOptions?: Popup.StyleOptions | any;
|
|
29796
29817
|
id?: string | number;
|
|
29797
29818
|
enabled?: boolean;
|
|
29798
29819
|
eventParent?: BaseClass | boolean;
|
|
@@ -30162,7 +30183,7 @@ declare class TilesetBoxClip extends BaseThing {
|
|
|
30162
30183
|
position: LngLatPoint | Cesium.Cartesian3;
|
|
30163
30184
|
dimensions: Cesium.Cartesian3;
|
|
30164
30185
|
showBox?: boolean;
|
|
30165
|
-
boxStyle?: BoxEntity.StyleOptions;
|
|
30186
|
+
boxStyle?: BoxEntity.StyleOptions | any;
|
|
30166
30187
|
clipOutSide?: boolean;
|
|
30167
30188
|
edgeWidth?: number;
|
|
30168
30189
|
edgeColor?: Cesium.Color;
|
|
@@ -30333,73 +30354,10 @@ declare class TilesetFlat extends TilesetEditBase {
|
|
|
30333
30354
|
enabled?: boolean;
|
|
30334
30355
|
eventParent?: BaseClass | boolean;
|
|
30335
30356
|
});
|
|
30336
|
-
/**
|
|
30337
|
-
* 区域 列表
|
|
30338
|
-
*/
|
|
30339
|
-
readonly list: any;
|
|
30340
|
-
/**
|
|
30341
|
-
* 需要分析的模型(3dtiles图层)
|
|
30342
|
-
*/
|
|
30343
|
-
layer: TilesetLayer;
|
|
30344
|
-
/**
|
|
30345
|
-
* 需要分析的模型 对应的 Cesium3DTileset 对象
|
|
30346
|
-
*/
|
|
30347
|
-
readonly tileset: Cesium.Cesium3DTileset;
|
|
30348
|
-
/**
|
|
30349
|
-
* 压平高度 (单位:米),基于压平区域最低点高度的偏移量
|
|
30350
|
-
*/
|
|
30351
|
-
readonly layerHeight: number;
|
|
30352
|
-
/**
|
|
30353
|
-
* 坐标位置数组,只显示单个区域【单个区域场景时使用】
|
|
30354
|
-
*/
|
|
30355
|
-
positions: any[][] | string[] | LngLatPoint[] | Cesium.Cartesian3[];
|
|
30356
|
-
/**
|
|
30357
|
-
* 已添加的区域个数
|
|
30358
|
-
*/
|
|
30359
|
-
readonly length: number;
|
|
30360
|
-
/**
|
|
30361
|
-
* 添加单个区域
|
|
30362
|
-
* @param positions - 坐标位置数组
|
|
30363
|
-
* @param [options = {}] - 控制的参数
|
|
30364
|
-
* @param [options.height] - 开挖深度(地形开挖时,可以控制单个区域的开挖深度)
|
|
30365
|
-
* @returns 添加区域的记录对象
|
|
30366
|
-
*/
|
|
30367
|
-
addArea(positions: string[] | any[][] | LngLatPoint[] | Cesium.Cartesian3[], options?: {
|
|
30368
|
-
height?: any;
|
|
30369
|
-
}): Promise<any>;
|
|
30370
|
-
/**
|
|
30371
|
-
* 根据id获取区域对象
|
|
30372
|
-
* @param id - id值
|
|
30373
|
-
* @returns 区域对象
|
|
30374
|
-
*/
|
|
30375
|
-
getAreaById(id: number): any;
|
|
30376
|
-
/**
|
|
30377
|
-
* 隐藏单个区域
|
|
30378
|
-
* @param id - 区域id值
|
|
30379
|
-
* @returns 无
|
|
30380
|
-
*/
|
|
30381
|
-
hideArea(id: number): void;
|
|
30382
|
-
/**
|
|
30383
|
-
* 显示单个区域
|
|
30384
|
-
* @param id - 区域id值
|
|
30385
|
-
* @returns 无
|
|
30386
|
-
*/
|
|
30387
|
-
showArea(id: number): void;
|
|
30388
|
-
/**
|
|
30389
|
-
* 移除单个区域
|
|
30390
|
-
* @param item - 区域的id,或 addArea返回的区域对象
|
|
30391
|
-
* @returns 无
|
|
30392
|
-
*/
|
|
30393
|
-
removeArea(item: number | any): void;
|
|
30394
30357
|
/**
|
|
30395
30358
|
* 压平高度 (单位:米),基于压平区域最低点高度的偏移量
|
|
30396
30359
|
*/
|
|
30397
30360
|
height: number;
|
|
30398
|
-
/**
|
|
30399
|
-
* 清除分析
|
|
30400
|
-
* @returns 无
|
|
30401
|
-
*/
|
|
30402
|
-
clear(): void;
|
|
30403
30361
|
}
|
|
30404
30362
|
|
|
30405
30363
|
declare namespace TilesetFlood {
|
|
@@ -30523,7 +30481,7 @@ declare class TilesetPlanClip extends BaseThing {
|
|
|
30523
30481
|
edgeColor?: Cesium.Color;
|
|
30524
30482
|
showPlane?: boolean;
|
|
30525
30483
|
editPlane?: boolean;
|
|
30526
|
-
planeStyle?: PlaneEntity.StyleOptions;
|
|
30484
|
+
planeStyle?: PlaneEntity.StyleOptions | any;
|
|
30527
30485
|
id?: string | number;
|
|
30528
30486
|
enabled?: boolean;
|
|
30529
30487
|
eventParent?: BaseClass | boolean;
|
|
@@ -30979,7 +30937,7 @@ declare class PolygonStyleConver extends BaseStyleConver {
|
|
|
30979
30937
|
* @param isEntity - 是否为entity
|
|
30980
30938
|
* @returns 矢量数据所需的Cesium内部对象
|
|
30981
30939
|
*/
|
|
30982
|
-
static toCesiumVal(style: PolygonEntity.StyleOptions, entityGraphic: Cesium.PolygonGraphics | null, isEntity: boolean): Cesium.PolygonGraphics;
|
|
30940
|
+
static toCesiumVal(style: PolygonEntity.StyleOptions | any, entityGraphic: Cesium.PolygonGraphics | null, isEntity: boolean): Cesium.PolygonGraphics;
|
|
30983
30941
|
/**
|
|
30984
30942
|
* 导出Cesium的样式对象到json可以保存的格式
|
|
30985
30943
|
* @param czmVal - Cesium属性值
|
|
@@ -31205,6 +31163,12 @@ declare namespace DomUtil {
|
|
|
31205
31163
|
* @returns class样式名称
|
|
31206
31164
|
*/
|
|
31207
31165
|
function getClass(el: HTMLElement): string;
|
|
31166
|
+
/**
|
|
31167
|
+
* 复制canvas对象
|
|
31168
|
+
* @param oldCanvas - 原canvas对象
|
|
31169
|
+
* @returns 复制后的canvas对象
|
|
31170
|
+
*/
|
|
31171
|
+
function copyCanvas(oldCanvas: HTMLCanvasElement): HTMLCanvasElement;
|
|
31208
31172
|
}
|
|
31209
31173
|
|
|
31210
31174
|
/**
|
|
@@ -31230,7 +31194,7 @@ declare namespace DrawUtil {
|
|
|
31230
31194
|
* @param value - 像素
|
|
31231
31195
|
* @returns 无
|
|
31232
31196
|
*/
|
|
31233
|
-
function setPointStyle(value: PointPrimitive.StyleOptions): void;
|
|
31197
|
+
function setPointStyle(value: PointPrimitive.StyleOptions | any): void;
|
|
31234
31198
|
}
|
|
31235
31199
|
|
|
31236
31200
|
/**
|
|
@@ -32362,7 +32326,7 @@ declare namespace PolyUtil {
|
|
|
32362
32326
|
* @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
32363
32327
|
* @param [options.offset = 0] - 可以按需增加偏移高度(单位:米),便于可视
|
|
32364
32328
|
* @param options.callback - 异步计算高度完成后 的回调方法
|
|
32365
|
-
* @returns
|
|
32329
|
+
* @returns 异步计算完成的Promise, 等价于callback
|
|
32366
32330
|
*/
|
|
32367
32331
|
function computeSurfaceLine(options?: {
|
|
32368
32332
|
scene: Cesium.Scene;
|
|
@@ -32373,7 +32337,7 @@ declare namespace PolyUtil {
|
|
|
32373
32337
|
objectsToExclude?: any;
|
|
32374
32338
|
offset?: number;
|
|
32375
32339
|
callback: Globe.surfaceLineWork_callback;
|
|
32376
|
-
}):
|
|
32340
|
+
}): Promise<any>;
|
|
32377
32341
|
/**
|
|
32378
32342
|
* 求 多个点 的的贴地新坐标(不插值)
|
|
32379
32343
|
* @param [options = {}] - 参数对象:
|
|
@@ -32383,7 +32347,7 @@ declare namespace PolyUtil {
|
|
|
32383
32347
|
* @param [options.objectsToExclude = null] - 贴模型分析时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
32384
32348
|
* @param [options.offset = 0] - 可以按需增加偏移高度(单位:米),便于可视
|
|
32385
32349
|
* @param options.callback - 异步计算高度完成后 的回调方法
|
|
32386
|
-
* @returns
|
|
32350
|
+
* @returns 异步计算完成的Promise, 等价于callback
|
|
32387
32351
|
*/
|
|
32388
32352
|
function computeSurfacePoints(options?: {
|
|
32389
32353
|
scene: Cesium.Scene;
|
|
@@ -32392,7 +32356,7 @@ declare namespace PolyUtil {
|
|
|
32392
32356
|
objectsToExclude?: any;
|
|
32393
32357
|
offset?: number;
|
|
32394
32358
|
callback: Globe.surfaceLineWork_callback;
|
|
32395
|
-
}):
|
|
32359
|
+
}): Promise<any>;
|
|
32396
32360
|
/**
|
|
32397
32361
|
* 异步分段分步计算贴地距离中,每计算完成2个点之间的距离后 的回调方法
|
|
32398
32362
|
* @param raisedPositions - 当前2个点之间的 贴地坐标数组
|
|
@@ -32418,7 +32382,7 @@ declare namespace PolyUtil {
|
|
|
32418
32382
|
* @param options.endItem - 异步计算高度完成后 的回调方法
|
|
32419
32383
|
* @param options.end - 异步计算高度完成后 的回调方法
|
|
32420
32384
|
* @param options.callback - 异步计算高度完成后 的回调方法(别名,同end)
|
|
32421
|
-
* @returns
|
|
32385
|
+
* @returns 异步计算完成的Promise,同callback
|
|
32422
32386
|
*/
|
|
32423
32387
|
function computeStepSurfaceLine(options?: {
|
|
32424
32388
|
scene: Cesium.Scene;
|
|
@@ -32431,7 +32395,7 @@ declare namespace PolyUtil {
|
|
|
32431
32395
|
endItem: computeStepSurfaceLine_endItem;
|
|
32432
32396
|
end: computeStepSurfaceLine_end;
|
|
32433
32397
|
callback: computeStepSurfaceLine_end;
|
|
32434
|
-
}):
|
|
32398
|
+
}): Promise<any>;
|
|
32435
32399
|
/**
|
|
32436
32400
|
* 计算2点间的 曲线链路的点集(空中曲线)
|
|
32437
32401
|
* @param startPoint - 开始节点
|
|
@@ -32939,6 +32903,7 @@ declare namespace Util {
|
|
|
32939
32903
|
* @param [options.proxy] - 加载资源时要使用的代理服务url。
|
|
32940
32904
|
* @param [options.templateValues] - 一个对象,用于替换Url中的模板值的键/值对
|
|
32941
32905
|
* @param [options.headers] - 一个对象,将发送的其他HTTP标头。比如:headers: { 'X-My-Header': 'valueOfHeader' }
|
|
32906
|
+
* @param [options.method = "get"] - 请求类型
|
|
32942
32907
|
* @returns 返回Promise异步处理结果,对象为JSON数据
|
|
32943
32908
|
*/
|
|
32944
32909
|
function fetchJson(options: {
|
|
@@ -32947,6 +32912,7 @@ declare namespace Util {
|
|
|
32947
32912
|
proxy?: string;
|
|
32948
32913
|
templateValues?: any;
|
|
32949
32914
|
headers?: any;
|
|
32915
|
+
method?: string;
|
|
32950
32916
|
}): Promise<any>;
|
|
32951
32917
|
/**
|
|
32952
32918
|
* 请求服务返回结果,方法是基于axios库精简的
|
|
@@ -33055,6 +33021,7 @@ declare namespace material {
|
|
|
33055
33021
|
export { PolyGradientMaterialProperty }
|
|
33056
33022
|
export { RectSlideMaterialProperty }
|
|
33057
33023
|
export { Image2MaterialProperty }
|
|
33024
|
+
export { NeonLightMaterialProperty }
|
|
33058
33025
|
}
|
|
33059
33026
|
|
|
33060
33027
|
|
|
@@ -33189,6 +33156,7 @@ declare namespace graphic {
|
|
|
33189
33156
|
export { DynamicRoamLine }
|
|
33190
33157
|
export { RoamLine }
|
|
33191
33158
|
|
|
33159
|
+
//卫星插件
|
|
33192
33160
|
export { CamberRadar }
|
|
33193
33161
|
export { ConicSensor }
|
|
33194
33162
|
export { RectSensor }
|