mars3d 3.5.4 → 3.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mars3d.css +2 -2
- package/dist/mars3d.d.ts +153 -19
- package/dist/mars3d.js +3 -3
- package/package.json +2 -2
package/dist/mars3d.css
CHANGED
package/dist/mars3d.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Mars3D三维可视化平台 mars3d
|
|
4
4
|
*
|
|
5
|
-
* 版本信息:v3.5.
|
|
6
|
-
* 编译日期:2023-
|
|
5
|
+
* 版本信息:v3.5.6
|
|
6
|
+
* 编译日期:2023-05-08 17:54:45
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2023-03-17
|
|
9
9
|
*/
|
|
@@ -2808,6 +2808,13 @@ declare class LngLatArray {
|
|
|
2808
2808
|
* @returns 转换返回的Cartesian3数组
|
|
2809
2809
|
*/
|
|
2810
2810
|
static toCartesians(value: string[] | any[][] | LngLatPoint[], clone?: boolean): Cesium.Cartesian3[];
|
|
2811
|
+
/**
|
|
2812
|
+
* 根据传入的各种对象数据数组,转换返回Cartographic数组
|
|
2813
|
+
* @param value - 坐标位置数组
|
|
2814
|
+
* @param [clone] - 是否重新生成拷贝
|
|
2815
|
+
* @returns 转换返回的Cartesian3数组
|
|
2816
|
+
*/
|
|
2817
|
+
static toCartographics(value: string[] | any[][] | LngLatPoint[], clone?: boolean): Cesium.Cartographic[];
|
|
2811
2818
|
/**
|
|
2812
2819
|
* 根据传入的各种对象数据数组,转换返回LatLngPoint数组
|
|
2813
2820
|
* @param value - 坐标位置数组
|
|
@@ -3485,12 +3492,6 @@ declare class OutlineEffect extends BaseEffect {
|
|
|
3485
3492
|
* 如果两个三角面的法线间夹角小于该值 则标记为同一个平面。该值的单位:角度
|
|
3486
3493
|
*/
|
|
3487
3494
|
planeAngle: number;
|
|
3488
|
-
/**
|
|
3489
|
-
* 重新赋值参数,同构造方法参数一致。
|
|
3490
|
-
* @param options - 参数,与类的构造方法参数相同
|
|
3491
|
-
* @returns 当前对象本身,可以链式调用
|
|
3492
|
-
*/
|
|
3493
|
-
setOptions(options: any): OutlineEffect;
|
|
3494
3495
|
/**
|
|
3495
3496
|
* 高亮触发的事件类型,默认为单击。
|
|
3496
3497
|
*/
|
|
@@ -5540,14 +5541,20 @@ declare class ArcFrustum extends BasePointPrimitive {
|
|
|
5540
5541
|
* @param [options.wall] - 使用 墙体 对象,及其对应的样式 <br/>
|
|
5541
5542
|
* // * @param {number} [options.wall.maxDistance] 设置保留的轨迹长度值(单位:米),不设置时保留所有的轨迹<br/>
|
|
5542
5543
|
* // * @param {number} [options.wall.surface] 设置墙底部高度是否贴地
|
|
5544
|
+
* @param [options.orientation] - 自定义实体方向, 默认内部根据轨迹自动的
|
|
5545
|
+
* @param [options.fixedFrameTransform = Cesium.Transforms.eastNorthUpToFixedFrame] - 参考系
|
|
5543
5546
|
* @param [options.frameRate = 1] - 多少帧获取一次数据。用于控制效率,如果卡顿就把该数值调大一些。
|
|
5547
|
+
* @param [options.maxCacheCount = 100] - 保留的坐标点数量, 当为-1时保留所有
|
|
5544
5548
|
* @param [options.forwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 在任何可用坐标之后一次请求值时要执行的推断类型,默认为最后一个坐标位置。
|
|
5545
5549
|
* @param [options.backwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 在任何可用坐标之前一次请求值时要执行的推断类型,默认为第一个坐标位置。
|
|
5546
|
-
* @param [options.
|
|
5547
|
-
* @param [options.
|
|
5550
|
+
* @param [options.referenceFrame = Cesium.ReferenceFrame.FIXED] - 当使用addDynamicPosition设置为动画轨迹位置时,position位置被定义的参考系。
|
|
5551
|
+
* @param [options.numberOfDerivatives = 0] - 当使用addDynamicPosition设置为动画轨迹位置时,每个位置的导数的数量;即速度、加速度等。
|
|
5552
|
+
* @param [options.autoMiddleDynamicPosition] - 当使用addDynamicPosition设置为动画轨迹位置时,如果中间缺少数据时是否自动添加中间点。
|
|
5548
5553
|
* @param [options.clampToTileset] - 是否进行贴模型。
|
|
5549
5554
|
* @param [options.frameRateHeight = 30] - clampToTileset:true时,多少帧计算一次贴模型高度
|
|
5550
5555
|
* @param [options.objectsToExclude] - clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
5556
|
+
* @param [options.maxHeight] - 限定最高高度,避免计算异常数据
|
|
5557
|
+
* @param [options.minHeight] - 限定最低高度,避免计算异常数据
|
|
5551
5558
|
* @param [options.camera] - 视角模式设置,包括:
|
|
5552
5559
|
* @param [options.camera.type] - 视角模式类型,包括:'':无、'gs':跟随视角、'dy':第一视角、'sd':上帝视角
|
|
5553
5560
|
* @param [options.camera.radius] - 'gs'跟随视角时的 初始俯仰距离值(单位:米)
|
|
@@ -5597,14 +5604,20 @@ declare class FixedRoute extends Route {
|
|
|
5597
5604
|
path?: PathEntity.StyleOptions | any;
|
|
5598
5605
|
polyline?: PolylineEntity.StyleOptions | any;
|
|
5599
5606
|
wall?: WallEntity.StyleOptions | any;
|
|
5607
|
+
orientation?: Cesium.Property | any;
|
|
5608
|
+
fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
|
|
5600
5609
|
frameRate?: number;
|
|
5610
|
+
maxCacheCount?: number;
|
|
5601
5611
|
forwardExtrapolationType?: Cesium.ExtrapolationType;
|
|
5602
5612
|
backwardExtrapolationType?: Cesium.ExtrapolationType;
|
|
5603
|
-
|
|
5604
|
-
|
|
5613
|
+
referenceFrame?: Cesium.ReferenceFrame;
|
|
5614
|
+
numberOfDerivatives?: number;
|
|
5615
|
+
autoMiddleDynamicPosition?: boolean;
|
|
5605
5616
|
clampToTileset?: boolean;
|
|
5606
5617
|
frameRateHeight?: number;
|
|
5607
5618
|
objectsToExclude?: any;
|
|
5619
|
+
maxHeight?: number;
|
|
5620
|
+
minHeight?: number;
|
|
5608
5621
|
camera?: {
|
|
5609
5622
|
type?: string;
|
|
5610
5623
|
radius?: number;
|
|
@@ -5912,12 +5925,15 @@ declare namespace Route {
|
|
|
5912
5925
|
* @param [options.wall] - 使用 墙体 对象,及其对应的样式 <br/>
|
|
5913
5926
|
* // * @param {number} [options.wall.maxDistance] 设置保留的轨迹长度值(单位:米),不设置时保留所有的轨迹<br/>
|
|
5914
5927
|
* // * @param {number} [options.wall.surface] 设置墙底部高度是否贴地
|
|
5928
|
+
* @param [options.orientation] - 自定义实体方向, 默认内部根据轨迹自动的
|
|
5929
|
+
* @param [options.fixedFrameTransform = Cesium.Transforms.eastNorthUpToFixedFrame] - 参考系
|
|
5915
5930
|
* @param [options.frameRate = 1] - 多少帧获取一次数据。用于控制效率,如果卡顿就把该数值调大一些。
|
|
5916
5931
|
* @param [options.maxCacheCount = 100] - 保留的坐标点数量, 当为-1时保留所有
|
|
5917
5932
|
* @param [options.forwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 在任何可用坐标之后一次请求值时要执行的推断类型,默认为最后一个坐标位置。
|
|
5918
5933
|
* @param [options.backwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 在任何可用坐标之前一次请求值时要执行的推断类型,默认为第一个坐标位置。
|
|
5919
|
-
* @param [options.
|
|
5920
|
-
* @param [options.
|
|
5934
|
+
* @param [options.referenceFrame = Cesium.ReferenceFrame.FIXED] - 当使用addDynamicPosition设置为动画轨迹位置时,position位置被定义的参考系。
|
|
5935
|
+
* @param [options.numberOfDerivatives = 0] - 当使用addDynamicPosition设置为动画轨迹位置时,每个位置的导数的数量;即速度、加速度等。
|
|
5936
|
+
* @param [options.autoMiddleDynamicPosition] - 当使用addDynamicPosition设置为动画轨迹位置时,如果中间缺少数据时是否自动添加中间点。
|
|
5921
5937
|
* @param [options.clampToTileset] - 是否进行贴模型。
|
|
5922
5938
|
* @param [options.frameRateHeight = 30] - clampToTileset:true时,多少帧计算一次贴模型高度
|
|
5923
5939
|
* @param [options.objectsToExclude] - clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
@@ -5959,12 +5975,15 @@ declare class Route extends BasePointPrimitive {
|
|
|
5959
5975
|
path?: PathEntity.StyleOptions | any;
|
|
5960
5976
|
polyline?: PolylineEntity.StyleOptions | any;
|
|
5961
5977
|
wall?: WallEntity.StyleOptions | any;
|
|
5978
|
+
orientation?: Cesium.Property | any;
|
|
5979
|
+
fixedFrameTransform?: Cesium.Transforms.LocalFrameToFixedFrame;
|
|
5962
5980
|
frameRate?: number;
|
|
5963
5981
|
maxCacheCount?: number;
|
|
5964
5982
|
forwardExtrapolationType?: Cesium.ExtrapolationType;
|
|
5965
5983
|
backwardExtrapolationType?: Cesium.ExtrapolationType;
|
|
5966
|
-
|
|
5967
|
-
|
|
5984
|
+
referenceFrame?: Cesium.ReferenceFrame;
|
|
5985
|
+
numberOfDerivatives?: number;
|
|
5986
|
+
autoMiddleDynamicPosition?: boolean;
|
|
5968
5987
|
clampToTileset?: boolean;
|
|
5969
5988
|
frameRateHeight?: number;
|
|
5970
5989
|
objectsToExclude?: any;
|
|
@@ -6649,6 +6668,12 @@ declare namespace DivGraphic {
|
|
|
6649
6668
|
* @param [options.hasCache = true] - 是否启用缓存机制,如为true,在视角未变化时不重新渲染。
|
|
6650
6669
|
* @param [options.parentContainer] - 控件加入的父容器,默认为当前图层所在的DOM layer.container
|
|
6651
6670
|
* @param [options.frameRate = 1] - 多少帧获取更新一次DIV像素位置。用于控制效率,如果卡顿就把该数值调大一些。
|
|
6671
|
+
* @param [options.maxCacheCount = 50] - 当使用addDynamicPosition设置为动画轨迹位置时,保留的坐标点数量,传-1时不限制
|
|
6672
|
+
* @param [options.forwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 当使用addDynamicPosition设置为动画轨迹位置时,在任何可用坐标之后一次请求值时要执行的推断类型,默认为最后一个坐标位置。
|
|
6673
|
+
* @param [options.backwardExtrapolationType = Cesium.ExtrapolationType.HOLD] - 当使用addDynamicPosition设置为动画轨迹位置时, 在任何可用坐标之前一次请求值时要执行的推断类型,默认为第一个坐标位置。
|
|
6674
|
+
* @param [options.referenceFrame = Cesium.ReferenceFrame.FIXED] - 当使用addDynamicPosition设置为动画轨迹位置时,position位置被定义的参考系。
|
|
6675
|
+
* @param [options.numberOfDerivatives = 0] - 当使用addDynamicPosition设置为动画轨迹位置时,每个位置的导数的数量;即速度、加速度等。
|
|
6676
|
+
* @param [options.autoMiddleDynamicPosition] - 当使用addDynamicPosition设置为动画轨迹位置时,如果中间缺少数据时是否自动添加中间点。
|
|
6652
6677
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
6653
6678
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
6654
6679
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -6675,6 +6700,12 @@ declare class DivGraphic extends BaseGraphic {
|
|
|
6675
6700
|
hasCache?: boolean;
|
|
6676
6701
|
parentContainer?: HTMLElement;
|
|
6677
6702
|
frameRate?: number;
|
|
6703
|
+
maxCacheCount?: number;
|
|
6704
|
+
forwardExtrapolationType?: Cesium.ExtrapolationType;
|
|
6705
|
+
backwardExtrapolationType?: Cesium.ExtrapolationType;
|
|
6706
|
+
referenceFrame?: Cesium.ReferenceFrame;
|
|
6707
|
+
numberOfDerivatives?: number;
|
|
6708
|
+
autoMiddleDynamicPosition?: boolean;
|
|
6678
6709
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
6679
6710
|
popupOptions?: Popup.StyleOptions | any;
|
|
6680
6711
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
@@ -7486,6 +7517,7 @@ declare class BaseEntity extends BaseGraphic {
|
|
|
7486
7517
|
* @param [options.objectsToExclude] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
7487
7518
|
* @param [options.referenceFrame = Cesium.ReferenceFrame.FIXED] - 当使用addDynamicPosition设置为动画轨迹位置时,position位置被定义的参考系。
|
|
7488
7519
|
* @param [options.numberOfDerivatives = 0] - 当使用addDynamicPosition设置为动画轨迹位置时,每个位置的导数的数量;即速度、加速度等。
|
|
7520
|
+
* @param [options.autoMiddleDynamicPosition] - 当使用addDynamicPosition设置为动画轨迹位置时,如果中间缺少数据时是否自动添加中间点。
|
|
7489
7521
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
7490
7522
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
7491
7523
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -7520,6 +7552,7 @@ declare class BasePointEntity extends BaseEntity {
|
|
|
7520
7552
|
objectsToExclude?: any;
|
|
7521
7553
|
referenceFrame?: Cesium.ReferenceFrame;
|
|
7522
7554
|
numberOfDerivatives?: number;
|
|
7555
|
+
autoMiddleDynamicPosition?: boolean;
|
|
7523
7556
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
7524
7557
|
popupOptions?: Popup.StyleOptions | any;
|
|
7525
7558
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
@@ -7656,6 +7689,7 @@ declare class BasePointEntity extends BaseEntity {
|
|
|
7656
7689
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
7657
7690
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
7658
7691
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
7692
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
7659
7693
|
* @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
|
|
7660
7694
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
7661
7695
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
@@ -7685,6 +7719,7 @@ declare class BasePolyEntity extends BaseEntity {
|
|
|
7685
7719
|
onBeforeCreate?: (...params: any[]) => any;
|
|
7686
7720
|
minPointNum?: number;
|
|
7687
7721
|
maxPointNum?: number;
|
|
7722
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
7688
7723
|
hasDrawDelPoint?: boolean;
|
|
7689
7724
|
hasEdit?: boolean;
|
|
7690
7725
|
hasMoveEdit?: boolean;
|
|
@@ -8731,6 +8766,7 @@ declare namespace CorridorEntity {
|
|
|
8731
8766
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
8732
8767
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
8733
8768
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
8769
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
8734
8770
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
8735
8771
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
8736
8772
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -8759,6 +8795,7 @@ declare class CorridorEntity extends BasePolyEntity {
|
|
|
8759
8795
|
onBeforeCreate?: (...params: any[]) => any;
|
|
8760
8796
|
minPointNum?: number;
|
|
8761
8797
|
maxPointNum?: number;
|
|
8798
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
8762
8799
|
hasEdit?: boolean;
|
|
8763
8800
|
hasMoveEdit?: boolean;
|
|
8764
8801
|
hasHeightEdit?: boolean;
|
|
@@ -8790,7 +8827,9 @@ declare class CorridorEntity extends BasePolyEntity {
|
|
|
8790
8827
|
* @param options - 参数对象,包括以下:
|
|
8791
8828
|
* @param options.positions - 坐标位置
|
|
8792
8829
|
* @param options.style - 样式信息
|
|
8830
|
+
* // * @param {number} [options.style.sharpness=0.85] 曲线的弯曲程度
|
|
8793
8831
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
8832
|
+
* @param [options.getShowPositon] - 自定义计算曲线点回调方法,可以在方法内自定义计算算法。
|
|
8794
8833
|
* @param [options.availability] - 与该对象关联的可用性(如果有的话)。
|
|
8795
8834
|
* @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
|
|
8796
8835
|
* @param [options.viewFrom] - 观察这个物体时建议的初始偏移量。
|
|
@@ -8798,6 +8837,7 @@ declare class CorridorEntity extends BasePolyEntity {
|
|
|
8798
8837
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
8799
8838
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
8800
8839
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
8840
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
8801
8841
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
8802
8842
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
8803
8843
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -8819,6 +8859,7 @@ declare class CurveEntity extends PolylineEntity {
|
|
|
8819
8859
|
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any[];
|
|
8820
8860
|
style: PolylineEntity.StyleOptions | any;
|
|
8821
8861
|
attr?: any;
|
|
8862
|
+
getShowPositon?: (...params: any[]) => any;
|
|
8822
8863
|
availability?: Cesium.TimeIntervalCollection;
|
|
8823
8864
|
description?: Cesium.Property | string;
|
|
8824
8865
|
viewFrom?: Cesium.Property;
|
|
@@ -8826,6 +8867,7 @@ declare class CurveEntity extends PolylineEntity {
|
|
|
8826
8867
|
onBeforeCreate?: (...params: any[]) => any;
|
|
8827
8868
|
minPointNum?: number;
|
|
8828
8869
|
maxPointNum?: number;
|
|
8870
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
8829
8871
|
hasEdit?: boolean;
|
|
8830
8872
|
hasMoveEdit?: boolean;
|
|
8831
8873
|
hasHeightEdit?: boolean;
|
|
@@ -9227,6 +9269,12 @@ declare class EditPolygon extends EditPoly {
|
|
|
9227
9269
|
declare class EditPolygonEx extends EditPolygon {
|
|
9228
9270
|
}
|
|
9229
9271
|
|
|
9272
|
+
/**
|
|
9273
|
+
* Polygon对象Grid视频编辑 标绘处理对应的编辑类
|
|
9274
|
+
*/
|
|
9275
|
+
declare class EditPolygonGrid extends EditPoly {
|
|
9276
|
+
}
|
|
9277
|
+
|
|
9230
9278
|
/**
|
|
9231
9279
|
* PolylineVolume对象 标绘处理对应的编辑类
|
|
9232
9280
|
*/
|
|
@@ -10010,6 +10058,7 @@ declare namespace ModelEntity {
|
|
|
10010
10058
|
* @param [options.objectsToExclude] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
10011
10059
|
* @param [options.referenceFrame = Cesium.ReferenceFrame.FIXED] - 当使用addDynamicPosition设置为动画轨迹位置时,position位置被定义的参考系。
|
|
10012
10060
|
* @param [options.numberOfDerivatives = 0] - 当使用addDynamicPosition设置为动画轨迹位置时,每个位置的导数的数量;即速度、加速度等。
|
|
10061
|
+
* @param [options.autoMiddleDynamicPosition] - 当使用addDynamicPosition设置为动画轨迹位置时,如果中间缺少数据时是否自动添加中间点。
|
|
10013
10062
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
10014
10063
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
10015
10064
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
@@ -10051,6 +10100,7 @@ declare class ModelEntity extends BasePointEntity {
|
|
|
10051
10100
|
objectsToExclude?: any;
|
|
10052
10101
|
referenceFrame?: Cesium.ReferenceFrame;
|
|
10053
10102
|
numberOfDerivatives?: number;
|
|
10103
|
+
autoMiddleDynamicPosition?: boolean;
|
|
10054
10104
|
drawShow?: boolean;
|
|
10055
10105
|
hasEdit?: boolean;
|
|
10056
10106
|
hasMoveEdit?: boolean;
|
|
@@ -10792,6 +10842,7 @@ declare namespace PolygonEntity {
|
|
|
10792
10842
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
10793
10843
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
10794
10844
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
10845
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
10795
10846
|
* @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
|
|
10796
10847
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
10797
10848
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
@@ -10821,6 +10872,7 @@ declare class PolygonEntity extends BasePolyEntity {
|
|
|
10821
10872
|
onBeforeCreate?: (...params: any[]) => any;
|
|
10822
10873
|
minPointNum?: number;
|
|
10823
10874
|
maxPointNum?: number;
|
|
10875
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
10824
10876
|
hasDrawDelPoint?: boolean;
|
|
10825
10877
|
hasEdit?: boolean;
|
|
10826
10878
|
hasMoveEdit?: boolean;
|
|
@@ -10980,6 +11032,7 @@ declare namespace PolylineEntity {
|
|
|
10980
11032
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
10981
11033
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
10982
11034
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
11035
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
10983
11036
|
* @param [options.hasDrawDelPoint = true] - 绘制时,是否可以右键删除点
|
|
10984
11037
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
10985
11038
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
@@ -11009,6 +11062,7 @@ declare class PolylineEntity extends BasePolyEntity {
|
|
|
11009
11062
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11010
11063
|
minPointNum?: number;
|
|
11011
11064
|
maxPointNum?: number;
|
|
11065
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
11012
11066
|
hasDrawDelPoint?: boolean;
|
|
11013
11067
|
hasEdit?: boolean;
|
|
11014
11068
|
hasMoveEdit?: boolean;
|
|
@@ -11111,6 +11165,7 @@ declare namespace PolylineVolumeEntity {
|
|
|
11111
11165
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11112
11166
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
11113
11167
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
11168
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
11114
11169
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
11115
11170
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
11116
11171
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -11139,6 +11194,7 @@ declare class PolylineVolumeEntity extends BasePolyEntity {
|
|
|
11139
11194
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11140
11195
|
minPointNum?: number;
|
|
11141
11196
|
maxPointNum?: number;
|
|
11197
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
11142
11198
|
hasEdit?: boolean;
|
|
11143
11199
|
hasMoveEdit?: boolean;
|
|
11144
11200
|
hasHeightEdit?: boolean;
|
|
@@ -11253,6 +11309,7 @@ declare namespace RectangleEntity {
|
|
|
11253
11309
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11254
11310
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
11255
11311
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
11312
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
11256
11313
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
11257
11314
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
11258
11315
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -11282,6 +11339,7 @@ declare class RectangleEntity extends BasePolyEntity {
|
|
|
11282
11339
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11283
11340
|
minPointNum?: number;
|
|
11284
11341
|
maxPointNum?: number;
|
|
11342
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
11285
11343
|
hasEdit?: boolean;
|
|
11286
11344
|
hasMoveEdit?: boolean;
|
|
11287
11345
|
hasHeightEdit?: boolean;
|
|
@@ -11798,6 +11856,7 @@ declare namespace WallEntity {
|
|
|
11798
11856
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
11799
11857
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
11800
11858
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
11859
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
11801
11860
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
11802
11861
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
11803
11862
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -11826,6 +11885,7 @@ declare class WallEntity extends BasePolyEntity {
|
|
|
11826
11885
|
onBeforeCreate?: (...params: any[]) => any;
|
|
11827
11886
|
minPointNum?: number;
|
|
11828
11887
|
maxPointNum?: number;
|
|
11888
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
11829
11889
|
hasEdit?: boolean;
|
|
11830
11890
|
hasMoveEdit?: boolean;
|
|
11831
11891
|
hasHeightEdit?: boolean;
|
|
@@ -12676,6 +12736,7 @@ declare class StraightArrow extends PolygonEntity {
|
|
|
12676
12736
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
12677
12737
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
12678
12738
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
12739
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
12679
12740
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
12680
12741
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
12681
12742
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -12707,6 +12768,7 @@ declare class AngleMeasure extends PolylineEntity {
|
|
|
12707
12768
|
onBeforeCreate?: (...params: any[]) => any;
|
|
12708
12769
|
minPointNum?: number;
|
|
12709
12770
|
maxPointNum?: number;
|
|
12771
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
12710
12772
|
hasEdit?: boolean;
|
|
12711
12773
|
hasMoveEdit?: boolean;
|
|
12712
12774
|
hasHeightEdit?: boolean;
|
|
@@ -12751,6 +12813,7 @@ declare class AngleMeasure extends PolylineEntity {
|
|
|
12751
12813
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
12752
12814
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
12753
12815
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
12816
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
12754
12817
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
12755
12818
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
12756
12819
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -12781,6 +12844,7 @@ declare class AreaMeasure extends PolygonEntity {
|
|
|
12781
12844
|
onBeforeCreate?: (...params: any[]) => any;
|
|
12782
12845
|
minPointNum?: number;
|
|
12783
12846
|
maxPointNum?: number;
|
|
12847
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
12784
12848
|
hasEdit?: boolean;
|
|
12785
12849
|
hasMoveEdit?: boolean;
|
|
12786
12850
|
hasHeightEdit?: boolean;
|
|
@@ -12831,6 +12895,7 @@ declare class AreaMeasure extends PolygonEntity {
|
|
|
12831
12895
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
12832
12896
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
12833
12897
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
12898
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
12834
12899
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
12835
12900
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
12836
12901
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -12861,6 +12926,7 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
|
|
|
12861
12926
|
onBeforeCreate?: (...params: any[]) => any;
|
|
12862
12927
|
minPointNum?: number;
|
|
12863
12928
|
maxPointNum?: number;
|
|
12929
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
12864
12930
|
hasEdit?: boolean;
|
|
12865
12931
|
hasMoveEdit?: boolean;
|
|
12866
12932
|
hasHeightEdit?: boolean;
|
|
@@ -12895,6 +12961,7 @@ declare class AreaSurfaceMeasure extends AreaMeasure {
|
|
|
12895
12961
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
12896
12962
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
12897
12963
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
12964
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
12898
12965
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
12899
12966
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
12900
12967
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -12925,6 +12992,7 @@ declare class DistanceMeasure extends PolylineEntity {
|
|
|
12925
12992
|
onBeforeCreate?: (...params: any[]) => any;
|
|
12926
12993
|
minPointNum?: number;
|
|
12927
12994
|
maxPointNum?: number;
|
|
12995
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
12928
12996
|
hasEdit?: boolean;
|
|
12929
12997
|
hasMoveEdit?: boolean;
|
|
12930
12998
|
hasHeightEdit?: boolean;
|
|
@@ -12969,6 +13037,7 @@ declare class DistanceMeasure extends PolylineEntity {
|
|
|
12969
13037
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
12970
13038
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
12971
13039
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
13040
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
12972
13041
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
12973
13042
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
12974
13043
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -12999,6 +13068,7 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
|
|
|
12999
13068
|
onBeforeCreate?: (...params: any[]) => any;
|
|
13000
13069
|
minPointNum?: number;
|
|
13001
13070
|
maxPointNum?: number;
|
|
13071
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
13002
13072
|
hasEdit?: boolean;
|
|
13003
13073
|
hasMoveEdit?: boolean;
|
|
13004
13074
|
hasHeightEdit?: boolean;
|
|
@@ -13033,6 +13103,7 @@ declare class DistanceSurfaceMeasure extends DistanceMeasure {
|
|
|
13033
13103
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
13034
13104
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
13035
13105
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
13106
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
13036
13107
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
13037
13108
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
13038
13109
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -13063,6 +13134,7 @@ declare class HeightMeasure extends PolylineEntity {
|
|
|
13063
13134
|
onBeforeCreate?: (...params: any[]) => any;
|
|
13064
13135
|
minPointNum?: number;
|
|
13065
13136
|
maxPointNum?: number;
|
|
13137
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
13066
13138
|
hasEdit?: boolean;
|
|
13067
13139
|
hasMoveEdit?: boolean;
|
|
13068
13140
|
hasHeightEdit?: boolean;
|
|
@@ -13107,6 +13179,7 @@ declare class HeightMeasure extends PolylineEntity {
|
|
|
13107
13179
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
13108
13180
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
13109
13181
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
13182
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
13110
13183
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
13111
13184
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
13112
13185
|
* @param [options.hasHeightEdit = true] - 编辑时,当有diffHeight时,是否可以编辑高度
|
|
@@ -13137,6 +13210,7 @@ declare class HeightTriangleMeasure extends HeightMeasure {
|
|
|
13137
13210
|
onBeforeCreate?: (...params: any[]) => any;
|
|
13138
13211
|
minPointNum?: number;
|
|
13139
13212
|
maxPointNum?: number;
|
|
13213
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
13140
13214
|
hasEdit?: boolean;
|
|
13141
13215
|
hasMoveEdit?: boolean;
|
|
13142
13216
|
hasHeightEdit?: boolean;
|
|
@@ -13233,6 +13307,7 @@ declare class PointMeasure extends PointEntity {
|
|
|
13233
13307
|
* @param [options.onBeforeCreate] - 在 new Cesium.Entity(addattr) 前的回调方法,可以对addattr做额外个性化处理。
|
|
13234
13308
|
* @param [options.minPointNum = 2] - 绘制时,至少需要点的个数
|
|
13235
13309
|
* @param [options.maxPointNum = 9999] - 绘制时,最多允许点的个数
|
|
13310
|
+
* @param [options.validDrawPosition] - 绘制时,外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
13236
13311
|
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
13237
13312
|
* @param [options.hasEdit = true] - 是否允许编辑
|
|
13238
13313
|
* @param [options.hasMoveEdit = true] - 编辑时,是否可以整体平移
|
|
@@ -13264,6 +13339,7 @@ declare class SectionMeasure extends DistanceMeasure {
|
|
|
13264
13339
|
onBeforeCreate?: (...params: any[]) => any;
|
|
13265
13340
|
minPointNum?: number;
|
|
13266
13341
|
maxPointNum?: number;
|
|
13342
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
13267
13343
|
addHeight?: number;
|
|
13268
13344
|
hasEdit?: boolean;
|
|
13269
13345
|
hasMoveEdit?: boolean;
|
|
@@ -13508,6 +13584,9 @@ declare class VolumeMeasure extends AreaMeasure {
|
|
|
13508
13584
|
* @param [options.clampToTileset] - 当使用addDynamicPosition设置为动画轨迹位置时,是否进行贴模型。
|
|
13509
13585
|
* @param [options.frameRateHeight = 30] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,多少帧计算一次贴模型高度
|
|
13510
13586
|
* @param [options.objectsToExclude] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
13587
|
+
* @param [options.referenceFrame = Cesium.ReferenceFrame.FIXED] - 当使用addDynamicPosition设置为动画轨迹位置时,position位置被定义的参考系。
|
|
13588
|
+
* @param [options.numberOfDerivatives = 0] - 当使用addDynamicPosition设置为动画轨迹位置时,每个位置的导数的数量;即速度、加速度等。
|
|
13589
|
+
* @param [options.autoMiddleDynamicPosition] - 当使用addDynamicPosition设置为动画轨迹位置时,如果中间缺少数据时是否自动添加中间点。
|
|
13511
13590
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
13512
13591
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
13513
13592
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -13546,6 +13625,9 @@ declare class BasePointPrimitive extends BasePrimitive {
|
|
|
13546
13625
|
clampToTileset?: boolean;
|
|
13547
13626
|
frameRateHeight?: number;
|
|
13548
13627
|
objectsToExclude?: any;
|
|
13628
|
+
referenceFrame?: Cesium.ReferenceFrame;
|
|
13629
|
+
numberOfDerivatives?: number;
|
|
13630
|
+
autoMiddleDynamicPosition?: boolean;
|
|
13549
13631
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
13550
13632
|
popupOptions?: Popup.StyleOptions | any;
|
|
13551
13633
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
@@ -15803,6 +15885,9 @@ declare namespace ModelPrimitive {
|
|
|
15803
15885
|
* @param [options.clampToTileset] - 当使用addDynamicPosition设置为动画轨迹位置时,是否进行贴模型。
|
|
15804
15886
|
* @param [options.frameRateHeight = 30] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,多少帧计算一次贴模型高度
|
|
15805
15887
|
* @param [options.objectsToExclude] - 当使用addDynamicPosition设置为动画轨迹位置时,并clampToTileset:true时,排除的不进行贴模型计算的模型对象,可以是: primitives, entities, 或 3D Tiles features
|
|
15888
|
+
* @param [options.referenceFrame = Cesium.ReferenceFrame.FIXED] - 当使用addDynamicPosition设置为动画轨迹位置时,position位置被定义的参考系。
|
|
15889
|
+
* @param [options.numberOfDerivatives = 0] - 当使用addDynamicPosition设置为动画轨迹位置时,每个位置的导数的数量;即速度、加速度等。
|
|
15890
|
+
* @param [options.autoMiddleDynamicPosition] - 当使用addDynamicPosition设置为动画轨迹位置时,如果中间缺少数据时是否自动添加中间点。
|
|
15806
15891
|
* @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
|
|
15807
15892
|
* @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
|
|
15808
15893
|
* @param [options.tooltip] - 绑定的tooltip弹窗值,也可以bindTooltip方法绑
|
|
@@ -15832,6 +15917,9 @@ declare class ModelPrimitive extends BasePointPrimitive {
|
|
|
15832
15917
|
clampToTileset?: boolean;
|
|
15833
15918
|
frameRateHeight?: number;
|
|
15834
15919
|
objectsToExclude?: any;
|
|
15920
|
+
referenceFrame?: Cesium.ReferenceFrame;
|
|
15921
|
+
numberOfDerivatives?: number;
|
|
15922
|
+
autoMiddleDynamicPosition?: boolean;
|
|
15835
15923
|
popup?: string | any[] | ((...params: any[]) => any);
|
|
15836
15924
|
popupOptions?: Popup.StyleOptions | any;
|
|
15837
15925
|
tooltip?: string | any[] | ((...params: any[]) => any);
|
|
@@ -19763,7 +19851,9 @@ declare class GraphicLayer extends BaseGraphicLayer {
|
|
|
19763
19851
|
* @param [options.success] - 绘制创建完成的回调方法,同drawCreated事件,例如: success: function (graphic){ }
|
|
19764
19852
|
* //以下为Entity支持的构造参数
|
|
19765
19853
|
* @param [options.name] - 矢量数据名称
|
|
19854
|
+
* @param [options.minPointNum] - 线面数据时限定的最小坐标个数
|
|
19766
19855
|
* @param [options.maxPointNum] - 线面数据时限定的最大坐标个数
|
|
19856
|
+
* @param [options.validDrawPosition] - 外部自定义校验坐标,比如判断限定在指定区域内绘制。
|
|
19767
19857
|
* @param [options.drawShow = true] - 绘制时,是否自动隐藏entity,可避免拾取坐标存在问题。
|
|
19768
19858
|
* @param [options.addHeight] - 在绘制时,在绘制点的基础上增加的高度值
|
|
19769
19859
|
* @param [options.availability] - 与该对象关联的可用性(如果有的话)。
|
|
@@ -19776,7 +19866,9 @@ declare class GraphicLayer extends BaseGraphicLayer {
|
|
|
19776
19866
|
attr?: any;
|
|
19777
19867
|
success?: (...params: any[]) => any;
|
|
19778
19868
|
name?: string;
|
|
19869
|
+
minPointNum?: number;
|
|
19779
19870
|
maxPointNum?: number;
|
|
19871
|
+
validDrawPosition?: (...params: any[]) => any;
|
|
19780
19872
|
drawShow?: boolean;
|
|
19781
19873
|
addHeight?: number;
|
|
19782
19874
|
availability?: Cesium.TimeIntervalCollection;
|
|
@@ -24827,6 +24919,12 @@ declare class MouseEvent {
|
|
|
24827
24919
|
* @returns 获取拾取到的Cesium选中对象
|
|
24828
24920
|
*/
|
|
24829
24921
|
getPicked(event: any): any | undefined;
|
|
24922
|
+
/**
|
|
24923
|
+
* 瓦片图层上的矢量对象,动态获取
|
|
24924
|
+
* @param position - 坐标
|
|
24925
|
+
* @returns 完成时承诺
|
|
24926
|
+
*/
|
|
24927
|
+
pickImageryLayerFeatures(position: LngLatPoint | Cesium.Cartesian3 | any): Promise<any>;
|
|
24830
24928
|
}
|
|
24831
24929
|
|
|
24832
24930
|
declare namespace Map {
|
|
@@ -27952,6 +28050,7 @@ declare class TextMaterial extends Cesium.Material {
|
|
|
27952
28050
|
* @param [options.center.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
27953
28051
|
* @param [options.center.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
27954
28052
|
* @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
|
|
28053
|
+
* @param [options.zIndex = 9] - 图层对应DIV的zIndex层级
|
|
27955
28054
|
*/
|
|
27956
28055
|
declare class EchartsLayer extends BaseLayer {
|
|
27957
28056
|
constructor(options?: {
|
|
@@ -27974,6 +28073,7 @@ declare class EchartsLayer extends BaseLayer {
|
|
|
27974
28073
|
roll?: number;
|
|
27975
28074
|
};
|
|
27976
28075
|
flyTo?: boolean;
|
|
28076
|
+
zIndex?: number;
|
|
27977
28077
|
});
|
|
27978
28078
|
/**
|
|
27979
28079
|
* echarts对象,是echarts.init方法返回的 echartsInstance 实例
|
|
@@ -28210,6 +28310,7 @@ declare class HeatLayer extends BaseLayer {
|
|
|
28210
28310
|
* @param [options.center.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
28211
28311
|
* @param [options.center.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
28212
28312
|
* @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
|
|
28313
|
+
* @param [options.zIndex = 9] - 图层对应DIV的zIndex层级
|
|
28213
28314
|
* @param [dataSet] - mapv.DataSet数据集,可以参考[ MapV数据集对象说明]{@link https://github.com/huiyan-fe/mapv/blob/master/src/data/DataSet.md}
|
|
28214
28315
|
*/
|
|
28215
28316
|
declare class MapVLayer extends BaseLayer {
|
|
@@ -28233,6 +28334,7 @@ declare class MapVLayer extends BaseLayer {
|
|
|
28233
28334
|
roll?: number;
|
|
28234
28335
|
};
|
|
28235
28336
|
flyTo?: boolean;
|
|
28337
|
+
zIndex?: number;
|
|
28236
28338
|
} | any, dataSet?: any);
|
|
28237
28339
|
/**
|
|
28238
28340
|
* 图层对应的Canvas对象
|
|
@@ -30289,6 +30391,7 @@ declare namespace CanvasWindLayer {
|
|
|
30289
30391
|
* @param [options.center.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
30290
30392
|
* @param [options.center.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
30291
30393
|
* @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
|
|
30394
|
+
* @param [options.zIndex = 9] - 图层对应DIV的zIndex层级
|
|
30292
30395
|
*/
|
|
30293
30396
|
declare class CanvasWindLayer extends BaseLayer {
|
|
30294
30397
|
constructor(options?: {
|
|
@@ -30318,6 +30421,7 @@ declare class CanvasWindLayer extends BaseLayer {
|
|
|
30318
30421
|
roll?: number;
|
|
30319
30422
|
};
|
|
30320
30423
|
flyTo?: boolean;
|
|
30424
|
+
zIndex?: number;
|
|
30321
30425
|
});
|
|
30322
30426
|
/**
|
|
30323
30427
|
* 图层对应的Canvas对象
|
|
@@ -31787,6 +31891,21 @@ declare class Shadows extends BaseThing {
|
|
|
31787
31891
|
* @returns 无
|
|
31788
31892
|
*/
|
|
31789
31893
|
clear(): void;
|
|
31894
|
+
/**
|
|
31895
|
+
* 开始 日照阴影率 分析
|
|
31896
|
+
* @param options - 参数
|
|
31897
|
+
* @param options.startDate - 开始时间
|
|
31898
|
+
* @param options.endDate - 结束时间
|
|
31899
|
+
* @param positions - 分析区域范围坐标
|
|
31900
|
+
* @param step - 间隔(单位米)
|
|
31901
|
+
* @param [minHeight] - 最小高程(单位米),与maxHeight一起可以设置多层
|
|
31902
|
+
* @param [maxHeight] - 最大高程(单位米)
|
|
31903
|
+
* @returns 分析结果
|
|
31904
|
+
*/
|
|
31905
|
+
startRate(options: {
|
|
31906
|
+
startDate: Date;
|
|
31907
|
+
endDate: Date;
|
|
31908
|
+
}, positions: Cesium.Cartesian3[] | LngLatPoint[] | any, step: number, minHeight?: number, maxHeight?: number): Promise<any>;
|
|
31790
31909
|
}
|
|
31791
31910
|
|
|
31792
31911
|
declare namespace Sightline {
|
|
@@ -31901,7 +32020,7 @@ declare class Skyline extends BaseThing {
|
|
|
31901
32020
|
* 地下模式类
|
|
31902
32021
|
* @param [options] - 参数对象,包括以下:
|
|
31903
32022
|
* @param [options.alpha = 0.5] - 透明度 0.0-1.0
|
|
31904
|
-
* @param [options.color = Cesium.Color.
|
|
32023
|
+
* @param [options.color = Cesium.Color.BLACK] - 当相机在地下或球体是半透明时,渲染球体背面的颜色
|
|
31905
32024
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
31906
32025
|
* @param [options.enabled = true] - 对象的启用状态
|
|
31907
32026
|
* @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
|
|
@@ -35288,10 +35407,17 @@ declare namespace PolyUtil {
|
|
|
35288
35407
|
/**
|
|
35289
35408
|
* 求贝塞尔曲线坐标
|
|
35290
35409
|
* @param positions - 坐标数组
|
|
35291
|
-
* @param [
|
|
35410
|
+
* @param [options] - 控制参数
|
|
35411
|
+
* @param [options.closure = fasle] - 是否闭合曲线
|
|
35412
|
+
* @param [options.sharpness = 0.85] - 曲线的弯曲程度
|
|
35413
|
+
* @param [options.resolution = 10000] - 点之间的时间(以毫秒为单位)
|
|
35292
35414
|
* @returns 坐标数组
|
|
35293
35415
|
*/
|
|
35294
|
-
function getBezierCurve(positions: LngLatPoint[] | Cesium.Cartesian3[] | any[],
|
|
35416
|
+
function getBezierCurve(positions: LngLatPoint[] | Cesium.Cartesian3[] | any[], options?: {
|
|
35417
|
+
closure?: boolean;
|
|
35418
|
+
sharpness?: number;
|
|
35419
|
+
resolution?: number;
|
|
35420
|
+
}): Cesium.Cartesian3[];
|
|
35295
35421
|
/**
|
|
35296
35422
|
* 对路线进行平面等比插值,高度:指定的固定height值 或 按贴地高度。
|
|
35297
35423
|
* @param [options = {}] - 参数对象:
|
|
@@ -35449,6 +35575,14 @@ declare namespace PolyUtil {
|
|
|
35449
35575
|
* @returns 坐标集合 ,如: {points:[LngLatPoint,LngLatPoint], size: 500 }
|
|
35450
35576
|
*/
|
|
35451
35577
|
function getGridPoints(bbox: number[], count: number, alt?: number): any;
|
|
35578
|
+
/**
|
|
35579
|
+
* 获取指定多边形范围内的插值Grid网格点集合
|
|
35580
|
+
* @param positions - 区域范围
|
|
35581
|
+
* @param step - 间隔步长,单位:米
|
|
35582
|
+
* @param [alt] - 高度值
|
|
35583
|
+
* @returns 坐标集合
|
|
35584
|
+
*/
|
|
35585
|
+
function getGridPointsByPoly(positions: Cartesian3[], step: number, alt?: number): LngLatPoint[] | undefined;
|
|
35452
35586
|
/**
|
|
35453
35587
|
* 计算面内最大、最小高度值,并 使用离屏渲染深度图的方式加速计算范围内的任何可见的物体的高度 <br />
|
|
35454
35588
|
* @param positions - 坐标数组
|