mars3d 3.4.7 → 3.4.8
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 +128 -29
- package/dist/mars3d.js +3 -3
- package/package.json +1 -1
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-09-
|
|
5
|
+
* 版本信息:v3.4.8
|
|
6
|
+
* 编译日期:2022-09-26 08:51:42
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2022-06-01
|
|
9
9
|
*/
|
|
@@ -1163,6 +1163,7 @@ declare namespace MaterialType {
|
|
|
1163
1163
|
* @property [repeat = new Cesium.Cartesian2(1.0, 1.0)] - 横纵方向重复次数
|
|
1164
1164
|
* @property [speed = 10] - 速度,值越大越快
|
|
1165
1165
|
* @property [axisY = false] - 是否Y轴朝上
|
|
1166
|
+
* @property [mixt = false] - 默认为color颜色,true时color颜色与图片颜色混合
|
|
1166
1167
|
* @property [hasImage2 = false] - 是否有2张图片的混合模式
|
|
1167
1168
|
* @property [image2 = Cesium.Material.DefaultImageId] - 第2张背景图片URL地址
|
|
1168
1169
|
* @property [color2 = new Cesium.Color(1, 1, 1)] - 第2张背景图片颜色
|
|
@@ -2141,10 +2142,6 @@ declare class Timeline extends BaseControl {
|
|
|
2141
2142
|
* @param stopTime - 结束时间
|
|
2142
2143
|
*/
|
|
2143
2144
|
zoomTo(startTime: Cesium.JulianDate, stopTime: Cesium.JulianDate): void;
|
|
2144
|
-
/**
|
|
2145
|
-
* 父容器DOM对象
|
|
2146
|
-
*/
|
|
2147
|
-
readonly parentContainer: HTMLElement;
|
|
2148
2145
|
}
|
|
2149
2146
|
|
|
2150
2147
|
declare namespace ToolButton {
|
|
@@ -6108,6 +6105,10 @@ declare class DivBoderLabel extends DivGraphic {
|
|
|
6108
6105
|
show?: boolean;
|
|
6109
6106
|
eventParent?: BaseClass | boolean;
|
|
6110
6107
|
});
|
|
6108
|
+
/**
|
|
6109
|
+
* 设置或获取当前对象对应的Html
|
|
6110
|
+
*/
|
|
6111
|
+
html: string | HTMLDivElement;
|
|
6111
6112
|
}
|
|
6112
6113
|
|
|
6113
6114
|
declare namespace DivGraphic {
|
|
@@ -6466,6 +6467,10 @@ declare class DivLightPoint extends DivGraphic {
|
|
|
6466
6467
|
show?: boolean;
|
|
6467
6468
|
eventParent?: BaseClass | boolean;
|
|
6468
6469
|
});
|
|
6470
|
+
/**
|
|
6471
|
+
* 设置或获取当前对象对应的Html
|
|
6472
|
+
*/
|
|
6473
|
+
html: string | HTMLDivElement;
|
|
6469
6474
|
}
|
|
6470
6475
|
|
|
6471
6476
|
declare namespace DivUpLabel {
|
|
@@ -6569,6 +6574,10 @@ declare class DivUpLabel extends DivGraphic {
|
|
|
6569
6574
|
show?: boolean;
|
|
6570
6575
|
eventParent?: BaseClass | boolean;
|
|
6571
6576
|
});
|
|
6577
|
+
/**
|
|
6578
|
+
* 设置或获取当前对象对应的Html
|
|
6579
|
+
*/
|
|
6580
|
+
html: string | HTMLDivElement;
|
|
6572
6581
|
}
|
|
6573
6582
|
|
|
6574
6583
|
/**
|
|
@@ -6630,6 +6639,7 @@ declare namespace Popup {
|
|
|
6630
6639
|
* @property [zIndex = "10000000"] - 指定固定的zIndex层级属性(当hasZIndex为true时无效)
|
|
6631
6640
|
* @property [depthTest = true] - 是否打开深度判断(true时判断是否在球背面)
|
|
6632
6641
|
* @property [hasCache = true] - 是否启用缓存机制,如为true,在视角未变化时不重新渲染。
|
|
6642
|
+
* @property [checkData] - 在多个Popup时,校验是否相同Popup进行判断关闭
|
|
6633
6643
|
*/
|
|
6634
6644
|
type StyleOptions = any | {
|
|
6635
6645
|
html?: string;
|
|
@@ -6663,6 +6673,7 @@ declare namespace Popup {
|
|
|
6663
6673
|
zIndex?: number | string;
|
|
6664
6674
|
depthTest?: boolean;
|
|
6665
6675
|
hasCache?: boolean;
|
|
6676
|
+
checkData?: (...params: any[]) => any;
|
|
6666
6677
|
};
|
|
6667
6678
|
}
|
|
6668
6679
|
|
|
@@ -9462,6 +9473,14 @@ declare class ModelEntity extends BasePointEntity {
|
|
|
9462
9473
|
* 模型整体的缩放比例
|
|
9463
9474
|
*/
|
|
9464
9475
|
scale: number;
|
|
9476
|
+
/**
|
|
9477
|
+
* 获取模型完成解析加载完成的Promise承诺, 等价于load事件(区别在于load事件必须在load完成前绑定才能监听)。
|
|
9478
|
+
* @example
|
|
9479
|
+
* model.readyPromise.then(function(layer) {
|
|
9480
|
+
* console.log("load完成", layer)
|
|
9481
|
+
* })
|
|
9482
|
+
*/
|
|
9483
|
+
readonly readyPromise: Promise<ModelEntity | any>;
|
|
9465
9484
|
/**
|
|
9466
9485
|
* 获取模型的当前时间的实际hpr角度(如动态模型)
|
|
9467
9486
|
* @returns Heading Pitch Roll方向
|
|
@@ -9997,6 +10016,7 @@ declare namespace PolygonEntity {
|
|
|
9997
10016
|
* @property [outlineColor = "#ffffff"] - 边框颜色
|
|
9998
10017
|
* @property [outlineOpacity = 0.6] - 边框透明度
|
|
9999
10018
|
* @property [outlineStyle] - 边框的完整自定义样式,会覆盖outlineWidth、outlineColor等参数。
|
|
10019
|
+
* // * @property {Boolean} [outlineStyle.closure = true] 边线是否闭合
|
|
10000
10020
|
* @property [distanceDisplayCondition = false] - 是否按视距显示 或 指定此框将显示在与摄像机的多大距离。
|
|
10001
10021
|
* @property [distanceDisplayCondition_far = 100000] - 最大距离
|
|
10002
10022
|
* @property [distanceDisplayCondition_near = 0] - 最小距离
|
|
@@ -11724,6 +11744,7 @@ declare class Regular extends PolygonEntity {
|
|
|
11724
11744
|
* @param options.style.radius - 扇形区域的半径(单位:米)
|
|
11725
11745
|
* @param options.style.startAngle - 扇形区域的开始角度(正东方向为0,顺时针到360度)
|
|
11726
11746
|
* @param options.style.endAngle - 扇形区域的结束角度(正东方向为0,顺时针到360度)
|
|
11747
|
+
* @param [options.style.noCenter] - 不连中心点
|
|
11727
11748
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
11728
11749
|
* @param [options.availability] - 与该对象关联的可用性(如果有的话)。
|
|
11729
11750
|
* @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
|
|
@@ -11749,6 +11770,7 @@ declare class Sector extends PolygonEntity {
|
|
|
11749
11770
|
radius: number;
|
|
11750
11771
|
startAngle: number;
|
|
11751
11772
|
endAngle: number;
|
|
11773
|
+
noCenter?: boolean;
|
|
11752
11774
|
};
|
|
11753
11775
|
attr?: any;
|
|
11754
11776
|
availability?: Cesium.TimeIntervalCollection;
|
|
@@ -11779,12 +11801,14 @@ declare class Sector extends PolygonEntity {
|
|
|
11779
11801
|
* @param options.radius - 扇形区域的半径(单位:米)
|
|
11780
11802
|
* @param options.startAngle - 扇形区域的开始角度(正东方向为0,顺时针到360度)
|
|
11781
11803
|
* @param options.endAngle - 扇形区域的结束角度(正东方向为0,顺时针到360度)
|
|
11804
|
+
* @param [options.noCenter] - 不连中心点
|
|
11782
11805
|
* @returns 边界坐标点
|
|
11783
11806
|
*/
|
|
11784
11807
|
static getOutlinePositions(center: Cesium.Cartesian3, options: {
|
|
11785
11808
|
radius: number;
|
|
11786
11809
|
startAngle: number;
|
|
11787
11810
|
endAngle: number;
|
|
11811
|
+
noCenter?: boolean;
|
|
11788
11812
|
}): Cesium.Cartesian3[];
|
|
11789
11813
|
/**
|
|
11790
11814
|
* 位置坐标数组 (笛卡尔坐标), 赋值时可以传入LatLngPoint数组对象 或 Cesium.PolygonHierarchy
|
|
@@ -16943,6 +16967,7 @@ declare class KmlLayer extends CzmGeoJsonLayer {
|
|
|
16943
16967
|
* @param [options.clustering.enabled = false] - 是否开启聚合
|
|
16944
16968
|
* @param [options.clustering.pixelRange = 20] - 多少像素矩形范围内聚合
|
|
16945
16969
|
* @param [options.clustering.clampToGround = true] - 是否贴地
|
|
16970
|
+
* @param [options.clustering.style] - 聚合点的样式参数
|
|
16946
16971
|
* @param [options.clustering.radius = 28] - 圆形图标的整体半径大小(单位:像素)
|
|
16947
16972
|
* @param [options.clustering.radiusIn = radius-5] - 圆形图标的内圆半径大小(单位:像素)
|
|
16948
16973
|
* @param [options.clustering.fontColor = '#ffffff'] - 数字的颜色
|
|
@@ -17015,6 +17040,7 @@ declare class ArcGisWfsLayer extends LodGraphicLayer {
|
|
|
17015
17040
|
enabled?: boolean;
|
|
17016
17041
|
pixelRange?: number;
|
|
17017
17042
|
clampToGround?: boolean;
|
|
17043
|
+
style?: BillboardEntity.StyleOptions | any;
|
|
17018
17044
|
radius?: number;
|
|
17019
17045
|
radiusIn?: number;
|
|
17020
17046
|
fontColor?: string;
|
|
@@ -17214,6 +17240,7 @@ declare class ArcGisWfsSingleLayer extends GeoJsonLayer {
|
|
|
17214
17240
|
* @param [options.clustering.enabled = false] - 是否开启聚合
|
|
17215
17241
|
* @param [options.clustering.pixelRange = 20] - 多少像素矩形范围内聚合
|
|
17216
17242
|
* @param [options.clustering.clampToGround = true] - 是否贴地
|
|
17243
|
+
* @param [options.clustering.style] - 聚合点的样式参数
|
|
17217
17244
|
* @param [options.clustering.radius = 26] - 内置样式时,圆形图标的半径大小(单位:像素)
|
|
17218
17245
|
* @param [options.clustering.fontColor = '#ffffff'] - 内置样式时,数字的颜色
|
|
17219
17246
|
* @param [options.clustering.color = 'rgba(181, 226, 140, 0.6)'] - 内置样式时,圆形图标的背景颜色
|
|
@@ -17284,6 +17311,7 @@ declare class BusineDataLayer extends GraphicLayer {
|
|
|
17284
17311
|
enabled?: boolean;
|
|
17285
17312
|
pixelRange?: number;
|
|
17286
17313
|
clampToGround?: boolean;
|
|
17314
|
+
style?: BillboardEntity.StyleOptions | any;
|
|
17287
17315
|
radius?: number;
|
|
17288
17316
|
fontColor?: string;
|
|
17289
17317
|
color?: string;
|
|
@@ -17370,6 +17398,7 @@ declare class BusineDataLayer extends GraphicLayer {
|
|
|
17370
17398
|
* @param [options.clustering.enabled = false] - 是否开启聚合
|
|
17371
17399
|
* @param [options.clustering.pixelRange = 20] - 多少像素矩形范围内聚合
|
|
17372
17400
|
* @param [options.clustering.clampToGround = true] - 是否贴地
|
|
17401
|
+
* @param [options.clustering.style] - 聚合点的样式参数
|
|
17373
17402
|
* @param [options.clustering.radius = 28] - 圆形图标的整体半径大小(单位:像素)
|
|
17374
17403
|
* @param [options.clustering.radiusIn = radius-5] - 圆形图标的内圆半径大小(单位:像素)
|
|
17375
17404
|
* @param [options.clustering.fontColor = '#ffffff'] - 数字的颜色
|
|
@@ -17419,6 +17448,7 @@ declare class GeodePoiLayer extends LodGraphicLayer {
|
|
|
17419
17448
|
enabled?: boolean;
|
|
17420
17449
|
pixelRange?: number;
|
|
17421
17450
|
clampToGround?: boolean;
|
|
17451
|
+
style?: BillboardEntity.StyleOptions | any;
|
|
17422
17452
|
radius?: number;
|
|
17423
17453
|
radiusIn?: number;
|
|
17424
17454
|
fontColor?: string;
|
|
@@ -17555,6 +17585,7 @@ declare namespace GeoJsonLayer {
|
|
|
17555
17585
|
* @param [options.clustering.enabled = false] - 是否开启聚合
|
|
17556
17586
|
* @param [options.clustering.pixelRange = 20] - 多少像素矩形范围内聚合
|
|
17557
17587
|
* @param [options.clustering.clampToGround = true] - 是否贴地
|
|
17588
|
+
* @param [options.clustering.style] - 聚合点的样式参数
|
|
17558
17589
|
* @param [options.clustering.radius = 26] - 内置样式时,圆形图标的半径大小(单位:像素)
|
|
17559
17590
|
* @param [options.clustering.fontColor = '#ffffff'] - 内置样式时,数字的颜色
|
|
17560
17591
|
* @param [options.clustering.color = 'rgba(181, 226, 140, 0.6)'] - 内置样式时,圆形图标的背景颜色
|
|
@@ -17628,6 +17659,7 @@ declare class GeoJsonLayer extends GraphicLayer {
|
|
|
17628
17659
|
enabled?: boolean;
|
|
17629
17660
|
pixelRange?: number;
|
|
17630
17661
|
clampToGround?: boolean;
|
|
17662
|
+
style?: BillboardEntity.StyleOptions | any;
|
|
17631
17663
|
radius?: number;
|
|
17632
17664
|
fontColor?: string;
|
|
17633
17665
|
color?: string;
|
|
@@ -17970,6 +18002,7 @@ declare namespace GraphicLayer {
|
|
|
17970
18002
|
* @param [options.clustering.enabled = false] - 是否开启聚合
|
|
17971
18003
|
* @param [options.clustering.pixelRange = 20] - 多少像素矩形范围内聚合
|
|
17972
18004
|
* @param [options.clustering.clampToGround = true] - 是否贴地
|
|
18005
|
+
* @param [options.clustering.style] - 聚合点的样式参数
|
|
17973
18006
|
* @param [options.clustering.radius = 26] - 内置样式时,圆形图标的半径大小(单位:像素)
|
|
17974
18007
|
* @param [options.clustering.fontColor = '#ffffff'] - 内置样式时,数字的颜色
|
|
17975
18008
|
* @param [options.clustering.color = 'rgba(181, 226, 140, 0.6)'] - 内置样式时,圆形图标的背景颜色
|
|
@@ -18029,6 +18062,7 @@ declare class GraphicLayer extends BaseGraphicLayer {
|
|
|
18029
18062
|
enabled?: boolean;
|
|
18030
18063
|
pixelRange?: number;
|
|
18031
18064
|
clampToGround?: boolean;
|
|
18065
|
+
style?: BillboardEntity.StyleOptions | any;
|
|
18032
18066
|
radius?: number;
|
|
18033
18067
|
fontColor?: string;
|
|
18034
18068
|
color?: string;
|
|
@@ -18775,9 +18809,10 @@ declare namespace TilesetLayer {
|
|
|
18775
18809
|
* 这个值如果设置的过小,导致cesium几乎每帧都在尝试淘汰数据,增加了遍历的时间,也同时增加了崩溃的风险。<br />
|
|
18776
18810
|
* 这个值如果设置的过大,cesium的淘汰机制失效,那么容易导致显存超过显卡内存,也会导致崩溃。 这个值应该处于最差视角下资源占用 和 显存最大量之间。<br />
|
|
18777
18811
|
* @param [options.position] - 自定义新的中心点位置(移动模型)
|
|
18778
|
-
* @param options.position.lng - 经度值, 180 - 180
|
|
18779
|
-
* @param options.position.lat - 纬度值, -90 - 90
|
|
18780
|
-
* @param options.position.alt - 高度值(单位:米)
|
|
18812
|
+
* @param [options.position.lng] - 经度值, 180 - 180
|
|
18813
|
+
* @param [options.position.lat] - 纬度值, -90 - 90
|
|
18814
|
+
* @param [options.position.alt] - 高度值(单位:米)
|
|
18815
|
+
* @param [options.position.alt_offset] - 相对于模型本身高度的偏移值(单位:米) ,如果有alt时已alt优先。
|
|
18781
18816
|
* @param [options.rotation] - 自定义旋转方向(旋转模型)
|
|
18782
18817
|
* @param options.rotation.x - X方向,角度值0-360
|
|
18783
18818
|
* @param options.rotation.y - Y方向,角度值0-360
|
|
@@ -18864,9 +18899,10 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
18864
18899
|
maximumScreenSpaceError?: number;
|
|
18865
18900
|
maximumMemoryUsage?: number;
|
|
18866
18901
|
position?: {
|
|
18867
|
-
lng
|
|
18868
|
-
lat
|
|
18869
|
-
alt
|
|
18902
|
+
lng?: number;
|
|
18903
|
+
lat?: number;
|
|
18904
|
+
alt?: number;
|
|
18905
|
+
alt_offset?: number;
|
|
18870
18906
|
};
|
|
18871
18907
|
rotation?: {
|
|
18872
18908
|
x: number;
|
|
@@ -19167,10 +19203,6 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
19167
19203
|
* @returns 无
|
|
19168
19204
|
*/
|
|
19169
19205
|
stopEditing(): void;
|
|
19170
|
-
/**
|
|
19171
|
-
* 透明度,取值范围:0.0-1.0
|
|
19172
|
-
*/
|
|
19173
|
-
opacity: number;
|
|
19174
19206
|
/**
|
|
19175
19207
|
* 飞行定位至图层数据所在的视角
|
|
19176
19208
|
* @param [options = {}] - 参数对象:
|
|
@@ -19214,7 +19246,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
19214
19246
|
* @param [options.parameters.sortBy] - 排序的属性名称,默认升序,降序时+D
|
|
19215
19247
|
* @param [options.parameters.service = 'WFS'] - 服务类型
|
|
19216
19248
|
* @param [options.parameters.version = '1.0.0'] - 服务版本
|
|
19217
|
-
* @param [options.geometryName = 'the_geom'] - geometry
|
|
19249
|
+
* @param [options.geometryName = 'the_geom'] - geometry字段名称, 比如:geom 或 the_geom
|
|
19218
19250
|
* @param [options.headers] - 将被添加到HTTP请求头。
|
|
19219
19251
|
* @param [options.proxy] - 加载资源时使用的代理。
|
|
19220
19252
|
* @param options.layer - 图层名称(命名空间:图层名称),多个图层名称用逗号隔开
|
|
@@ -19248,6 +19280,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
19248
19280
|
* @param [options.clustering.enabled = false] - 是否开启聚合
|
|
19249
19281
|
* @param [options.clustering.pixelRange = 20] - 多少像素矩形范围内聚合
|
|
19250
19282
|
* @param [options.clustering.clampToGround = true] - 是否贴地
|
|
19283
|
+
* @param [options.clustering.style] - 聚合点的样式参数
|
|
19251
19284
|
* @param [options.clustering.radius = 26] - 内置样式时,圆形图标的半径大小(单位:像素)
|
|
19252
19285
|
* @param [options.clustering.fontColor = '#ffffff'] - 内置样式时,数字的颜色
|
|
19253
19286
|
* @param [options.clustering.color = 'rgba(181, 226, 140, 0.6)'] - 内置样式时,圆形图标的背景颜色
|
|
@@ -19334,6 +19367,7 @@ declare class WfsLayer extends LodGraphicLayer {
|
|
|
19334
19367
|
enabled?: boolean;
|
|
19335
19368
|
pixelRange?: number;
|
|
19336
19369
|
clampToGround?: boolean;
|
|
19370
|
+
style?: BillboardEntity.StyleOptions | any;
|
|
19337
19371
|
radius?: number;
|
|
19338
19372
|
fontColor?: string;
|
|
19339
19373
|
color?: string;
|
|
@@ -23522,6 +23556,10 @@ declare class Map extends BaseClass {
|
|
|
23522
23556
|
* 是否只拾取模型上的点
|
|
23523
23557
|
*/
|
|
23524
23558
|
onlyPickModelPosition: boolean;
|
|
23559
|
+
/**
|
|
23560
|
+
* 是否只拾取地形上的点,忽略模型和矢量数据
|
|
23561
|
+
*/
|
|
23562
|
+
onlyPickTerrainPosition: boolean;
|
|
23525
23563
|
/**
|
|
23526
23564
|
* 获取鼠标事件控制器
|
|
23527
23565
|
*/
|
|
@@ -23602,7 +23640,7 @@ declare class Map extends BaseClass {
|
|
|
23602
23640
|
* 提取地球当前视域边界,示例:{ xmin: 70, xmax: 140, ymin: 0, ymax: 55, height: 0, }
|
|
23603
23641
|
* @param [options = {}] - 参数对象:
|
|
23604
23642
|
* @param [options.formatNum = false] - 是否格式化小数位,只保留6位小数
|
|
23605
|
-
* @param [options.scale = 1] -
|
|
23643
|
+
* @param [options.scale = 1] - 在每个方向上按给定比例扩展(大于0)或缩小(-1到0时)当前边界所创建的边界。比率为0.5时,边界在每个方向上扩展了50%。
|
|
23606
23644
|
* @returns 当前视域边界
|
|
23607
23645
|
*/
|
|
23608
23646
|
getExtent(options?: {
|
|
@@ -24860,6 +24898,7 @@ declare class LineFlowColorMaterialProperty extends BaseMaterialProperty {
|
|
|
24860
24898
|
* @param [options.color = new Cesium.Color(1, 0, 0, 1.0)] - 背景图片颜色
|
|
24861
24899
|
* @param [options.repeat = new Cesium.Cartesian2(1.0, 1.0)] - 横纵方向重复次数
|
|
24862
24900
|
* @param [options.axisY = false] - 是否Y轴朝上
|
|
24901
|
+
* @param [options.mixt = false] - 默认为color颜色,true时color颜色与图片颜色混合
|
|
24863
24902
|
* @param [options.speed = 10] - 速度
|
|
24864
24903
|
* @param [options.duration] - 播放总时长,单位:秒 (会覆盖speed参数)
|
|
24865
24904
|
* @param [options.hasImage2 = false] - 是否有2张图片的混合模式
|
|
@@ -24872,6 +24911,7 @@ declare class LineFlowMaterialProperty extends BaseMaterialProperty {
|
|
|
24872
24911
|
color?: string | Cesium.Color;
|
|
24873
24912
|
repeat?: Cesium.Cartesian2;
|
|
24874
24913
|
axisY?: boolean;
|
|
24914
|
+
mixt?: boolean;
|
|
24875
24915
|
speed?: number;
|
|
24876
24916
|
duration?: number;
|
|
24877
24917
|
hasImage2?: boolean;
|
|
@@ -24890,6 +24930,10 @@ declare class LineFlowMaterialProperty extends BaseMaterialProperty {
|
|
|
24890
24930
|
* 是否Y轴朝上
|
|
24891
24931
|
*/
|
|
24892
24932
|
axisY: boolean;
|
|
24933
|
+
/**
|
|
24934
|
+
* 默认为color颜色,true时color颜色与图片颜色混合
|
|
24935
|
+
*/
|
|
24936
|
+
mixt: boolean;
|
|
24893
24937
|
/**
|
|
24894
24938
|
* 速度
|
|
24895
24939
|
*/
|
|
@@ -26471,10 +26515,10 @@ declare namespace CamberRadar {
|
|
|
26471
26515
|
* @property [outlineColor = new Cesium.Color(1.0, 0.0, 0.0)] - 边线颜色
|
|
26472
26516
|
* @property startRadius - 内曲面半径 (单位:米)
|
|
26473
26517
|
* @property radius - 外曲面半径 (单位:米)
|
|
26474
|
-
* @property [startFovH =
|
|
26475
|
-
* @property [endFovH =
|
|
26476
|
-
* @property [startFovV =
|
|
26477
|
-
* @property [endFovV =
|
|
26518
|
+
* @property [startFovH = -50] - 左横截面角度(角度值)
|
|
26519
|
+
* @property [endFovH = 50] - 右横截面角度(角度值)
|
|
26520
|
+
* @property [startFovV = 5] - 垂直起始角度(角度值)
|
|
26521
|
+
* @property [endFovV = 85] - 垂直结束角度(角度值)
|
|
26478
26522
|
* @property [segmentH = 60] - 垂直方向(类似经度线)分割数
|
|
26479
26523
|
* @property [segmentV = 20] - 水平方向(类似纬度线)分割数
|
|
26480
26524
|
* @property [heading = 0] - 方向角 (度数值,0-360度)
|
|
@@ -26533,19 +26577,19 @@ declare class CamberRadar extends BasePointPrimitive {
|
|
|
26533
26577
|
*/
|
|
26534
26578
|
radius: number;
|
|
26535
26579
|
/**
|
|
26536
|
-
*
|
|
26580
|
+
* 左横截面角度(角度值)
|
|
26537
26581
|
*/
|
|
26538
26582
|
startFovV: number;
|
|
26539
26583
|
/**
|
|
26540
|
-
*
|
|
26584
|
+
* 右横截面角度(角度值)
|
|
26541
26585
|
*/
|
|
26542
26586
|
endFovV: number;
|
|
26543
26587
|
/**
|
|
26544
|
-
*
|
|
26588
|
+
* 垂直起始角度(角度值)
|
|
26545
26589
|
*/
|
|
26546
26590
|
startFovH: number;
|
|
26547
26591
|
/**
|
|
26548
|
-
*
|
|
26592
|
+
* 垂直结束角度(角度值)
|
|
26549
26593
|
*/
|
|
26550
26594
|
endFovH: number;
|
|
26551
26595
|
/**
|
|
@@ -29090,7 +29134,7 @@ declare class QueryGeoServer extends BaseClass {
|
|
|
29090
29134
|
* @param [queryOptions.column] - 检索关键字时,对应的字段名称
|
|
29091
29135
|
* @param [queryOptions.like = true] - 检索关键字时,是否模糊匹配,false时精确查询
|
|
29092
29136
|
* @param [queryOptions.graphic] - 限定的搜索区域
|
|
29093
|
-
* @param [queryOptions.geometryName = 'the_geom'] - 限定的搜索区域时,对应的geometry
|
|
29137
|
+
* @param [queryOptions.geometryName = 'the_geom'] - 限定的搜索区域时,对应的geometry字段名称, 比如:geom 或 the_geom
|
|
29094
29138
|
* @param [queryOptions.maxFeatures = 1000] - 返回结果最大数量
|
|
29095
29139
|
* @param [queryOptions.sortBy] - 排序的属性名称,默认升序,降序时+D
|
|
29096
29140
|
* @param [queryOptions.更多参数] - WFS服务支持的其他参数,均支持
|
|
@@ -29175,6 +29219,23 @@ declare class TdtPOI {
|
|
|
29175
29219
|
success?: (...params: any[]) => any;
|
|
29176
29220
|
error?: (...params: any[]) => any;
|
|
29177
29221
|
}): Promise<any>;
|
|
29222
|
+
/**
|
|
29223
|
+
* 天地图搜索提示
|
|
29224
|
+
* @param queryOptions - 查询参数
|
|
29225
|
+
* @param queryOptions.text - 输入建议关键字(支持拼音)
|
|
29226
|
+
* @param [queryOptions.location] - 建议使用location参数,可在此location附近优先返回搜索关键词信息,在请求参数city不为空时生效
|
|
29227
|
+
* @param [queryOptions.city] - 可以限定查询的行政区
|
|
29228
|
+
* @param [queryOptions.success] - 查询完成的回调方法
|
|
29229
|
+
* @param [queryOptions.error] - 查询失败的回调方法
|
|
29230
|
+
* @returns 查询完成的Promise,等价于success参数
|
|
29231
|
+
*/
|
|
29232
|
+
autoTip(queryOptions: {
|
|
29233
|
+
text: string;
|
|
29234
|
+
location?: LngLatPoint | Cesium.Cartesian3 | string | any[] | any;
|
|
29235
|
+
city?: string;
|
|
29236
|
+
success?: (...params: any[]) => any;
|
|
29237
|
+
error?: (...params: any[]) => any;
|
|
29238
|
+
}): Promise<any>;
|
|
29178
29239
|
/**
|
|
29179
29240
|
* 按限定区域搜索
|
|
29180
29241
|
* @param queryOptions - 查询参数
|
|
@@ -29204,7 +29265,8 @@ declare class TdtPOI {
|
|
|
29204
29265
|
* @param queryOptions.text - 检索关键字。支持多个关键字并集检索,不同关键字间以空格符号分隔,最多支持10个关键字检索。
|
|
29205
29266
|
* @param [queryOptions.types = ''] - 检索分类偏好,与text组合进行检索,多个分类以","分隔(POI分类),如果需要严格按分类检索,请通过text参数设置
|
|
29206
29267
|
* @param [queryOptions.city] - 可以重新限定查询的区域,默认为类构造时传入的city
|
|
29207
|
-
* @param [queryOptions.
|
|
29268
|
+
* @param [queryOptions.level = 18] - 查询的级别,1-18级
|
|
29269
|
+
* @param [queryOptions.mapBound] - 查询的地图范围: "minx,miny,maxx,maxy"
|
|
29208
29270
|
* @param [queryOptions.count = 20] - 单次召回POI数量,最大返回300条。多关键字检索时,返回的记录数为关键字个数*count。多关键词检索时,单页返回总数=关键词数量*count
|
|
29209
29271
|
* @param [queryOptions.page = 0] - 分页页码,默认为0, 0代表第一页,1代表第二页,以此类推。常与 count 搭配使用,仅当返回结果为poi时可以翻页。
|
|
29210
29272
|
* @param [queryOptions.success] - 查询完成的回调方法
|
|
@@ -29215,7 +29277,8 @@ declare class TdtPOI {
|
|
|
29215
29277
|
text: string;
|
|
29216
29278
|
types?: string;
|
|
29217
29279
|
city?: string;
|
|
29218
|
-
|
|
29280
|
+
level?: string;
|
|
29281
|
+
mapBound?: string;
|
|
29219
29282
|
count?: number;
|
|
29220
29283
|
page?: number;
|
|
29221
29284
|
success?: (...params: any[]) => any;
|
|
@@ -29269,6 +29332,27 @@ declare class TdtPOI {
|
|
|
29269
29332
|
success?: (...params: any[]) => any;
|
|
29270
29333
|
error?: (...params: any[]) => any;
|
|
29271
29334
|
}): Promise<any>;
|
|
29335
|
+
/**
|
|
29336
|
+
* 视野内搜索
|
|
29337
|
+
* @param queryOptions - 查询参数
|
|
29338
|
+
* @param queryOptions.text - 检索关键字。支持多个关键字并集检索,不同关键字间以空格符号分隔,最多支持10个关键字检索。
|
|
29339
|
+
* @param [queryOptions.types = ''] - 检索分类偏好,与text组合进行检索,多个分类以","分隔(POI分类),如果需要严格按分类检索,请通过text参数设置
|
|
29340
|
+
* @param queryOptions.extent - 可传入左上右下两顶点坐标对;
|
|
29341
|
+
* @param [queryOptions.count = 20] - 单次召回POI数量,最大返回25条。多关键字检索时,返回的记录数为关键字个数*count。多关键词检索时,单页返回总数=关键词数量*count
|
|
29342
|
+
* @param [queryOptions.page = 0] - 分页页码,默认为0, 0代表第一页,1代表第二页,以此类推。常与 count 搭配使用,仅当返回结果为poi时可以翻页。
|
|
29343
|
+
* @param [queryOptions.success] - 查询完成的回调方法
|
|
29344
|
+
* @param [queryOptions.error] - 查询失败的回调方法
|
|
29345
|
+
* @returns 查询完成的Promise,等价于success参数
|
|
29346
|
+
*/
|
|
29347
|
+
queryExtent(queryOptions: {
|
|
29348
|
+
text: string;
|
|
29349
|
+
types?: string;
|
|
29350
|
+
extent: any[][];
|
|
29351
|
+
count?: number;
|
|
29352
|
+
page?: number;
|
|
29353
|
+
success?: (...params: any[]) => any;
|
|
29354
|
+
error?: (...params: any[]) => any;
|
|
29355
|
+
}): Promise<any>;
|
|
29272
29356
|
}
|
|
29273
29357
|
|
|
29274
29358
|
declare namespace Measure {
|
|
@@ -31004,6 +31088,11 @@ declare class TilesetEditBase extends BaseThing {
|
|
|
31004
31088
|
* @returns 添加区域的记录对象
|
|
31005
31089
|
*/
|
|
31006
31090
|
addArea(positions: string[] | any[][] | LngLatPoint[] | Cesium.Cartesian3[]): any;
|
|
31091
|
+
/**
|
|
31092
|
+
* 转为Json简单对象,用于存储后再传参加载
|
|
31093
|
+
* @returns Json简单对象
|
|
31094
|
+
*/
|
|
31095
|
+
toJSON(): any;
|
|
31007
31096
|
}
|
|
31008
31097
|
|
|
31009
31098
|
/**
|
|
@@ -31087,6 +31176,11 @@ declare class TilesetFlat extends TilesetEditBase {
|
|
|
31087
31176
|
* @returns 无
|
|
31088
31177
|
*/
|
|
31089
31178
|
removeArea(item: number | any): void;
|
|
31179
|
+
/**
|
|
31180
|
+
* 转为Json简单对象,用于存储后再传参加载
|
|
31181
|
+
* @returns Json简单对象
|
|
31182
|
+
*/
|
|
31183
|
+
toJSON(): any;
|
|
31090
31184
|
/**
|
|
31091
31185
|
* 清除分析
|
|
31092
31186
|
* @returns 无
|
|
@@ -31304,6 +31398,11 @@ declare class TilesetPlanClip extends BaseThing {
|
|
|
31304
31398
|
* @returns 无
|
|
31305
31399
|
*/
|
|
31306
31400
|
updateAllNormalZ(val: number): void;
|
|
31401
|
+
/**
|
|
31402
|
+
* 转为Json简单对象,用于存储后再传参加载
|
|
31403
|
+
* @returns Json简单对象
|
|
31404
|
+
*/
|
|
31405
|
+
toJSON(): any;
|
|
31307
31406
|
}
|
|
31308
31407
|
|
|
31309
31408
|
/**
|