mars3d 3.6.1 → 3.6.2

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.6.1
5
- * 编译日期:2023-08-14 21:27:55
4
+ * 版本信息:v3.6.2
5
+ * 编译日期:2023-08-21 21:14:00
6
6
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
7
7
  * 使用单位:免费公开版 ,2023-03-17
8
8
  */
package/dist/mars3d.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  /**
3
3
  * Mars3D三维可视化平台 mars3d
4
4
  *
5
- * 版本信息:v3.6.1
6
- * 编译日期:2023-08-14 21:27:55
5
+ * 版本信息:v3.6.2
6
+ * 编译日期:2023-08-21 21:14:00
7
7
  * 版权所有:Copyright by 火星科技 http://mars3d.cn
8
8
  * 使用单位:免费公开版 ,2023-03-17
9
9
  */
@@ -1854,17 +1854,18 @@ declare class Compass extends BaseControl {
1854
1854
  /**
1855
1855
  * 时钟仪表控制 控件 (Cesium原生)
1856
1856
  * @param [options] - 参数对象,包括以下:
1857
- * @param [ticks = [0.1, 0.25, 0.5, 1.0, 2.0, 5.0, 10.0, 15.0, 30.0, 60.0, 120.0, 300.0, 600.0, 900.0, 1800.0, 3600.0]] - 可选的步长
1857
+ * @param [options.ticks = [0.1, 0.25, 0.5, 1.0, 2.0, 5.0, 10.0, 15.0, 30.0, 60.0, 120.0, 300.0, 600.0, 900.0, 1800.0, 3600.0]] - 可选的步长
1858
1858
  * @param [options.id = createGuid()] - 对象的id标识
1859
1859
  * @param [options.enabled = true] - 对象的启用状态
1860
1860
  * @param [options.parentContainer] - 控件加入的父容器,默认为map所在的DOM map.container
1861
1861
  */
1862
1862
  declare class Animation extends BaseCzmControl {
1863
1863
  constructor(options?: {
1864
+ ticks?: number[];
1864
1865
  id?: string | number;
1865
1866
  enabled?: boolean;
1866
1867
  parentContainer?: HTMLElement;
1867
- }, ticks?: number[]);
1868
+ });
1868
1869
  }
1869
1870
 
1870
1871
  /**
@@ -2705,7 +2706,7 @@ declare class BaseThing extends BaseClass {
2705
2706
  * })
2706
2707
  * let color = colorRamp.getColor(rate)
2707
2708
  * @param [options] - 参数对象,包括以下:
2708
- * @param options.colors - 色带的颜色数组,比如
2709
+ * @param options.colors - 色带的颜色数组
2709
2710
  * @param options.steps - 色带对应的数值数组
2710
2711
  */
