mars3d 3.11.4 → 3.11.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/mars3d.css +2 -2
- package/mars3d.d.ts +10 -5
- package/mars3d.js +3 -3
- package/package.json +1 -1
package/mars3d.css
CHANGED
package/mars3d.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Mars3D三维可视化平台 mars3d
|
|
4
4
|
*
|
|
5
|
-
* 版本信息:v3.11.
|
|
6
|
-
* 编译日期:2026-
|
|
5
|
+
* 版本信息:v3.11.6
|
|
6
|
+
* 编译日期:2026-08-08 17:03
|
|
7
7
|
* 版权所有:Copyright by http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2026-02-01
|
|
9
9
|
*/
|
|
@@ -2173,6 +2173,7 @@ declare class BaseControl extends BaseThing {
|
|
|
2173
2173
|
* @param [options] - 参数对象,包括以下:
|
|
2174
2174
|
* @param [options.format = "yyyy-MM-dd HH:mm:ss"] - 当前时间格式化字符串,当传 format: "duration" 时显示已过时长(相对于map.clock.startTime)和总时长(相对于map.clock.stopTime)
|
|
2175
2175
|
* @param [options.speed = true] - 是否显示速度控制输入框
|
|
2176
|
+
* @param [options.maxSpeed = 86400] - 速度控制输入框内可输入的最大速度值
|
|
2176
2177
|
* @param [options.className] - 样式名称,可以外部自定义样式。
|
|
2177
2178
|
* @param [options.style] - 可以传任意CSS样式值,如:
|
|
2178
2179
|
* @param [options.style.top] - css定位top位置, 如 top: '10px'
|
|
@@ -2189,6 +2190,7 @@ declare class ClockAnimate extends BaseControl {
|
|
|
2189
2190
|
constructor(options?: {
|
|
2190
2191
|
format?: string;
|
|
2191
2192
|
speed?: boolean;
|
|
2193
|
+
maxSpeed?: number;
|
|
2192
2194
|
className?: string;
|
|
2193
2195
|
style?: any | {
|
|
2194
2196
|
top?: string;
|
|
@@ -2642,7 +2644,7 @@ declare class Timeline extends BaseCzmControl {
|
|
|
2642
2644
|
/**
|
|
2643
2645
|
* Toolbar按钮工具栏 【已内置默认是创建的】
|
|
2644
2646
|
* @param [options] - 参数对象,包括以下:
|
|
2645
|
-
* @param [options.position = "
|
|
2647
|
+
* @param [options.position = "left-bottom"] - 定位位置,可选值:"top-right"上侧靠右(cesium原生默认位置)、"top-left"上侧靠左、"left-top"左侧靠上、"left-bottom"左侧靠下、"right-top"右侧靠上、"right-bottom"右侧靠下
|
|
2646
2648
|
* @param [options.style] - 可以传任意CSS样式值,如:
|
|
2647
2649
|
* @param [options.style.top] - css定位top位置, 如 top: '10px'
|
|
2648
2650
|
* @param [options.style.bottom] - css定位bottom位置
|
|
@@ -2996,6 +2998,7 @@ declare class MouseDownView extends BaseControl {
|
|
|
2996
2998
|
* @param [options] - 参数对象,包括以下:
|
|
2997
2999
|
* @param options.basemap - 瓦片底图图层配置
|
|
2998
3000
|
* @param [options.layers] - 可以叠加显示的图层配置
|
|
3001
|
+
* @param [options.terrain] - 地形服务配置
|
|
2999
3002
|
* @param [options.scene] - 鹰眼地图场景参数
|
|
3000
3003
|
* @param [options.control] - 鹰眼地图控件参数
|
|
3001
3004
|
* @param [options.rectangle] - 视域区域矩形框样式信息,不配置时不叠加矩形(概略效果,有误差)。
|
|
@@ -3022,6 +3025,7 @@ declare class OverviewMap extends BaseControl {
|
|
|
3022
3025
|
constructor(options?: {
|
|
3023
3026
|
basemap: Map.basemapOptions | any;
|
|
3024
3027
|
layers?: Map.layerOptions[] | any[];
|
|
3028
|
+
terrain?: Map.terrainOptions | any;
|
|
3025
3029
|
scene?: Map.sceneOptions;
|
|
3026
3030
|
control?: Map.controlOptions;
|
|
3027
3031
|
rectangle?: RectangleEntity.StyleOptions | any;
|
|
@@ -37744,12 +37748,13 @@ declare class Measure extends BaseThing {
|
|
|
37744
37748
|
popupOptions?: Popup.StyleOptions | any;
|
|
37745
37749
|
}): Promise<PointMeasure | any>;
|
|
37746
37750
|
/**
|
|
37747
|
-
*
|
|
37751
|
+
* 停止绘制(不够最少点的对象和未开始绘制的对象会自动删除,已绘制了最少点的对象会完成在最后一个点位)
|
|
37752
|
+
* 如果需要清除正在绘制的对象,请用 clearDrawing() 方法
|
|
37748
37753
|
* @returns 是否清除了未完成的对象
|
|
37749
37754
|
*/
|
|
37750
37755
|
stopDraw(): boolean;
|
|
37751
37756
|
/**
|
|
37752
|
-
*
|
|
37757
|
+
* 清除正在绘制的对象
|
|
37753
37758
|
* @returns 是否清除了对象
|
|
37754
37759
|
*/
|
|
37755
37760
|
clearDrawing(): boolean;
|