mars3d 3.4.11 → 3.4.12

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 CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Mars3D三维可视化平台 mars3d
3
3
  *
4
- * 版本信息:v3.4.11
5
- * 编译日期:2022-10-24 18:57:15
4
+ * 版本信息:v3.4.12
5
+ * 编译日期:2022-11-01 17:35:55
6
6
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
7
7
  * 使用单位:免费公开版 ,2022-06-01
8
8
  */
package/dist/mars3d.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.4.11
6
- * 编译日期:2022-10-24 18:57:15
5
+ * 版本信息:v3.4.12
6
+ * 编译日期:2022-11-01 17:35:55
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
8
  * 使用单位:免费公开版 ,2022-06-01
9
9
  */
@@ -3455,7 +3455,7 @@ declare namespace BaseGraphic {
3455
3455
  * @param options - 参数对象,包括以下:
3456
3456
  * @param options.position - 【点状】矢量数据时的坐标位置,具体看子类实现
3457
3457
  * @param options.positions - 【线面状(多点)】矢量数据时的坐标位置,具体看子类实现
3458
- * @param options.style - 矢量数据的 样式信息,具体见各类数据的说明
3458
+ * @param options.style - 矢量数据的 样式信息,具体见各{@link GraphicType}子类矢量数据的style参数。
3459
3459
  * @param [options.attr] - 矢量数据的 属性信息,可以任意附加属性。
3460
3460
  * @param [options.popup] - 绑定的popup弹窗值,也可以bindPopup方法绑定
3461
3461
  * @param [options.popupOptions] - popup弹窗时的配置参数,也支持如pointerEvents等{@link Popup}构造参数
@@ -5018,8 +5018,6 @@ declare class WallCombine extends BasePolyCombine {
5018
5018
  * @param [options.instances.style] - 样式信息
5019
5019
  * @param [options.instances.attr] - 矢量数据的 属性信息,可以任意附加属性。
5020
5020
  * @param [options.style] - 所有面的公共样式信息
5021
- * @param [options.highlight] - 鼠标移入或单击后的对应高亮的部分样式
5022
- * @param [options.highlight.type] - 触发高亮的方式,默认鼠标移入,可以指定为type:'click'为单击后高亮
5023
5021
  * @param [options.appearance] - [cesium原生]用于渲染图元的外观。
5024
5022
  * @param [options.attributes] - [cesium原生]每个实例的属性。
5025
5023
  * @param [options.depthFailAppearance] - 当深度测试失败时,用于为该图元着色的外观。
@@ -5051,9 +5049,6 @@ declare class WaterCombine extends PolygonCombine {
5051
5049
  attr?: any;
5052
5050
  }[];
5053
5051
  style?: Water.StyleOptions | any;
5054
- highlight?: {
5055
- type?: string;
5056
- };
5057
5052
  appearance?: Cesium.Appearance;
5058
5053
  attributes?: Cesium.Appearance;
5059
5054
  depthFailAppearance?: Cesium.Appearance;
@@ -15080,6 +15075,9 @@ declare namespace PolygonPrimitive {
15080
15075
  * @property [granularity = Cesium.Math.RADIANS_PER_DEGREE] - 指定每个纬度点和经度点之间的角距离。
15081
15076
  * @property [closeTop = true] - 当为false时,离开一个挤压多边形的顶部打开。
15082
15077
  * @property [closeBottom = true] - 当为false时,离开挤压多边形的底部打开。
15078
+ * @property [distanceDisplayCondition = false] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
15079
+ * @property [distanceDisplayCondition_far = 100000] - 最大距离
15080
+ * @property [distanceDisplayCondition_near = 0] - 最小距离
15083
15081
  * @property [arcType = Cesium.ArcType.GEODESIC] - 多边形的边缘必须遵循的线条类型。
15084
15082
  * @property [hasShadows = false] - 是否阴影
15085
15083
  * @property [shadows = Cesium.ShadowMode.DISABLED] - 指定对象是投射还是接收来自光源的阴影。
@@ -15123,6 +15121,9 @@ declare namespace PolygonPrimitive {
15123
15121
  granularity?: number;
15124
15122
  closeTop?: boolean;
15125
15123
  closeBottom?: boolean;
15124
+ distanceDisplayCondition?: boolean | Cesium.DistanceDisplayConditionGeometryInstanceAttribute;
15125
+ distanceDisplayCondition_far?: number;
15126
+ distanceDisplayCondition_near?: number;
15126
15127
  arcType?: Cesium.ArcType;
15127
15128
  hasShadows?: boolean;
15128
15129
  shadows?: Cesium.ShadowMode;
@@ -15261,7 +15262,7 @@ declare namespace PolylinePrimitive {
15261
15262
  depthFail?: boolean;
15262
15263
  depthFailColor?: string;
15263
15264
  depthFailOpacity?: number;
15264
- distanceDisplayCondition?: boolean | Cesium.DistanceDisplayCondition;
15265
+ distanceDisplayCondition?: boolean | Cesium.DistanceDisplayConditionGeometryInstanceAttribute;
15265
15266
  distanceDisplayCondition_far?: number;
15266
15267
  distanceDisplayCondition_near?: number;
15267
15268
  arcType?: Cesium.ArcType;
@@ -16435,7 +16436,7 @@ declare class BaseLayer extends BaseClass {
16435
16436
  * @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
16436
16437
  * @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
16437
16438
  * @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
16438
- * @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
16439
+ * @param [options.height] - 矩形区域时的高度值, 默认取地形高度值
16439
16440
  * @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
16440
16441
  * @param [options.complete] - 飞行完成后要执行的函数。
16441
16442
  * @param [options.cancel] - 飞行取消时要执行的函数。
@@ -16456,6 +16457,7 @@ declare class BaseLayer extends BaseClass {
16456
16457
  roll?: number;
16457
16458
  minHeight?: number;
16458
16459
  maxHeight?: number;
16460
+ height?: number;
16459
16461
  duration?: number;
16460
16462
  complete?: Cesium.Camera.FlightCompleteCallback;
16461
16463
  cancel?: Cesium.Camera.FlightCancelledCallback;
@@ -16723,7 +16725,7 @@ declare class CzmGeoJsonLayer extends BaseGraphicLayer {
16723
16725
  * @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
16724
16726
  * @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
16725
16727
  * @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
16726
- * @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
16728
+ * @param [options.height] - 矩形区域时的高度值, 默认取地形高度值
16727
16729
  * @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
16728
16730
  * @param [options.complete] - 飞行完成后要执行的函数。
16729
16731
  * @param [options.cancel] - 飞行取消时要执行的函数。
@@ -16744,6 +16746,7 @@ declare class CzmGeoJsonLayer extends BaseGraphicLayer {
16744
16746
  roll?: number;
16745
16747
  minHeight?: number;
16746
16748
  maxHeight?: number;
16749
+ height?: number;
16747
16750
  duration?: number;
16748
16751
  complete?: Cesium.Camera.FlightCompleteCallback;
16749
16752
  cancel?: Cesium.Camera.FlightCancelledCallback;
@@ -19265,7 +19268,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
19265
19268
  * @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
19266
19269
  * @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
19267
19270
  * @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
19268
- * @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
19271
+ * @param [options.height] - 矩形区域时的高度值, 默认取地形高度值
19269
19272
  * @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
19270
19273
  * @param [options.complete] - 飞行完成后要执行的函数。
19271
19274
  * @param [options.cancel] - 飞行取消时要执行的函数。
@@ -19286,6 +19289,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
19286
19289
  roll?: number;
19287
19290
  minHeight?: number;
19288
19291
  maxHeight?: number;
19292
+ height?: number;
19289
19293
  duration?: number;
19290
19294
  complete?: Cesium.Camera.FlightCompleteCallback;
19291
19295
  cancel?: Cesium.Camera.FlightCancelledCallback;
@@ -20540,7 +20544,7 @@ declare class BaseTileLayer extends BaseLayer {
20540
20544
  * @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
20541
20545
  * @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
20542
20546
  * @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
20543
- * @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
20547
+ * @param [options.height] - 矩形区域时的高度值, 默认取地形高度值
20544
20548
  * @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
20545
20549
  * @param [options.complete] - 飞行完成后要执行的函数。
20546
20550
  * @param [options.cancel] - 飞行取消时要执行的函数。
@@ -20561,6 +20565,7 @@ declare class BaseTileLayer extends BaseLayer {
20561
20565
  roll?: number;
20562
20566
  minHeight?: number;
20563
20567
  maxHeight?: number;
20568
+ height?: number;
20564
20569
  duration?: number;
20565
20570
  complete?: Cesium.Camera.FlightCompleteCallback;
20566
20571
  cancel?: Cesium.Camera.FlightCancelledCallback;
@@ -26554,7 +26559,7 @@ declare class Tle {
26554
26559
  */
26555
26560
  static ecfToEci(positionEcf: Cesium.Cartesian3, datetime: Date | Cesium.JulianDate | number): Cesium.Cartesian3;
26556
26561
  /**
26557
- * 卫星开普勒六根数转换到两行轨道根数
26562
+ * 卫星开普勒六根数转换到两行轨道根数 【测试算法,待验证优化】
26558
26563
  * @param startYear - 开始年,比如2017年时传入17
26559
26564
  * @param startTime - 开始时间,每年1月1日0点为0,后逐渐累积,整数部分为日,小数部分为时分秒
26560
26565
  * @param six - 轨道六根数,顺序为:
@@ -27452,7 +27457,7 @@ declare class S3MLayer extends BaseLayer {
27452
27457
  * @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
27453
27458
  * @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
27454
27459
  * @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
27455
- * @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
27460
+ * @param [options.height] - 矩形区域时的高度值, 默认取地形高度值
27456
27461
  * @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
27457
27462
  * @param [options.complete] - 飞行完成后要执行的函数。
27458
27463
  * @param [options.cancel] - 飞行取消时要执行的函数。
@@ -27473,6 +27478,7 @@ declare class S3MLayer extends BaseLayer {
27473
27478
  roll?: number;
27474
27479
  minHeight?: number;
27475
27480
  maxHeight?: number;
27481
+ height?: number;
27476
27482
  duration?: number;
27477
27483
  complete?: Cesium.Camera.FlightCompleteCallback;
27478
27484
  cancel?: Cesium.Camera.FlightCancelledCallback;
@@ -27696,7 +27702,7 @@ declare class SmMvtLayer extends BaseLayer {
27696
27702
  * @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
27697
27703
  * @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
27698
27704
  * @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
27699
- * @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
27705
+ * @param [options.height] - 矩形区域时的高度值, 默认取地形高度值
27700
27706
  * @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
27701
27707
  * @param [options.complete] - 飞行完成后要执行的函数。
27702
27708
  * @param [options.cancel] - 飞行取消时要执行的函数。
@@ -27717,6 +27723,7 @@ declare class SmMvtLayer extends BaseLayer {
27717
27723
  roll?: number;
27718
27724
  minHeight?: number;
27719
27725
  maxHeight?: number;
27726
+ height?: number;
27720
27727
  duration?: number;
27721
27728
  complete?: Cesium.Camera.FlightCompleteCallback;
27722
27729
  cancel?: Cesium.Camera.FlightCancelledCallback;