2711
2712
  declare class ColorRamp {
@@ -4034,7 +4035,7 @@ declare class BaseGraphic extends BaseClass {
4034
4035
  * @param [event] - 用于抛出事件时的相关额外属性
4035
4036
  * @returns 当前对象本身,可以链式调用
4036
4037
  */
4037
- openPopup(position?: LngLatPoint | Cesium.Cartesian3 | number[], event?: any): BaseGraphic | any;
4038
+ openPopup(position?: LngLatPoint | Cesium.Cartesian3 | number[] | any, event?: any): BaseGraphic | any;
4038
4039
  /**
4039
4040
  * 关闭弹窗
4040
4041
  * @returns 当前对象本身,可以链式调用
@@ -17628,6 +17629,8 @@ declare namespace ScrollWall {
17628
17629
  * @property [reverse = false] - 方向:true往上、false往下
17629
17630
  * @property [style = 1] - 样式,可选值:1、2
17630
17631
  * @property [shadows = Cesium.ShadowMode.DISABLED] - 指定对象是投射还是接收来自光源的阴影。
17632
+ * @property [highlight] - 鼠标移入或单击(type:'click')后的对应高亮的部分样式,创建Graphic后也可以openHighlight、closeHighlight方法来手动调用
17633
+ * @property [label] - 支持附带文字的显示
17631
17634
  */
17632
17635
  type StyleOptions = any | {
17633
17636
  diffHeight?: number;
@@ -17637,6 +17640,8 @@ declare namespace ScrollWall {
17637
17640
  reverse?: boolean;
17638
17641
  style?: number;
17639
17642
  shadows?: Cesium.ShadowMode;
17643
+ highlight?: ScrollWall.StyleOptions | any;
17644
+ label?: LabelEntity.StyleOptions | any;
17640
17645
  };
17641
17646
  }
17642
17647
 
@@ -17677,6 +17682,10 @@ declare class ScrollWall extends BasePolyPrimitive {
17677
17682
  flyTo?: boolean;
17678
17683
  flyToOptions?: any;
17679
17684
  });
17685
+ /**
17686
+ * 中心点坐标 (笛卡尔坐标)
17687
+ */
17688
+ readonly center: Cesium.Cartesian3;
17680
17689
  /**
17681
17690
  * 矢量数据对应的 Cesium内部对象 (不同子类中实现)
17682
17691
  */
@@ -25746,6 +25755,8 @@ declare namespace Map {
25746
25755
  * @property [terrainShadows = Cesium.ShadowMode.RECEIVE_ONLY] - 确定地形是否投射或接收来自光源的阴影。
25747
25756
  * @property [requestRenderMode = false] - 是否显式渲染,如果为真,渲染帧只会在需要时发生,这是由场景中的变化决定的。启用可以减少你的应用程序的CPU/GPU使用量,并且在移动设备上使用更少的电池,但是需要使用 {@link Scene#requestRender} 在这种模式下显式地渲染一个新帧。在许多情况下,在API的其他部分更改场景后,这是必要的。参见 {@link https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/|Improving Performance with Explicit Rendering}.
25748
25757
  * @property [maximumRenderTimeChange = 0.0] - 如果requestRenderMode为true,这个值定义了在请求渲染之前允许的模拟时间的最大变化。参见 {@link https://cesium.com/blog/2018/01/24/cesium-scene-rendering-performance/|Improving Performance with Explicit Rendering}.
25758
+ * @property [depthPlaneEllipsoidOffset = 0.0] - 调整DepthPlane以处理椭球体零标高以下的渲染伪影。
25759
+ * @property [msaaSamples = 1] - 如果提供,该值控制多样本抗混叠的速率。典型的多采样率是每像素2、4,有时是8个采样。更高的MSAA采样率可能会影响性能,以换取更好的视觉质量。这个值只适用于支持多样本渲染目标的WebGL2上下文。
25749
25760
  *
25750
25761
  * 以下是Cesium.Globe对象相关参数
25751
25762
  * @property [globe] - globe地球相关参数
@@ -25829,6 +25840,8 @@ declare namespace Map {
25829
25840
  terrainShadows?: Cesium.ShadowMode;
25830
25841
  requestRenderMode?: boolean;
25831
25842
  maximumRenderTimeChange?: number;
25843
+ depthPlaneEllipsoidOffset?: number;
25844
+ msaaSamples?: number;
25832
25845
  globe?: {
25833
25846
  show?: boolean;
25834
25847
  baseColor?: string;
@@ -36934,8 +36947,6 @@ declare namespace layer {
36934
36947
  export { EchartsLayer }
36935
36948
  export { HeatLayer }
36936
36949
  export { MapVLayer }
36937
- export { SmImgLayer }
36938
- export { SmMvtLayer }
36939
36950
  export { TdtDmLayer }
36940
36951
  }
36941
36952
 
@@ -36993,7 +37004,7 @@ declare namespace thing {
36993
37004
 
36994
37005
  export {
36995
37006
  name, update, version, proj4, Tle, widget,
36996
- BaseClass, BaseThing, LngLatPoint, LngLatArray, GroundSkyBox, MultipleSkyBox, LocalWorldTransform, CRS, ChinaCRS, EventType, State, Token, MaterialType, GraphicType, LayerType, ControlType, EffectType, Lang, LangType, MoveType, ClipType, Icon,
37007
+ BaseClass, BaseThing, LngLatPoint, LngLatArray, GroundSkyBox, MultipleSkyBox, LocalWorldTransform, CRS, ChinaCRS, EventType, State, Token, ColorRamp, MaterialType, GraphicType, LayerType, ControlType, EffectType, Lang, LangType, MoveType, ClipType, Icon,
36997
37008
  DomUtil, MeasureUtil, PointUtil, PolyUtil, PointTrans, Util, Log, MaterialUtil, GraphicUtil, DrawUtil, LayerUtil, ControlUtil, EffectUtil,
36998
37009
  BaseMaterialConver, BaseStyleConver, BillboardStyleConver, CloudStyleConver, BoxStyleConver, CircleStyleConver, CorridorStyleConver, CylinderStyleConver, DivGraphicStyleConver, EllipsoidStyleConver, LabelStyleConver, ModelStyleConver, PathStyleConver, PlaneStyleConver, PointStyleConver, PolygonStyleConver, PolylineStyleConver, PolylineVolumeStyleConver, RectangleStyleConver, RectangularSensorStyleConver, WallStyleConver,
36999
37010
  material, graphic, provider, layer, thing, effect, control, query,