mars3d 3.11.5 → 3.11.7
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 +81 -59
- 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.7
|
|
6
|
+
* 编译日期:2026-09-17 11:31
|
|
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位置
|
|
@@ -2784,7 +2786,7 @@ declare namespace LocationBar {
|
|
|
2784
2786
|
* @param [options.cacheTime = 50] - 鼠标移动的缓存时间
|
|
2785
2787
|
* @param [options.template] - 展示的内容格式化字符串, 为数组时按多语言顺序定义,如[中文、繁体、英文]
|
|
2786
2788
|
* 支持以下模版配置:
|
|
2787
|
-
* 【鼠标所在位置】 经度:{lng}, 纬度:{lat},
|
|
2789
|
+
* 【鼠标所在位置】 经度:{lng}, 纬度:{lat}, 大地高:{alt}米, 横{crsx} 纵{crsy}
|
|
2788
2790
|
* 【相机的】 方向角度:{heading}, 俯仰角度:{pitch}, 视高:{cameraHeight}米,
|
|
2789
2791
|
* 【地图的】 层级:{level}
|
|
2790
2792
|
* 【效率】 每秒帧率:{fps} (越高越流畅),延迟:{ms} 毫秒 (越小越流畅)
|
|
@@ -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;
|
|
@@ -3852,11 +3856,17 @@ declare class LngLatPoint {
|
|
|
3852
3856
|
static toCartographic(position: string | any[] | LngLatPoint | Cesium.Cartesian3 | any, time?: Cesium.JulianDate): Cesium.Cartographic;
|
|
3853
3857
|
/**
|
|
3854
3858
|
* 转换返回经纬度坐标数组
|
|
3855
|
-
* @param value -
|
|
3859
|
+
* @param value - 坐标位置
|
|
3856
3860
|
* @param [noAlt] - 是否包含高度值
|
|
3857
3861
|
* @returns 经纬度坐标数组,示例: [123.123456,32.654321,198.7]
|
|
3858
3862
|
*/
|
|
3859
3863
|
static toArray(value: string | any[] | Cesium.Cartesian3 | any, noAlt?: boolean): any[][];
|
|
3864
|
+
/**
|
|
3865
|
+
* 转换为普通object对象,便于保存json
|
|
3866
|
+
* @param value - 坐标位置
|
|
3867
|
+
* @returns 普通object对象
|
|
3868
|
+
*/
|
|
3869
|
+
static toObject(value: string | any[] | Cesium.Cartesian3 | any): any;
|
|
3860
3870
|
/**
|
|
3861
3871
|
* 经度纬度的格式化时的长度,默认为6
|
|
3862
3872
|
*/
|
|
@@ -5436,9 +5446,9 @@ declare class BaseGraphic extends BaseClass {
|
|
|
5436
5446
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
5437
5447
|
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
5438
5448
|
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
5439
|
-
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
5440
|
-
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
5441
|
-
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度,-90至90
|
|
5449
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360, 提示:该参数仅3D视图下有效
|
|
5450
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
5451
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度,-90至90, 提示:该参数仅3D视图下有效
|
|
5442
5452
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
5443
5453
|
* @param [options.onBefore] - 飞行前对相关坐标等参数做额外的回调处理,比如目标点做自定义偏移处理。
|
|
5444
5454
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
@@ -7871,7 +7881,7 @@ declare class Route extends BasePointPrimitive {
|
|
|
7871
7881
|
*/
|
|
7872
7882
|
readonly groundPosition: Cesium.Cartesian3;
|
|
7873
7883
|
/**
|
|
7874
|
-
*
|
|
7884
|
+
* 当前大地高值
|
|
7875
7885
|
*/
|
|
7876
7886
|
readonly alt: number;
|
|
7877
7887
|
/**
|
|
@@ -11116,9 +11126,9 @@ declare class CircleEntity extends BasePointEntity {
|
|
|
11116
11126
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
11117
11127
|
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
11118
11128
|
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
11119
|
-
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
11120
|
-
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
11121
|
-
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度,-90至90
|
|
11129
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360, 提示:该参数仅3D视图下有效
|
|
11130
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
11131
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度,-90至90, 提示:该参数仅3D视图下有效
|
|
11122
11132
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
11123
11133
|
* @param [options.onBefore] - 飞行前对相关坐标等参数做额外的回调处理,比如目标点做自定义偏移处理。
|
|
11124
11134
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
@@ -14461,9 +14471,9 @@ declare class RectangleEntity extends BasePolyEntity {
|
|
|
14461
14471
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
14462
14472
|
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
14463
14473
|
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
14464
|
-
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
14465
|
-
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
14466
|
-
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度,-90至90
|
|
14474
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360, 提示:该参数仅3D视图下有效
|
|
14475
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
14476
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度,-90至90, 提示:该参数仅3D视图下有效
|
|
14467
14477
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
14468
14478
|
* @param [options.onBefore] - 飞行前对相关坐标等参数做额外的回调处理,比如目标点做自定义偏移处理。
|
|
14469
14479
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
@@ -15706,6 +15716,7 @@ declare class ParallelogramEntity extends PolygonEntity {
|
|
|
15706
15716
|
|
|
15707
15717
|
/**
|
|
15708
15718
|
* 正多边形 Entity矢量数据
|
|
15719
|
+
* 提示:不支持时序坐标的编辑
|
|
15709
15720
|
* @param options - 参数对象,包括以下:
|
|
15710
15721
|
* @param options.position - 中心点坐标位置
|
|
15711
15722
|
* @param options.style - 样式信息,还包括:
|
|
@@ -18190,9 +18201,9 @@ declare class CirclePrimitive extends BasePointPrimitive {
|
|
|
18190
18201
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
18191
18202
|
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
18192
18203
|
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
18193
|
-
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
18194
|
-
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
18195
|
-
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度,-90至90
|
|
18204
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360, 提示:该参数仅3D视图下有效
|
|
18205
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
18206
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度,-90至90, 提示:该参数仅3D视图下有效
|
|
18196
18207
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
18197
18208
|
* @param [options.onBefore] - 飞行前对相关坐标等参数做额外的回调处理,比如目标点做自定义偏移处理。
|
|
18198
18209
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
@@ -19169,7 +19180,7 @@ declare namespace DynamicRiver {
|
|
|
19169
19180
|
* @property image - 图片材质URL
|
|
19170
19181
|
* @property [opacity = 0.5] - 透明度,取值范围:0.0-1.0
|
|
19171
19182
|
* @property [width = 20] - 河流宽度。(单位:米)
|
|
19172
|
-
* @property [height = 0] -
|
|
19183
|
+
* @property [height = 0] - 大地高,相对于椭球面的高度。(单位:米)
|
|
19173
19184
|
* @property [speed = 10] - 流动速度,值越大越快
|
|
19174
19185
|
* @property [axisY = false] - 是否uv交换(图片横竖切换)
|
|
19175
19186
|
* @property [move = true] - 是否开启流动效果
|
|
@@ -19225,7 +19236,7 @@ declare class DynamicRiver extends BasePolyPrimitive {
|
|
|
19225
19236
|
*/
|
|
19226
19237
|
width: number;
|
|
19227
19238
|
/**
|
|
19228
|
-
*
|
|
19239
|
+
* 大地高,相对于椭球面的高度。(单位:米)
|
|
19229
19240
|
*/
|
|
19230
19241
|
height: number;
|
|
19231
19242
|
/**
|
|
@@ -22523,9 +22534,9 @@ declare class BaseLayer extends BaseClass {
|
|
|
22523
22534
|
* @param [options = {}] - 参数对象:
|
|
22524
22535
|
* @param [options.radius] - 点状数据时,相机距离目标点的距离(单位:米)
|
|
22525
22536
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
22526
|
-
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
22527
|
-
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
22528
|
-
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
22537
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360, 提示:该参数仅3D视图下有效
|
|
22538
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
22539
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
22529
22540
|
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
22530
22541
|
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
22531
22542
|
* @param [options.height] - 矩形区域时的高度值, 默认取地形高度值
|
|
@@ -29536,7 +29547,7 @@ declare class TmsLayer extends BaseTileLayer {
|
|
|
29536
29547
|
* @param [options.subdomains] - URL模板中用于 {s} 占位符的子域。 如果此参数是单个字符串,则字符串中的每个字符都是一个子域。如果是 一个数组,数组中的每个元素都是一个子域。
|
|
29537
29548
|
* @param options.layers - 要包含的图层,用逗号分隔。
|
|
29538
29549
|
* @param [options.parameters = Cesium.WebMapServiceImageryProvider.DefaultParameters] - 要在URL中 传递给[WMS服务]{@link https://docs.geoserver.org/stable/en/user/services/wms/index.html}GetMap请求的其他参数。
|
|
29539
|
-
* @param [options.parameters.format = 'image/jpeg'] -
|
|
29550
|
+
* @param [options.parameters.format = 'image/jpeg'] - 瓦片格式,如需透明可以传入 image/png
|
|
29540
29551
|
* @param [options.parameters.transparent] - 是否透明
|
|
29541
29552
|
* @param [options.parameters.cql_filter] - 筛选服务数据的SQL语句
|
|
29542
29553
|
* @param [options.parameters.service = 'WMS'] - 服务类型
|
|
@@ -30442,7 +30453,7 @@ declare namespace Map {
|
|
|
30442
30453
|
* @property [selectedTerrainProviderViewModel] - baseLayerPicker底图切换面板中,如果没有提供当前基础地形层的视图模型,则使用第一个可用的地形层。
|
|
30443
30454
|
* @property [compass] - 导航球, 对应 {@link Compass}构造参数
|
|
30444
30455
|
* @property [locationBar] - 状态栏, 对应 {@link LocationBar}构造参数
|
|
30445
|
-
* @property [locationBar.format] - 显示内容的格式化html展示的内容格式化字符串。 支持以下模版配置:【鼠标所在位置】 经度:{lng}, 纬度:{lat},
|
|
30456
|
+
* @property [locationBar.format] - 显示内容的格式化html展示的内容格式化字符串。 支持以下模版配置:【鼠标所在位置】 经度:{lng}, 纬度:{lat}, 大地高:{alt}米, 【相机的】 方向角度:{heading}, 俯仰角度:{pitch}, 视高:{cameraHeight}米, 【地图的】 层级:{level},每秒帧率:{fps} (越高越流畅),延迟:{ms} 毫秒 (越小越流畅)
|
|
30446
30457
|
* @property [distanceLegend] - 比例尺, 对应 {@link DistanceLegend}构造参数
|
|
30447
30458
|
* @property [clockAnimate] - 时钟控制, 对应{@link ClockAnimate}构造参数
|
|
30448
30459
|
* @property [animation = true] - 时钟仪表控制(Cesium原生)
|
|
@@ -31633,9 +31644,9 @@ declare class Map extends BaseClass {
|
|
|
31633
31644
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
31634
31645
|
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
31635
31646
|
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
31636
|
-
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
31637
|
-
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
31638
|
-
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度,-90至90
|
|
31647
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360, 提示:该参数仅3D视图下有效
|
|
31648
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
31649
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度,-90至90, 提示:该参数仅3D视图下有效
|
|
31639
31650
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
31640
31651
|
* @param [options.onBefore] - 飞行前对相关坐标等参数做额外的回调处理,比如目标点做自定义偏移处理。
|
|
31641
31652
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
@@ -31677,9 +31688,9 @@ declare class Map extends BaseClass {
|
|
|
31677
31688
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
31678
31689
|
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
31679
31690
|
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
31680
|
-
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
31681
|
-
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
31682
|
-
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
31691
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360, 提示:该参数仅3D视图下有效
|
|
31692
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
31693
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
31683
31694
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
31684
31695
|
* @param [options.onBefore] - 飞行前对相关坐标等参数做额外的回调处理,比如目标点做自定义偏移处理。
|
|
31685
31696
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
@@ -31725,9 +31736,9 @@ declare class Map extends BaseClass {
|
|
|
31725
31736
|
* @param [options.scale] - 缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
31726
31737
|
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
31727
31738
|
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
31728
|
-
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
31729
|
-
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
31730
|
-
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
31739
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360, 提示:该参数仅3D视图下有效
|
|
31740
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
31741
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
31731
31742
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
31732
31743
|
* @param [options.onBefore] - 飞行前对相关坐标等参数做额外的回调处理,比如目标点做自定义偏移处理。
|
|
31733
31744
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
@@ -31771,9 +31782,9 @@ declare class Map extends BaseClass {
|
|
|
31771
31782
|
* @param point - 目标点位置(视角中心点)
|
|
31772
31783
|
* @param [options = {}] - 具有以下属性的对象:
|
|
31773
31784
|
* @param [options.radius] - 相机距离目标点的距离(单位:米)
|
|
31774
|
-
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
31775
|
-
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
31776
|
-
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
31785
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360, 提示:该参数仅3D视图下有效
|
|
31786
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
31787
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
31777
31788
|
* @param [options.duration] - 飞行持续时间(秒)。如果省略,内部会根据飞行距离计算出理想的飞行时间。
|
|
31778
31789
|
* @param [options.clampToGround] - 是否贴地对象,true时异步计算实际高度值后进行定位。
|
|
31779
31790
|
* @param [options.onBefore] - 飞行前对相关坐标等参数做额外的回调处理,比如目标点做自定义偏移处理。
|
|
@@ -34413,6 +34424,8 @@ declare namespace PointPlot {
|
|
|
34413
34424
|
* @property [flat = false] - 是否平放在地表
|
|
34414
34425
|
* @property [rotate = 0] - 竖直旋转角度
|
|
34415
34426
|
* @property [diffHeight = 0] - 拉伸厚度
|
|
34427
|
+
* @property [offsetX] - 调整默认中心点的X轴偏移量,取值范围-1.0~1.0,负数向左偏移,0不偏移,正数向右偏移
|
|
34428
|
+
* @property [offsetY] - 调整默认中心点的Y轴偏移量,取值范围-1.0~1.0,正数向上偏移,0不偏移,负数向下偏移
|
|
34416
34429
|
* @property [text] - 文本注记. 也支持text_前缀方式,比如 text: "我是注记", text_color: "#0000ff"
|
|
34417
34430
|
* @property [text.text] - 文字内容
|
|
34418
34431
|
* @property [text.color = "#ff0000"] - 颜色
|
|
@@ -34453,6 +34466,8 @@ declare namespace PointPlot {
|
|
|
34453
34466
|
flat?: boolean;
|
|
34454
34467
|
rotate?: number;
|
|
34455
34468
|
diffHeight?: number;
|
|
34469
|
+
offsetX?: number;
|
|
34470
|
+
offsetY?: number;
|
|
34456
34471
|
text?: {
|
|
34457
34472
|
text?: string;
|
|
34458
34473
|
color?: string | Cesium.Color;
|
|
@@ -34730,6 +34745,13 @@ declare namespace PlotUtil {
|
|
|
34730
34745
|
* })
|
|
34731
34746
|
*/
|
|
34732
34747
|
const symbolTree: any;
|
|
34748
|
+
/**
|
|
34749
|
+
* 根据标号编码获取标号信息
|
|
34750
|
+
* @param code - 标号编码
|
|
34751
|
+
* @param [hasIcon] - 是否取缩略图
|
|
34752
|
+
* @returns 标号信息
|
|
34753
|
+
*/
|
|
34754
|
+
function getPlotInfoByCode(code: string | number, hasIcon?: boolean): any;
|
|
34733
34755
|
/**
|
|
34734
34756
|
* 获取当前地图所在视域的比例尺值(可以用于设置JB基准比例尺)
|
|
34735
34757
|
* @param scene - 地图场景对象
|
|
@@ -36033,9 +36055,9 @@ declare class S3MLayer extends BaseLayer {
|
|
|
36033
36055
|
* @param [options = {}] - 参数对象:
|
|
36034
36056
|
* @param [options.radius] - 点状数据时,相机距离目标点的距离(单位:米)
|
|
36035
36057
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
36036
|
-
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
36037
|
-
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
36038
|
-
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
36058
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360, 提示:该参数仅3D视图下有效
|
|
36059
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
36060
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
36039
36061
|
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
36040
36062
|
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
36041
36063
|
* @param [options.height] - 矩形区域时的高度值, 默认取地形高度值
|
|
@@ -36272,9 +36294,9 @@ declare class SmMvtLayer extends BaseLayer {
|
|
|
36272
36294
|
* @param [options = {}] - 参数对象:
|
|
36273
36295
|
* @param [options.radius] - 点状数据时,相机距离目标点的距离(单位:米)
|
|
36274
36296
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
36275
|
-
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
36276
|
-
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
36277
|
-
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
36297
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360, 提示:该参数仅3D视图下有效
|
|
36298
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
36299
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90, 提示:该参数仅3D视图下有效
|
|
36278
36300
|
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
36279
36301
|
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
36280
36302
|
* @param [options.height] - 矩形区域时的高度值, 默认取地形高度值
|
|
@@ -38753,8 +38775,8 @@ declare class Task extends BaseThing {
|
|
|
38753
38775
|
* },
|
|
38754
38776
|
* }
|
|
38755
38777
|
* @param [options.showElseArea = true] - 是否显示区域外的地图
|
|
38756
|
-
* @param [options.minHeight = -414.0] - 地表渲染配色方案中的
|
|
38757
|
-
* @param [options.maxHeight = 8777] - 地表渲染配色方案中的
|
|
38778
|
+
* @param [options.minHeight = -414.0] - 地表渲染配色方案中的 最低大地高
|
|
38779
|
+
* @param [options.maxHeight = 8777] - 地表渲染配色方案中的 最高大地高
|
|
38758
38780
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
38759
38781
|
* @param [options.enabled = true] - 对象的启用状态
|
|
38760
38782
|
* @param [options.eventParent] - 指定的事件冒泡对象,默认为所加入的map对象,false时不冒泡事件
|
|
@@ -38802,11 +38824,11 @@ declare class ContourLine extends TerrainEditBase {
|
|
|
38802
38824
|
*/
|
|
38803
38825
|
color: Cesium.Color | string;
|
|
38804
38826
|
/**
|
|
38805
|
-
* 地表渲染配色方案中的
|
|
38827
|
+
* 地表渲染配色方案中的 最低大地高
|
|
38806
38828
|
*/
|
|
38807
38829
|
minHeight: number;
|
|
38808
38830
|
/**
|
|
38809
|
-
* 地表渲染配色方案中的
|
|
38831
|
+
* 地表渲染配色方案中的 最高大地高
|
|
38810
38832
|
*/
|
|
38811
38833
|
maxHeight: number;
|
|
38812
38834
|
/**
|
|
@@ -38842,8 +38864,8 @@ declare namespace FloodByGraphic {
|
|
|
38842
38864
|
* @param [options.perPositionHeight = false] - 指定是否使用每个位置的高度,true时不改变传入坐标的高度值,适合有坡度的水域,并且true时涉及的高度值均是至偏移值,0代表原始高度。
|
|
38843
38865
|
* @param [options.style] - 淹没区域的样式
|
|
38844
38866
|
* @param [options.speed] - 淹没速度
|
|
38845
|
-
* @param [options.minHeight] -
|
|
38846
|
-
* @param [options.maxHeight] -
|
|
38867
|
+
* @param [options.minHeight] - 淹没起始的大地高(单位:米)
|
|
38868
|
+
* @param [options.maxHeight] - 淹没结束的大地高(单位:米)
|
|
38847
38869
|
* @param [options.has3dtiles = auto] - 是否在3dtiles模型上分析(模型分析较慢,按需开启),默认内部根据点的位置自动判断(但可能不准),未设置时根据坐标自动判断(判断可能不准确)
|
|
38848
38870
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
38849
38871
|
* @param [options.enabled = true] - 对象的启用状态
|
|
@@ -38943,8 +38965,8 @@ declare namespace FloodByMaterial {
|
|
|
38943
38965
|
* @param [options.positions] - 坐标位置数组,只显示单个区域【单个区域场景时使用】
|
|
38944
38966
|
* @param [options.speed] - 淹没速度
|
|
38945
38967
|
* @param [options.color = new Cesium.Color(0.15, 0.7, 0.95, 0.5)] - 淹没颜色
|
|
38946
|
-
* @param [options.minHeight] -
|
|
38947
|
-
* @param [options.maxHeight] -
|
|
38968
|
+
* @param [options.minHeight] - 淹没起始的大地高(单位:米)
|
|
38969
|
+
* @param [options.maxHeight] - 淹没结束的大地高(单位:米)
|
|
38948
38970
|
* @param [options.showElseArea = true] - 是否显示区域外的地图
|
|
38949
38971
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
38950
38972
|
* @param [options.enabled = true] - 对象的启用状态
|
|
@@ -39470,9 +39492,9 @@ declare class TerrainUplift extends TerrainEditBase {
|
|
|
39470
39492
|
* 模型限高分析
|
|
39471
39493
|
* @param [options] - 参数对象,包括以下:
|
|
39472
39494
|
* @param [options.positions] - 限高区域坐标数组
|
|
39473
|
-
* @param [options.bottomHeight] -
|
|
39474
|
-
* @param [options.height] - 限高高度(单位米),是相对于bottomHeight
|
|
39475
|
-
* @param [options.diffHeight = 1000] - 限高的顶部高度(单位米), 是相对于bottomHeight
|
|
39495
|
+
* @param [options.bottomHeight] - 模型地面的视角水平起点的大地高(单位米),也就是说限高的高度是相对于该值的差值
|
|
39496
|
+
* @param [options.height] - 限高高度(单位米),是相对于bottomHeight模型地面的大地高的相对高度差
|
|
39497
|
+
* @param [options.diffHeight = 1000] - 限高的顶部高度(单位米), 是相对于bottomHeight模型地面的大地高的相对高度差
|
|
39476
39498
|
* @param [options.color = "#ffffff"] - 颜色
|
|
39477
39499
|
* @param [options.id = createGuid()] - 对象的id标识
|
|
39478
39500
|
* @param [options.enabled = true] - 对象的启用状态
|
|
@@ -39498,15 +39520,15 @@ declare class LimitHeight extends BaseThing {
|
|
|
39498
39520
|
*/
|
|
39499
39521
|
positions: any[][] | string[] | LngLatPoint[] | Cesium.Cartesian3[];
|
|
39500
39522
|
/**
|
|
39501
|
-
* 限高高度(单位米),相对于bottomHeight
|
|
39523
|
+
* 限高高度(单位米),相对于bottomHeight模型地面的大地高的相对高度。
|
|
39502
39524
|
*/
|
|
39503
39525
|
height: number;
|
|
39504
39526
|
/**
|
|
39505
|
-
*
|
|
39527
|
+
* 模型地面的大地高(单位:米)
|
|
39506
39528
|
*/
|
|
39507
39529
|
diffHeight: number;
|
|
39508
39530
|
/**
|
|
39509
|
-
*
|
|
39531
|
+
* 模型地面的大地高(单位:米)
|
|
39510
39532
|
*/
|
|
39511
39533
|
bottomHeight: number;
|
|
39512
39534
|
/**
|
|
@@ -39894,8 +39916,8 @@ declare namespace TilesetFlood {
|
|
|
39894
39916
|
* @param options.layer - 需要裁剪的对象(3dtiles图层)
|
|
39895
39917
|
* @param [options.area] - 多区域数组对象, 示例: [{ positions: [[108.959062, 34.220134, 397], [108.959802, 34.220147, 397], [108.959106, 34.21953, 398]] }]
|
|
39896
39918
|
* @param [options.speed] - 淹没速度,米/秒(默认刷新频率为55Hz)
|
|
39897
|
-
* @param [options.minHeight] -
|
|
39898
|
-
* @param [options.maxHeight] -
|
|
39919
|
+
* @param [options.minHeight] - 淹没起始的大地高(单位:米)
|
|
39920
|
+
* @param [options.maxHeight] - 淹没结束的大地高(单位:米)
|
|
39899
39921
|
* @param [options.color = new Cesium.Color(0.15, 0.7, 0.95, 0.5)] - 淹没颜色
|
|
39900
39922
|
* @param [options.floodAll] - 是否对整个模型进行分析
|
|
39901
39923
|
* @param [options.limitMin = false] - 显示效果中是否不显示最低高度以下的部分颜色
|