mars3d 3.4.8 → 3.4.10
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 +94 -15
- 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.4.
|
|
6
|
-
* 编译日期:2022-
|
|
5
|
+
* 版本信息:v3.4.10
|
|
6
|
+
* 编译日期:2022-10-17 17:25:48
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2022-06-01
|
|
9
9
|
*/
|
|
@@ -3024,6 +3024,7 @@ declare class BloomEffect extends BaseEffect {
|
|
|
3024
3024
|
* @param [options.ratio = 2.0] - 亮度增强比例
|
|
3025
3025
|
* @param [options.threshold = 0.0] - 亮度阈值
|
|
3026
3026
|
* @param [options.smoothWidth = 0.01] - 亮度光滑的宽度
|
|
3027
|
+
* @param [options.objectsToExclude] - 排除不拾取的对象,支持TilesetLayer或Graphic对象
|
|
3027
3028
|
* @param [options.enabled = true] - 对象的启用状态
|
|
3028
3029
|
*/
|
|
3029
3030
|
declare class BloomTargetEffect extends BaseEffect {
|
|
@@ -3039,6 +3040,7 @@ declare class BloomTargetEffect extends BaseEffect {
|
|
|
3039
3040
|
ratio?: number;
|
|
3040
3041
|
threshold?: number;
|
|
3041
3042
|
smoothWidth?: number;
|
|
3043
|
+
objectsToExclude?: any[];
|
|
3042
3044
|
enabled?: boolean;
|
|
3043
3045
|
});
|
|
3044
3046
|
/**
|
|
@@ -3880,7 +3882,7 @@ declare class BaseCombine extends BasePrimitive {
|
|
|
3880
3882
|
noAlt?: boolean;
|
|
3881
3883
|
}): any;
|
|
3882
3884
|
/**
|
|
3883
|
-
*
|
|
3885
|
+
* 更新颜色, 只对纯色材质有效,其他材质无法单独更新,需要setStle方法调用(全部更新渲染)。
|
|
3884
3886
|
* @param style - 样式信息
|
|
3885
3887
|
* @param [style.color = "#3388ff"] - 颜色
|
|
3886
3888
|
* @param [style.opacity = 1.0] - 透明度,取值范围:0.0-1.0
|
|
@@ -4414,6 +4416,7 @@ declare namespace FlatBillboard {
|
|
|
4414
4416
|
* @param [options.style] - 所有图标的公共样式信息
|
|
4415
4417
|
* @param [options.scale3d = 0.8] - 二维和三维模式切换后图标的缩放比例。因为二三维模式使用不同渲染方式,可能存在大小偏差,可以该参数调优。
|
|
4416
4418
|
* @param [options.distanceDisplayCondition = new Cesium.DistanceDisplayCondition(0, 5000000)] - 指定数据将显示在与摄像机的多大距离
|
|
4419
|
+
* @param [options.translucent = false] - 当true时,将启用alpha混合。
|
|
4417
4420
|
* @param [options.id = createGuid()] - 矢量数据id标识
|
|
4418
4421
|
* @param [options.name = ''] - 矢量数据名称
|
|
4419
4422
|
* @param [options.show = true] - 矢量数据是否显示
|
|
@@ -4430,6 +4433,7 @@ declare class FlatBillboard extends BaseCombine {
|
|
|
4430
4433
|
style?: FlatBillboard.StyleOptions | any;
|
|
4431
4434
|
scale3d?: number;
|
|
4432
4435
|
distanceDisplayCondition?: Cesium.DistanceDisplayCondition;
|
|
4436
|
+
translucent?: boolean;
|
|
4433
4437
|
id?: string | number;
|
|
4434
4438
|
name?: string;
|
|
4435
4439
|
show?: boolean;
|
|
@@ -5142,7 +5146,8 @@ declare class ArcFrustum extends BasePointPrimitive {
|
|
|
5142
5146
|
* @param options - 参数对象,包括以下:
|
|
5143
5147
|
* @param options.positions - 轨迹的 坐标数组
|
|
5144
5148
|
* @param [options.offsetHeight = 0] - 轨迹偏移增加的高度
|
|
5145
|
-
* @param [options.interpolation] -
|
|
5149
|
+
* @param [options.interpolation] - 是否使用插值算法
|
|
5150
|
+
* @param [options.interpolationAlgorithm = Cesium.HermitePolynomialApproximation] - 当interpolation为true时,使用的插值算法,如:Cesium.HermitePolynomialApproximation、Cesium.LagrangePolynomialApproximation、Cesium.LinearApproximation
|
|
5146
5151
|
* @param [options.interpolationDegree = 2] - 当interpolation为true时,使用的插值程度。
|
|
5147
5152
|
* @param [options.showStop = true] - 是否在start前或stop后显示矢量对象
|
|
5148
5153
|
* @param options.speed - 轨迹的 速度( 单位:千米/小时)
|
|
@@ -5197,7 +5202,8 @@ declare class FixedRoute extends Route {
|
|
|
5197
5202
|
positions: any[][] | LngLatPoint[];
|
|
5198
5203
|
offsetHeight?: number;
|
|
5199
5204
|
interpolation?: boolean;
|
|
5200
|
-
|
|
5205
|
+
interpolationAlgorithm?: number;
|
|
5206
|
+
interpolationDegree?: Cesium.InterpolationAlgorithm | number;
|
|
5201
5207
|
showStop?: boolean;
|
|
5202
5208
|
speed: any[][] | number;
|
|
5203
5209
|
timeField?: string;
|
|
@@ -10295,7 +10301,7 @@ declare namespace PolylineEntity {
|
|
|
10295
10301
|
*/
|
|
10296
10302
|
declare class PolylineEntity extends BasePolyEntity {
|
|
10297
10303
|
constructor(options: {
|
|
10298
|
-
positions: LngLatPoint[] | Cesium.Cartesian3[] | Cesium.PositionProperty | any
|
|
10304
|
+
positions: LngLatPoint[] | Cesium.Cartesian3[] | any[] | Cesium.PositionProperty | any;
|
|
10299
10305
|
style: PolylineEntity.StyleOptions | any;
|
|
10300
10306
|
attr?: any;
|
|
10301
10307
|
availability?: Cesium.TimeIntervalCollection;
|
|
@@ -16296,7 +16302,7 @@ declare class BaseGraphicLayer extends BaseLayer {
|
|
|
16296
16302
|
* @param options.extent.xmax - 最大经度值, -180 至 180
|
|
16297
16303
|
* @param options.extent.ymin - 最小纬度值, -90 至 90
|
|
16298
16304
|
* @param options.extent.ymax - 最大纬度值, -90 至 90
|
|
16299
|
-
* @param [options.extent.height
|
|
16305
|
+
* @param [options.extent.height] - 矩形高度值, 默认取地形高度值
|
|
16300
16306
|
* @param [options.flyTo] - 加载完成数据后是否自动飞行定位到数据所在的区域。
|
|
16301
16307
|
* @param [options.eventParent] - 指定的事件冒泡对象,默认为map对象,false时不冒泡
|
|
16302
16308
|
*/
|
|
@@ -16411,6 +16417,12 @@ declare class BaseLayer extends BaseClass {
|
|
|
16411
16417
|
* @param [options = {}] - 参数对象:
|
|
16412
16418
|
* @param [options.radius] - 点状数据时,相机距离目标点的距离(单位:米)
|
|
16413
16419
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
16420
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
16421
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
16422
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
16423
|
+
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
16424
|
+
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
16425
|
+
* @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
|
|
16414
16426
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
16415
16427
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
16416
16428
|
* @param [options.cancel] - 飞行取消时要执行的函数。
|
|
@@ -16426,6 +16438,11 @@ declare class BaseLayer extends BaseClass {
|
|
|
16426
16438
|
flyTo(options?: {
|
|
16427
16439
|
radius?: number;
|
|
16428
16440
|
scale?: number;
|
|
16441
|
+
heading?: number;
|
|
16442
|
+
pitch?: number;
|
|
16443
|
+
roll?: number;
|
|
16444
|
+
minHeight?: number;
|
|
16445
|
+
maxHeight?: number;
|
|
16429
16446
|
duration?: number;
|
|
16430
16447
|
complete?: Cesium.Camera.FlightCompleteCallback;
|
|
16431
16448
|
cancel?: Cesium.Camera.FlightCancelledCallback;
|
|
@@ -16631,13 +16648,13 @@ declare class CzmGeoJsonLayer extends BaseGraphicLayer {
|
|
|
16631
16648
|
* @param [newOptions.url] - geojson文件或服务url地址
|
|
16632
16649
|
* @param [newOptions.data] - geojson格式规范数据对象,与url二选一即可。
|
|
16633
16650
|
* @param [newOptions.类参数] - 包含当前类支持的所有参数
|
|
16634
|
-
* @returns
|
|
16651
|
+
* @returns 加载完成后的回调方法的Promise
|
|
16635
16652
|
*/
|
|
16636
16653
|
load(newOptions?: {
|
|
16637
16654
|
url?: string;
|
|
16638
16655
|
data?: any;
|
|
16639
16656
|
类参数?: any;
|
|
16640
|
-
}):
|
|
16657
|
+
}): Promise<any>;
|
|
16641
16658
|
/**
|
|
16642
16659
|
* 加载新数据 或 刷新数据
|
|
16643
16660
|
* @param symbol - 设置新的symbol 矢量数据样式. {@link GraphicType}
|
|
@@ -16676,11 +16693,24 @@ declare class CzmGeoJsonLayer extends BaseGraphicLayer {
|
|
|
16676
16693
|
* @returns 当前对象本身,可以链式调用
|
|
16677
16694
|
*/
|
|
16678
16695
|
clear(): CzmGeoJsonLayer;
|
|
16696
|
+
/**
|
|
16697
|
+
* 追加数据,处理提供的url或数据对象,而不清除任何现有数据。
|
|
16698
|
+
* @param diejiaData - 要处理的url或对象。
|
|
16699
|
+
* @param [options] - 控制参数
|
|
16700
|
+
* @returns 加载完成后的回调方法的Promise
|
|
16701
|
+
*/
|
|
16702
|
+
process(diejiaData: Resource | string | any, options?: any): Promise<any>;
|
|
16679
16703
|
/**
|
|
16680
16704
|
* 飞行定位至图层数据所在的视角
|
|
16681
16705
|
* @param [options = {}] - 参数对象:
|
|
16682
16706
|
* @param [options.radius] - 点状数据时,相机距离目标点的距离(单位:米)
|
|
16683
16707
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
16708
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
16709
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
16710
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
16711
|
+
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
16712
|
+
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
16713
|
+
* @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
|
|
16684
16714
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
16685
16715
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
16686
16716
|
* @param [options.cancel] - 飞行取消时要执行的函数。
|
|
@@ -16696,6 +16726,11 @@ declare class CzmGeoJsonLayer extends BaseGraphicLayer {
|
|
|
16696
16726
|
flyTo(options?: {
|
|
16697
16727
|
radius?: number;
|
|
16698
16728
|
scale?: number;
|
|
16729
|
+
heading?: number;
|
|
16730
|
+
pitch?: number;
|
|
16731
|
+
roll?: number;
|
|
16732
|
+
minHeight?: number;
|
|
16733
|
+
maxHeight?: number;
|
|
16699
16734
|
duration?: number;
|
|
16700
16735
|
complete?: Cesium.Camera.FlightCompleteCallback;
|
|
16701
16736
|
cancel?: Cesium.Camera.FlightCancelledCallback;
|
|
@@ -19208,6 +19243,12 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
19208
19243
|
* @param [options = {}] - 参数对象:
|
|
19209
19244
|
* @param [options.radius] - 点状数据时,相机距离目标点的距离(单位:米)
|
|
19210
19245
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
19246
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
19247
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
19248
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
19249
|
+
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
19250
|
+
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
19251
|
+
* @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
|
|
19211
19252
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
19212
19253
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
19213
19254
|
* @param [options.cancel] - 飞行取消时要执行的函数。
|
|
@@ -19223,6 +19264,11 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
19223
19264
|
flyTo(options?: {
|
|
19224
19265
|
radius?: number;
|
|
19225
19266
|
scale?: number;
|
|
19267
|
+
heading?: number;
|
|
19268
|
+
pitch?: number;
|
|
19269
|
+
roll?: number;
|
|
19270
|
+
minHeight?: number;
|
|
19271
|
+
maxHeight?: number;
|
|
19226
19272
|
duration?: number;
|
|
19227
19273
|
complete?: Cesium.Camera.FlightCompleteCallback;
|
|
19228
19274
|
cancel?: Cesium.Camera.FlightCancelledCallback;
|
|
@@ -20472,6 +20518,12 @@ declare class BaseTileLayer extends BaseLayer {
|
|
|
20472
20518
|
* @param [options = {}] - 参数对象:
|
|
20473
20519
|
* @param [options.radius] - 点状数据时,相机距离目标点的距离(单位:米)
|
|
20474
20520
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
20521
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
20522
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
20523
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
20524
|
+
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
20525
|
+
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
20526
|
+
* @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
|
|
20475
20527
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
20476
20528
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
20477
20529
|
* @param [options.cancel] - 飞行取消时要执行的函数。
|
|
@@ -20487,6 +20539,11 @@ declare class BaseTileLayer extends BaseLayer {
|
|
|
20487
20539
|
flyTo(options?: {
|
|
20488
20540
|
radius?: number;
|
|
20489
20541
|
scale?: number;
|
|
20542
|
+
heading?: number;
|
|
20543
|
+
pitch?: number;
|
|
20544
|
+
roll?: number;
|
|
20545
|
+
minHeight?: number;
|
|
20546
|
+
maxHeight?: number;
|
|
20490
20547
|
duration?: number;
|
|
20491
20548
|
complete?: Cesium.Camera.FlightCompleteCallback;
|
|
20492
20549
|
cancel?: Cesium.Camera.FlightCancelledCallback;
|
|
@@ -23300,7 +23357,7 @@ declare namespace Map {
|
|
|
23300
23357
|
* @property [多个参数] - 每种不同type都有自己的不同属性,具体参考{@link LayerType}找到type对应的BaseTileLayer子类图层类,查看其构造参数
|
|
23301
23358
|
*/
|
|
23302
23359
|
type basemapOptions = {
|
|
23303
|
-
type: string;
|
|
23360
|
+
type: string | LayerType;
|
|
23304
23361
|
多个参数?: any;
|
|
23305
23362
|
};
|
|
23306
23363
|
/**
|
|
@@ -23318,7 +23375,7 @@ declare namespace Map {
|
|
|
23318
23375
|
* @property [多个参数] - 每种type都有自己的不同属性,具体参考{@link LayerType}找到type对应的图层类,查看其构造参数
|
|
23319
23376
|
*/
|
|
23320
23377
|
type layerOptions = {
|
|
23321
|
-
type: string;
|
|
23378
|
+
type: string | LayerType;
|
|
23322
23379
|
id?: string | number;
|
|
23323
23380
|
pid?: string | number;
|
|
23324
23381
|
name?: string;
|
|
@@ -23987,9 +24044,9 @@ declare class Map extends BaseClass {
|
|
|
23987
24044
|
* 为了兼容老版本用户习惯和center参数名称一致而用的别名方法。
|
|
23988
24045
|
* @param cameraView - 飞行参数,同 setCameraView 方法
|
|
23989
24046
|
* @param [options = {}] - 参数对象,同 setCameraView 方法
|
|
23990
|
-
* @returns
|
|
24047
|
+
* @returns 如果飞行成功则解析为true的承诺,如果当前未在场景中可视化目标或取消飞行,则为false的Promise
|
|
23991
24048
|
*/
|
|
23992
|
-
centerAt(cameraView: any, options?: any):
|
|
24049
|
+
centerAt(cameraView: any, options?: any): Promise<boolean>;
|
|
23993
24050
|
/**
|
|
23994
24051
|
* 飞行到默认视角,
|
|
23995
24052
|
* 一般为config.json中的center参数配置的视角。
|
|
@@ -24157,7 +24214,7 @@ declare class Map extends BaseClass {
|
|
|
24157
24214
|
* @param extent.xmax - 最大经度值, -180 至 180
|
|
24158
24215
|
* @param extent.ymin - 最小纬度值, -90 至 90
|
|
24159
24216
|
* @param extent.ymax - 最大纬度值, -90 至 90
|
|
24160
|
-
* @param [extent.height
|
|
24217
|
+
* @param [extent.height] - 矩形高度值, 默认取地形高度值
|
|
24161
24218
|
* @param [options = {}] - 参数对象:
|
|
24162
24219
|
* @param [options.scale] - 缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
24163
24220
|
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
@@ -25604,7 +25661,7 @@ declare class TextMaterialProperty extends Image2MaterialProperty {
|
|
|
25604
25661
|
* 墙体: 走马灯围墙 材质
|
|
25605
25662
|
* @param [options] - 参数对象,包括以下:
|
|
25606
25663
|
* @param options.image - 背景图片URL
|
|
25607
|
-
* @param [options.color = new Cesium.Color(
|
|
25664
|
+
* @param [options.color = new Cesium.Color(0, 0, 0, 1.0)] - 背景图片颜色
|
|
25608
25665
|
* @param [options.count = 1] - 数量
|
|
25609
25666
|
* @param [options.reverse = false] - 方向,false是往下,true是往上
|
|
25610
25667
|
* @param [options.speed = 5.0] - 速度,值越大越快
|
|
@@ -27367,6 +27424,12 @@ declare class S3MLayer extends BaseLayer {
|
|
|
27367
27424
|
* @param [options = {}] - 参数对象:
|
|
27368
27425
|
* @param [options.radius] - 点状数据时,相机距离目标点的距离(单位:米)
|
|
27369
27426
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
27427
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
27428
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
27429
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
27430
|
+
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
27431
|
+
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
27432
|
+
* @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
|
|
27370
27433
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
27371
27434
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
27372
27435
|
* @param [options.cancel] - 飞行取消时要执行的函数。
|
|
@@ -27382,6 +27445,11 @@ declare class S3MLayer extends BaseLayer {
|
|
|
27382
27445
|
flyTo(options?: {
|
|
27383
27446
|
radius?: number;
|
|
27384
27447
|
scale?: number;
|
|
27448
|
+
heading?: number;
|
|
27449
|
+
pitch?: number;
|
|
27450
|
+
roll?: number;
|
|
27451
|
+
minHeight?: number;
|
|
27452
|
+
maxHeight?: number;
|
|
27385
27453
|
duration?: number;
|
|
27386
27454
|
complete?: Cesium.Camera.FlightCompleteCallback;
|
|
27387
27455
|
cancel?: Cesium.Camera.FlightCancelledCallback;
|
|
@@ -27600,6 +27668,12 @@ declare class SmMvtLayer extends BaseLayer {
|
|
|
27600
27668
|
* @param [options = {}] - 参数对象:
|
|
27601
27669
|
* @param [options.radius] - 点状数据时,相机距离目标点的距离(单位:米)
|
|
27602
27670
|
* @param [options.scale = 1.2] - 线面数据时,缩放比例,可以控制视角比矩形略大一些,这样效果更友好。
|
|
27671
|
+
* @param [options.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0至360
|
|
27672
|
+
* @param [options.pitch] - 俯仰角度值,绕纬度线旋转角度, -90至90
|
|
27673
|
+
* @param [options.roll] - 翻滚角度值,绕经度线旋转角度, -90至90
|
|
27674
|
+
* @param [options.minHeight] - 定位时相机的最小高度值,用于控制避免异常数据
|
|
27675
|
+
* @param [options.maxHeight] - 定位时相机的最大高度值,用于控制避免异常数据
|
|
27676
|
+
* @param [extent.height] - 矩形区域时的高度值, 默认取地形高度值
|
|
27603
27677
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
27604
27678
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
27605
27679
|
* @param [options.cancel] - 飞行取消时要执行的函数。
|
|
@@ -27615,6 +27689,11 @@ declare class SmMvtLayer extends BaseLayer {
|
|
|
27615
27689
|
flyTo(options?: {
|
|
27616
27690
|
radius?: number;
|
|
27617
27691
|
scale?: number;
|
|
27692
|
+
heading?: number;
|
|
27693
|
+
pitch?: number;
|
|
27694
|
+
roll?: number;
|
|
27695
|
+
minHeight?: number;
|
|
27696
|
+
maxHeight?: number;
|
|
27618
27697
|
duration?: number;
|
|
27619
27698
|
complete?: Cesium.Camera.FlightCompleteCallback;
|
|
27620
27699
|
cancel?: Cesium.Camera.FlightCancelledCallback;
|