mars3d 3.3.11 → 3.3.12
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/README.md +31 -23
- package/dist/mars3d.css +2 -2
- package/dist/mars3d.d.ts +46 -39
- package/dist/mars3d.js +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -34,37 +34,39 @@ Github:[https://github.com/marsgis/mars3d](https://github.com/marsgis/mars3d)
|
|
|
34
34
|
## 功能示例
|
|
35
35
|
对平台每个功能编写的案例代码,可以阅读每个示例代码来学习各功能,与官网功能示例一致效果。
|
|
36
36
|
|
|
37
|
-
| 说明 | 教程 |Github源码 | 国内Gitee源码 |
|
|
38
|
-
| ----|---- | ----| ---- |
|
|
39
|
-
|原生JS版 | [
|
|
40
|
-
|Vue版 |[
|
|
41
|
-
|React版 |[
|
|
37
|
+
| 说明 | 教程 | 视频 |Github源码 | 国内Gitee源码 |
|
|
38
|
+
| ----|---- | ---- | ----| ---- |
|
|
39
|
+
|原生JS版 | [查看](http://mars3d.cn/dev/guide/project/example-es5.html) | [查看](https://www.bilibili.com/video/BV1Hg411o7Js/) | [mars3d-es5-example](https://github.com/marsgis/mars3d-es5-example) |[mars3d-es5-example](https://gitee.com/marsgis/mars3d-es5-example) |
|
|
40
|
+
|Vue版 |[查看](http://mars3d.cn/dev/guide/project/example-vue.html) |[查看](https://www.bilibili.com/video/BV1PL41177SS/)| [mars3d-vue-example](https://github.com/marsgis/mars3d-vue-example) |[mars3d-vue-example](https://gitee.com/marsgis/mars3d-vue-example) |
|
|
41
|
+
|React版 |[查看](http://mars3d.cn/dev/guide/project/example-react.html)|[查看](https://www.bilibili.com/video/BV1xY4y1t7NR/) | [mars3d-react-example](https://github.com/marsgis/mars3d-react-example) |[mars3d-react-example](https://gitee.com/marsgis/mars3d-react-example) |
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
## 最简项目模板
|
|
45
45
|
提供了面向不同技术栈的最简项目模板,您可以直接使用或参考这些项目模板,了解SDK类库在不同技术栈项目中如何引入使用,快速搭建开发自己的项目。
|
|
46
46
|
|
|
47
|
-
| 说明 | Github源码 | 国内Gitee源码 |
|
|
48
|
-
| ----|
|
|
49
|
-
|原生JS技术栈 | [mars3d-es5-template](https://github.com/marsgis/mars3d-es5-template) |[mars3d-es5-template](https://gitee.com/marsgis/mars3d-es5-template) |
|
|
50
|
-
|Vue技术栈 | [mars3d-vue-template](https://github.com/marsgis/mars3d-vue-template) |[mars3d-vue-template](https://gitee.com/marsgis/mars3d-vue-template) |
|
|
51
|
-
|React技术栈 | [mars3d-react-template](https://github.com/marsgis/mars3d-react-template) |[mars3d-react-template](https://gitee.com/marsgis/mars3d-react-template) |
|
|
52
|
-
|Angular技术栈 | [mars3d-angular-template](https://github.com/marsgis/mars3d-angular-template) |[mars3d-angular-template](https://gitee.com/marsgis/mars3d-angular-template) |
|
|
53
|
-
|CS
|
|
54
|
-
|
|
47
|
+
| 说明 | 视频 | Github源码 | 国内Gitee源码 |
|
|
48
|
+
| ----| ----|----| ---- |
|
|
49
|
+
|原生JS技术栈 |[查看](https://www.bilibili.com/video/BV1za41177ZW/)| [mars3d-es5-template](https://github.com/marsgis/mars3d-es5-template) |[mars3d-es5-template](https://gitee.com/marsgis/mars3d-es5-template) |
|
|
50
|
+
|Vue技术栈 |[查看](https://www.bilibili.com/video/BV17P4y1F7gv/)| [mars3d-vue-template](https://github.com/marsgis/mars3d-vue-template) |[mars3d-vue-template](https://gitee.com/marsgis/mars3d-vue-template) |
|
|
51
|
+
|React技术栈 |[查看](https://www.bilibili.com/video/BV1nZ4y1b7W7/)| [mars3d-react-template](https://github.com/marsgis/mars3d-react-template) |[mars3d-react-template](https://gitee.com/marsgis/mars3d-react-template) |
|
|
52
|
+
|Angular技术栈 |暂无 | [mars3d-angular-template](https://github.com/marsgis/mars3d-angular-template) |[mars3d-angular-template](https://gitee.com/marsgis/mars3d-angular-template) |
|
|
53
|
+
|CS桌面端程序 |暂无| [mars3d-electron](https://github.com/marsgis/mars3d-electron) |[mars3d-electron](https://gitee.com/marsgis/mars3d-electron) |
|
|
54
|
+
|APP移动端程序 |[查看](https://www.bilibili.com/video/BV18F41157qR/)|[mars3d-uni-app](https://github.com/marsgis/mars3d-uni-app) |[mars3d-uni-app](https://gitee.com/marsgis/mars3d-uni-app) |
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
58
|
-
## 基础项目
|
|
58
|
+
## 基础项目
|
|
59
59
|
基础项目是具备一个GIS项目常见功能的项目模板,只用更换数据及叠加业务即可完成项目交付。
|
|
60
60
|
如果需要更多功能可以考虑购买[付费项目模板](http://mars3d.cn/template.html)。
|
|
61
61
|
|
|
62
|
-
|说明 |教程 |Github源码 | 国内Gitee源码 |
|
|
63
|
-
|----|---- | ----| ---- |
|
|
64
|
-
|基础项目 原生JS版 |[
|
|
65
|
-
|基础项目 Vue版|[
|
|
66
|
-
|基础项目 Vue版+admin管理
|
|
67
|
-
|基础项目 React版|[
|
|
62
|
+
|说明 |教程 |视频 | Github源码 | 国内Gitee源码 |
|
|
63
|
+
|----|---- |---- | ----| ---- |
|
|
64
|
+
|基础项目 原生JS版 |[查看](http://mars3d.cn/dev/guide/project/jcxm-es5.html) | [查看](https://www.bilibili.com/video/BV1nF41157Rn/)| [mars3d-es5-project](https://github.com/marsgis/mars3d-es5-project) |[mars3d-es5-project](https://gitee.com/marsgis/mars3d-es5-project) |
|
|
65
|
+
|基础项目 Vue版|[查看](http://mars3d.cn/dev/guide/project/jcxm-vue.html) |[查看](https://www.bilibili.com/video/BV1JF411q7Ut/)| [mars3d-vue-project](https://github.com/marsgis/mars3d-vue-project) |[mars3d-vue-project](https://gitee.com/marsgis/mars3d-vue-project) |
|
|
66
|
+
|基础项目 Vue版+admin管理 |无 | 无| [mars3d-vue-project-admin](https://github.com/marsgis/mars3d-vue-project-admin) |[mars3d-vue-project-admin](https://gitee.com/marsgis/mars3d-vue-project-admin) |
|
|
67
|
+
|基础项目 React版|[查看](http://mars3d.cn/dev/guide/project/jcxm-react.html) |暂无| [mars3d-react-project](https://github.com/marsgis/mars3d-react-project) |[mars3d-react-project](https://gitee.com/marsgis/mars3d-react-project) |
|
|
68
|
+
|三维地球APP项目| [查看](http://mars3d.cn/dev/guide/project/app-vue.html) | [查看](https://www.bilibili.com/video/BV1iY4y1t7jk/)| [付费提供](http://mars3d.cn/details.html?id=app-vue) | [付费提供](http://mars3d.cn/details.html?id=app-vue) |
|
|
69
|
+
|
|
68
70
|
|
|
69
71
|
|
|
70
72
|
|
|
@@ -86,6 +88,12 @@ Mars3D支持结合Cesium相关的各类平台来兼容使用,方便结合不
|
|
|
86
88
|
|
|
87
89
|
|
|
88
90
|
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
89
97
|
|
|
90
98
|
## 平台介绍
|
|
91
99
|
|
|
@@ -107,15 +115,15 @@ Mars3D支持结合Cesium相关的各类平台来兼容使用,方便结合不
|
|
|
107
115
|
功能示例:
|
|
108
116
|

|
|
109
117
|
|
|
110
|
-
基础项目:[在线体验](http://mars3d.cn/project/jcxm
|
|
118
|
+
基础项目:[在线体验](http://mars3d.cn/project/es5/jcxm.html)
|
|
111
119
|
|
|
112
120
|

|
|
113
121
|
|
|
114
|
-
电子沙盘项目:[在线体验](http://mars3d.cn/project/dzsp
|
|
122
|
+
电子沙盘项目:[在线体验](http://mars3d.cn/project/es5/dzsp.html)
|
|
115
123
|
|
|
116
124
|

|
|
117
125
|
|
|
118
|
-
综合态势项目:[在线体验](http://mars3d.cn/project/
|
|
126
|
+
综合态势项目:[在线体验](http://mars3d.cn/project/es5/theme/login.html)
|
|
119
127
|
|
|
120
128
|

|
|
121
129
|
|
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.3.
|
|
6
|
-
* 编译日期:2022-
|
|
5
|
+
* 版本信息:v3.3.12
|
|
6
|
+
* 编译日期:2022-06-06 10:47:37
|
|
7
7
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
8
8
|
* 使用单位:免费公开版 ,2022-02-01
|
|
9
9
|
*/
|
|
@@ -2520,7 +2520,7 @@ declare class LngLatPoint {
|
|
|
2520
2520
|
* 复制一份对象
|
|
2521
2521
|
* @returns 无
|
|
2522
2522
|
*/
|
|
2523
|
-
clone():
|
|
2523
|
+
clone(): LngLatPoint;
|
|
2524
2524
|
/**
|
|
2525
2525
|
* 格式化对象内的经纬度的小数位为6位,高度小数位为1位。
|
|
2526
2526
|
* @returns 当前对象本身,可以链式调用
|
|
@@ -4222,9 +4222,6 @@ declare namespace ModelCombine {
|
|
|
4222
4222
|
* @param [options.shadows = ShadowMode.ENABLED] - 指定模型是投射还是接收来自光源的阴影。
|
|
4223
4223
|
* @param [options.imageBasedLightingFactor = new Cartesian2(1.0, 1.0)] - 指定来自基于图像的漫反射和镜面照明的贡献。
|
|
4224
4224
|
* @param [options.lightColor] - 光的颜色当遮光模型。当undefined场景的浅色被使用代替。
|
|
4225
|
-
* @param [options.luminanceAtZenith = 0.2] - 太阳在天顶的亮度,单位是千坎德拉每平方米,用于这个模型的程序环境地图。
|
|
4226
|
-
* @param [options.sphericalHarmonicCoefficients] - 三阶球面调和系数用于基于图像的漫射色彩照明。
|
|
4227
|
-
* @param [options.specularEnvironmentMaps] - 一个KTX文件的URL,该文件包含高光照明的立方体映射和复杂的高光mipmaps。
|
|
4228
4225
|
* @param [options.backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;当为false时,禁用背面剔除。
|
|
4229
4226
|
* @param [options.debugShowBoundingVolume = false] - 仅供调试。查看模型的包围边界球。
|
|
4230
4227
|
* @param [options.debugWireframe = false] - 仅供调试。查看模型的三角网线框图。
|
|
@@ -4262,9 +4259,6 @@ declare class ModelCombine extends BaseCombine {
|
|
|
4262
4259
|
shadows?: Cesium.ShadowMode;
|
|
4263
4260
|
imageBasedLightingFactor?: Cesium.Cartesian2;
|
|
4264
4261
|
lightColor?: Cesium.Cartesian3;
|
|
4265
|
-
luminanceAtZenith?: number;
|
|
4266
|
-
sphericalHarmonicCoefficients?: Cesium.Cartesian3[];
|
|
4267
|
-
specularEnvironmentMaps?: string;
|
|
4268
4262
|
backFaceCulling?: boolean;
|
|
4269
4263
|
debugShowBoundingVolume?: boolean;
|
|
4270
4264
|
debugWireframe?: boolean;
|
|
@@ -8229,7 +8223,7 @@ declare namespace EllipsoidEntity {
|
|
|
8229
8223
|
* @param options.style - 样式信息
|
|
8230
8224
|
* @param [options.attr] - 附件的属性信息,可以任意附加属性,导出geojson或json时会自动处理导出。
|
|
8231
8225
|
* @param [options.orientation] - 实体方向
|
|
8232
|
-
* @param options.scanPlane - 动态扫描面
|
|
8226
|
+
* @param [options.scanPlane] - 动态扫描面
|
|
8233
8227
|
* @param [options.availability] - 与该对象关联的可用性(如果有的话)。
|
|
8234
8228
|
* @param [options.description] - 指定此实体的HTML描述的字符串属性(infoBox中展示)。
|
|
8235
8229
|
* @param [options.viewFrom] - 观察这个物体时建议的初始偏移量。
|
|
@@ -8253,7 +8247,7 @@ declare class EllipsoidEntity extends BasePointEntity {
|
|
|
8253
8247
|
style: EllipsoidEntity.StyleOptions | any;
|
|
8254
8248
|
attr?: any;
|
|
8255
8249
|
orientation?: Cesium.Property;
|
|
8256
|
-
scanPlane
|
|
8250
|
+
scanPlane?: EllipsoidEntity.ScanPlaneOptions | EllipsoidEntity.ScanPlaneOptions[];
|
|
8257
8251
|
availability?: Cesium.TimeIntervalCollection;
|
|
8258
8252
|
description?: Cesium.Property | string;
|
|
8259
8253
|
viewFrom?: Cesium.Property;
|
|
@@ -8653,7 +8647,6 @@ declare namespace ModelEntity {
|
|
|
8653
8647
|
* @property [incrementallyLoadTextures = true] - 确定模型加载后纹理是否会继续流进来。
|
|
8654
8648
|
* @property [runAnimations = true] - 指定模型中指定的glTF动画是否应该启动。
|
|
8655
8649
|
* @property [clampAnimations = true] - 指定在没有关键帧的情况下,glTF动画是否应该保持最后一个姿势。
|
|
8656
|
-
* @property [imageBasedLightingFactor = new Cartesian2(1.0, 1.0)] - 指定来自基于图像的漫反射和镜面照明的贡献。
|
|
8657
8650
|
* @property [lightColor] - 在为模型着色时指定光的颜色的属性。当undefined场景的浅色被使用代替。
|
|
8658
8651
|
* @property [nodeTransformations] - 一个对象,其中键是节点的名称,值是{@link TranslationRotationScale}属性,描述要应用到该节点的转换。该转换是在节点的现有转换之后(如glTF中指定的那样)应用的,并且不会替换节点的现有转换。
|
|
8659
8652
|
* @property [articulations] - An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties.
|
|
@@ -8694,7 +8687,6 @@ declare namespace ModelEntity {
|
|
|
8694
8687
|
incrementallyLoadTextures?: boolean;
|
|
8695
8688
|
runAnimations?: boolean;
|
|
8696
8689
|
clampAnimations?: boolean;
|
|
8697
|
-
imageBasedLightingFactor?: Cesium.Cartesian2;
|
|
8698
8690
|
lightColor?: Cesium.Color;
|
|
8699
8691
|
nodeTransformations?: Cesium.PropertyBag | {
|
|
8700
8692
|
[key: string]: Cesium.TranslationRotationScale;
|
|
@@ -9484,6 +9476,10 @@ declare class PolygonEntity extends BasePolyEntity {
|
|
|
9484
9476
|
* 编辑处理类
|
|
9485
9477
|
*/
|
|
9486
9478
|
readonly EditClass: EditPolygon;
|
|
9479
|
+
/**
|
|
9480
|
+
* 周长 距离(单位:米)
|
|
9481
|
+
*/
|
|
9482
|
+
readonly distance: number;
|
|
9487
9483
|
/**
|
|
9488
9484
|
* 对应的Cesium面entity内部位置对象
|
|
9489
9485
|
*/
|
|
@@ -9946,6 +9942,10 @@ declare class RectangleEntity extends BasePolyEntity {
|
|
|
9946
9942
|
* 坐标数据对应的矩形边界对象
|
|
9947
9943
|
*/
|
|
9948
9944
|
rectangle: Cesium.Rectangle;
|
|
9945
|
+
/**
|
|
9946
|
+
* 周长 距离(单位:米)
|
|
9947
|
+
*/
|
|
9948
|
+
readonly distance: number;
|
|
9949
9949
|
/**
|
|
9950
9950
|
* 将矢量数据导出为GeoJSON格式规范对象。
|
|
9951
9951
|
* @param [options] - 参数对象:
|
|
@@ -9998,10 +9998,6 @@ declare class RectangleEntity extends BasePolyEntity {
|
|
|
9998
9998
|
* 中心点坐标 (笛卡尔坐标)
|
|
9999
9999
|
*/
|
|
10000
10000
|
readonly center: Cesium.Cartesian3;
|
|
10001
|
-
/**
|
|
10002
|
-
* 距离(单位:米)
|
|
10003
|
-
*/
|
|
10004
|
-
readonly distance: number;
|
|
10005
10001
|
/**
|
|
10006
10002
|
* 面积(单位:平方米)
|
|
10007
10003
|
*/
|
|
@@ -13438,6 +13434,7 @@ declare namespace DiffuseWall {
|
|
|
13438
13434
|
* @property [color = "#3388ff"] - 颜色
|
|
13439
13435
|
* @property [opacity = 1.0] - 透明度,取值范围:0.0-1.0
|
|
13440
13436
|
* @property [speed = 10] - 扩散的速度,值越大越快
|
|
13437
|
+
* @property [maxScale = 1] - 扩散的最大比例
|
|
13441
13438
|
* @property [shadows = Cesium.ShadowMode.DISABLED] - 指定对象是投射还是接收来自光源的阴影。
|
|
13442
13439
|
*/
|
|
13443
13440
|
type StyleOptions = any | {
|
|
@@ -13445,6 +13442,7 @@ declare namespace DiffuseWall {
|
|
|
13445
13442
|
color?: string | Cesium.Color;
|
|
13446
13443
|
opacity?: number;
|
|
13447
13444
|
speed?: number;
|
|
13445
|
+
maxScale?: number;
|
|
13448
13446
|
shadows?: Cesium.ShadowMode;
|
|
13449
13447
|
};
|
|
13450
13448
|
}
|
|
@@ -14037,7 +14035,6 @@ declare namespace ModelPrimitive {
|
|
|
14037
14035
|
* @property [incrementallyLoadTextures = true] - 确定模型加载后纹理是否会继续流进来。
|
|
14038
14036
|
* @property [runAnimations = true] - 指定模型中指定的glTF动画是否应该启动。
|
|
14039
14037
|
* @property [clampAnimations = true] - 指定在没有关键帧的情况下,glTF动画是否应该保持最后一个姿势。
|
|
14040
|
-
* @property [imageBasedLightingFactor = new Cartesian2(1.0, 1.0)] - 指定来自基于图像的漫反射和镜面照明的贡献。
|
|
14041
14038
|
* @property [lightColor] - 在为模型着色时指定光的颜色的属性。当undefined场景的浅色被使用代替。
|
|
14042
14039
|
* @property [nodeTransformations] - 一个对象,其中键是节点的名称,值是{@link TranslationRotationScale}属性,描述要应用到该节点的转换。该转换是在节点的现有转换之后(如glTF中指定的那样)应用的,并且不会替换节点的现有转换。
|
|
14043
14040
|
* @property [articulations] - An object, where keys are composed of an articulation name, a single space, and a stage name, and the values are numeric properties.
|
|
@@ -14096,7 +14093,6 @@ declare namespace ModelPrimitive {
|
|
|
14096
14093
|
incrementallyLoadTextures?: boolean;
|
|
14097
14094
|
runAnimations?: boolean;
|
|
14098
14095
|
clampAnimations?: boolean;
|
|
14099
|
-
imageBasedLightingFactor?: Cesium.Cartesian2;
|
|
14100
14096
|
lightColor?: Cesium.Color;
|
|
14101
14097
|
nodeTransformations?: Cesium.PropertyBag | {
|
|
14102
14098
|
[key: string]: Cesium.TranslationRotationScale;
|
|
@@ -14689,6 +14685,10 @@ declare class PolygonPrimitive extends BasePolyPrimitive {
|
|
|
14689
14685
|
eventParent?: BaseClass | boolean;
|
|
14690
14686
|
allowDrillPick?: boolean | ((...params: any[]) => any);
|
|
14691
14687
|
});
|
|
14688
|
+
/**
|
|
14689
|
+
* 周长 距离(单位:米)
|
|
14690
|
+
*/
|
|
14691
|
+
readonly distance: number;
|
|
14692
14692
|
/**
|
|
14693
14693
|
* 位置坐标数组 (笛卡尔坐标), 赋值时可以传入LatLngPoint数组对象
|
|
14694
14694
|
*/
|
|
@@ -15111,6 +15111,10 @@ declare class RectanglePrimitive extends BasePolyPrimitive {
|
|
|
15111
15111
|
* 坐标数据对应的矩形边界对象
|
|
15112
15112
|
*/
|
|
15113
15113
|
rectangle: Cesium.Rectangle;
|
|
15114
|
+
/**
|
|
15115
|
+
* 周长 距离(单位:米)
|
|
15116
|
+
*/
|
|
15117
|
+
readonly distance: number;
|
|
15114
15118
|
/**
|
|
15115
15119
|
* 获取数据的矩形边界
|
|
15116
15120
|
* @param [options] - 控制参数
|
|
@@ -16497,7 +16501,7 @@ declare class BaseGraphicLayer extends BaseLayer {
|
|
|
16497
16501
|
* callback: function (e) {
|
|
16498
16502
|
* let graphic = e.graphic
|
|
16499
16503
|
* let strDis = mars3d.MeasureUtil.formatDistance(graphic.distance)
|
|
16500
|
-
*
|
|
16504
|
+
* alert('该对象的长度为:' + strDis)
|
|
16501
16505
|
* },
|
|
16502
16506
|
* },
|
|
16503
16507
|
* ])
|
|
@@ -19075,11 +19079,7 @@ declare namespace TilesetLayer {
|
|
|
19075
19079
|
* @param [options.clippingPlanes] - {@link Cesium.ClippingPlaneCollection}用于选择性地禁用tile集的渲染。
|
|
19076
19080
|
* @param [options.classificationType] - 确定地形、3D贴图或两者都将被这个贴图集分类。有关限制和限制的详细信息,请参阅{@link cesium3dtilesset #classificationType}。
|
|
19077
19081
|
* @param [options.pointCloudShading] - 基于几何误差和光照构造一个{@link Cesium.PointCloudShading}对象来控制点衰减的选项。
|
|
19078
|
-
* @param [options.imageBasedLightingFactor = new Cartesian2(1.0, 1.0)] - 缩放来自地球、天空、大气和星星天空盒的漫反射和高光图像照明。
|
|
19079
19082
|
* @param [options.lightColor] - 光的颜色当遮光模型。当undefined场景的浅色被使用代替。
|
|
19080
|
-
* @param [options.luminanceAtZenith = 0.2] - 太阳在天顶的亮度,单位是千坎德拉每平方米,用于这个模型的程序环境地图。
|
|
19081
|
-
* @param [options.sphericalHarmonicCoefficients] - 三阶球面调和系数用于基于图像的漫射色彩照明。
|
|
19082
|
-
* @param [options.specularEnvironmentMaps] - 一个KTX文件的URL,该文件包含高光照明的立方体映射和复杂的高光mipmaps。
|
|
19083
19083
|
* @param [options.backFaceCulling = true] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;当为false时,禁用背面剔除。
|
|
19084
19084
|
* @param [options.debugHeatmapTilePropertyName] - 是否剔除面向背面的几何图形。当为真时,背面剔除由glTF材质的双面属性决定;作为热图着色的tile变量。所有渲染的贴图都将相对于其他指定的变量值着色。
|
|
19085
19085
|
* @param [options.pickPrimitive] - 要在拾取过程中呈现的原语,而不是tile集合。
|
|
@@ -19166,11 +19166,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
19166
19166
|
clippingPlanes?: Cesium.ClippingPlaneCollection;
|
|
19167
19167
|
classificationType?: Cesium.ClassificationType;
|
|
19168
19168
|
pointCloudShading?: any;
|
|
19169
|
-
imageBasedLightingFactor?: Cesium.Cartesian2;
|
|
19170
19169
|
lightColor?: Cesium.Cartesian3;
|
|
19171
|
-
luminanceAtZenith?: number;
|
|
19172
|
-
sphericalHarmonicCoefficients?: Cesium.Cartesian3[];
|
|
19173
|
-
specularEnvironmentMaps?: string;
|
|
19174
19170
|
backFaceCulling?: boolean;
|
|
19175
19171
|
debugHeatmapTilePropertyName?: string;
|
|
19176
19172
|
pickPrimitive?: any;
|
|
@@ -19371,6 +19367,10 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
19371
19367
|
* @returns 当前对象本身,可以链式调用
|
|
19372
19368
|
*/
|
|
19373
19369
|
closePopup(): BaseGraphicLayer;
|
|
19370
|
+
/**
|
|
19371
|
+
* 透明度,取值范围:0.0-1.0
|
|
19372
|
+
*/
|
|
19373
|
+
opacity: number;
|
|
19374
19374
|
/**
|
|
19375
19375
|
* 飞行定位至图层数据所在的视角
|
|
19376
19376
|
* @param [options = {}] - 参数对象:
|
|
@@ -19411,6 +19411,7 @@ declare class TilesetLayer extends BaseGraphicLayer {
|
|
|
19411
19411
|
* @param [options.parameters] - 要在URL中 传递给WFS服务GetFeature请求的其他参数。
|
|
19412
19412
|
* @param [options.parameters.maxFeatures] - 返回结果最大数量
|
|
19413
19413
|
* @param [options.parameters.cql_filter] - 筛选服务数据的[SQL语句]{@link https://docs.geoserver.org/2.12.2/user/services/wfs/vendor.html#wfs-vendor-parameters}
|
|
19414
|
+
* @param [options.parameters.sortBy] - 排序的属性名称,默认升序,降序时+D
|
|
19414
19415
|
* @param [options.parameters.service = 'WFS'] - 服务类型
|
|
19415
19416
|
* @param [options.parameters.version = '1.0.0'] - 服务版本
|
|
19416
19417
|
* @param [options.geometryName = 'the_geom'] - geometry字段名称
|
|
@@ -19489,6 +19490,7 @@ declare class WfsLayer extends LodGraphicLayer {
|
|
|
19489
19490
|
parameters?: {
|
|
19490
19491
|
maxFeatures?: number;
|
|
19491
19492
|
cql_filter?: string;
|
|
19493
|
+
sortBy?: string;
|
|
19492
19494
|
service?: string;
|
|
19493
19495
|
version?: string;
|
|
19494
19496
|
};
|
|
@@ -24063,10 +24065,10 @@ declare class Map extends BaseClass {
|
|
|
24063
24065
|
* @param cameraView - 飞行参数
|
|
24064
24066
|
* @param cameraView.lng - 经度值, 180 - 180
|
|
24065
24067
|
* @param cameraView.lat - 纬度值, -90 - 90
|
|
24066
|
-
* @param cameraView.alt - 高度值
|
|
24067
|
-
* @param cameraView.heading - 方向角度值,绕垂直于地心的轴旋转角度, 0-360
|
|
24068
|
-
* @param cameraView.pitch - 俯仰角度值,绕纬度线旋转角度, 0-360
|
|
24069
|
-
* @param cameraView.roll - 翻滚角度值,绕经度线旋转角度, 0-360
|
|
24068
|
+
* @param [cameraView.alt] - 高度值
|
|
24069
|
+
* @param [cameraView.heading] - 方向角度值,绕垂直于地心的轴旋转角度, 0-360
|
|
24070
|
+
* @param [cameraView.pitch] - 俯仰角度值,绕纬度线旋转角度, 0-360
|
|
24071
|
+
* @param [cameraView.roll] - 翻滚角度值,绕经度线旋转角度, 0-360
|
|
24070
24072
|
* @param [options = {}] - 参数对象:
|
|
24071
24073
|
* @param [options.duration] - 飞行时间(单位:秒)。如果省略,SDK内部会根据飞行距离计算出理想的飞行时间。
|
|
24072
24074
|
* @param [options.complete] - 飞行完成后要执行的函数。
|
|
@@ -24083,10 +24085,10 @@ declare class Map extends BaseClass {
|
|
|
24083
24085
|
setCameraView(cameraView: {
|
|
24084
24086
|
lng: number;
|
|
24085
24087
|
lat: number;
|
|
24086
|
-
alt
|
|
24087
|
-
heading
|
|
24088
|
-
pitch
|
|
24089
|
-
roll
|
|
24088
|
+
alt?: number;
|
|
24089
|
+
heading?: number;
|
|
24090
|
+
pitch?: number;
|
|
24091
|
+
roll?: number;
|
|
24090
24092
|
}, options?: {
|
|
24091
24093
|
duration?: number;
|
|
24092
24094
|
complete?: Cesium.Camera.FlightCompleteCallback;
|
|
@@ -25604,6 +25606,8 @@ declare class EchartsLayer extends BaseLayer {
|
|
|
25604
25606
|
* @param options.rectangle.xmax - 最大纬度值
|
|
25605
25607
|
* @param options.rectangle.ymin - 最小纬度值
|
|
25606
25608
|
* @param options.rectangle.ymax - 最大纬度值
|
|
25609
|
+
* @param [options.max] - 数据集的value值上限,默认内部计算
|
|
25610
|
+
* @param [options.min] - 数据集的value值下限,默认内部计算
|
|
25607
25611
|
* @param [options.heatStyle] - heatmap热力图本身configObject参数,详情也可查阅 [heatmap文档]{@link https://www.patrick-wied.at/static/heatmapjs/docs.html}
|
|
25608
25612
|
* @param [options.heatStyle.maxOpacity = 0.8] - 最大不透明度,取值范围0.0-1.0。
|
|
25609
25613
|
* @param [options.heatStyle.minOpacity = 0.1] - 最小不透明度,取值范围0.0-1.0。
|
|
@@ -25644,6 +25648,8 @@ declare class HeatLayer extends BaseLayer {
|
|
|
25644
25648
|
ymin: number;
|
|
25645
25649
|
ymax: number;
|
|
25646
25650
|
};
|
|
25651
|
+
max?: number;
|
|
25652
|
+
min?: number;
|
|
25647
25653
|
heatStyle?: {
|
|
25648
25654
|
maxOpacity?: number;
|
|
25649
25655
|
minOpacity?: number;
|
|
@@ -31468,9 +31474,10 @@ declare namespace MeasureUtil {
|
|
|
31468
31474
|
/**
|
|
31469
31475
|
* 求坐标数组的空间距离
|
|
31470
31476
|
* @param positions - 坐标数组
|
|
31477
|
+
* @param [closure] - 是否闭合,如求面的周长时,传入true
|
|
31471
31478
|
* @returns 距离(单位:米)
|
|
31472
31479
|
*/
|
|
31473
|
-
function getDistance(positions: Cesium.Cartesian3[] | LngLatPoint[]): number;
|
|
31480
|
+
function getDistance(positions: Cesium.Cartesian3[] | LngLatPoint[], closure?: boolean): number;
|
|
31474
31481
|
/**
|
|
31475
31482
|
* 求坐标数组的 距离(地球表面弧度的),
|
|
31476
31483
|
* 比如北京到纽约(不能穿过球心,是贴地表的线的距离)
|
|
@@ -32868,10 +32875,10 @@ declare namespace Util {
|
|
|
32868
32875
|
/**
|
|
32869
32876
|
* 执行alert弹窗(手动单击确定关闭窗口)
|
|
32870
32877
|
* @param msg - 弹窗内的内容
|
|
32871
|
-
* @param title - 弹窗的标题
|
|
32878
|
+
* @param [title] - 弹窗的标题
|
|
32872
32879
|
* @returns 无
|
|
32873
32880
|
*/
|
|
32874
|
-
function alert(msg: string, title
|
|
32881
|
+
function alert(msg: string, title?: string): void;
|
|
32875
32882
|
/**
|
|
32876
32883
|
* 执行msg提示窗(自动消失)
|
|
32877
32884
|
* @param msg - 弹窗内的内容
|