mars3d 3.3.6 → 3.3.9
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 +53 -39
- package/dist/mars3d.css +18 -7
- package/dist/mars3d.d.ts +1328 -714
- package/dist/mars3d.js +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,75 +1,89 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
2
|
<p align="center">
|
|
3
|
-
<img src="https://
|
|
3
|
+
<img src="https://muyao1987.gitee.io/cdn/mars3d.cn/logo.png" width="300px" />
|
|
4
4
|
</p>
|
|
5
5
|
|
|
6
6
|
<p align="center">🌎 一款基于WebGL技术实现的三维地球客户端开发平台</p>
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
9
|
-
<a target="_black" href="https://github.com/marsgis/mars3d">
|
|
10
|
-
<img alt="GitHub stars" src="https://img.shields.io/github/stars/marsgis/mars3d?style=flat&logo=github">
|
|
11
|
-
</a>
|
|
12
9
|
<a target="_black" href="https://www.npmjs.com/package/mars3d">
|
|
13
|
-
<img alt="Npm
|
|
10
|
+
<img alt="Npm version" src="https://img.shields.io/npm/v/mars3d.svg?style=flat&logo=npm&label=version"/>
|
|
14
11
|
</a>
|
|
15
12
|
<a target="_black" href="https://www.npmjs.com/package/mars3d">
|
|
16
|
-
<img alt="Npm
|
|
13
|
+
<img alt="Npm downloads" src="https://img.shields.io/npm/dt/mars3d?style=flat&logo=npm">
|
|
17
14
|
</a>
|
|
15
|
+
<a target="_black" href="https://github.com/marsgis/mars3d">
|
|
16
|
+
<img alt="GitHub stars" src="https://img.shields.io/github/stars/marsgis/mars3d?style=flat&logo=github">
|
|
17
|
+
</a>
|
|
18
|
+
<a href='https://gitee.com/marsgis/mars3d/stargazers'><img src='https://gitee.com/marsgis/mars3d/badge/star.svg?theme=dark' alt='star'></img></a>
|
|
19
|
+
|
|
18
20
|
</p>
|
|
19
21
|
|
|
22
|
+
[**English**](./README_EN.md) |[**中文**](./README.md)
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
|
|
25
|
+
当前仓库包含SDK更新日志、和其他仓库导航。
|
|
23
26
|
|
|
24
27
|
|
|
25
28
|
Github:[https://github.com/marsgis/mars3d](https://github.com/marsgis/mars3d)
|
|
26
29
|
|
|
27
30
|
国内Gitee:[https://gitee.com/marsgis/mars3d](https://gitee.com/marsgis/mars3d)
|
|
28
|
-
|
|
29
|
-
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## 功能示例
|
|
32
35
|
对平台每个功能编写的案例代码,可以阅读每个示例代码来学习各功能,与官网功能示例一致效果。
|
|
33
36
|
|
|
34
|
-
|
|
|
37
|
+
| 说明 | 教程 |Github源码 | 国内Gitee源码 |
|
|
35
38
|
| ----|---- | ----| ---- |
|
|
36
|
-
|
|
37
|
-
|
|
39
|
+
|原生JS版 | [单击查看](http://mars3d.cn/dev/guide/project/example-es5.html) | [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) | [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) | [mars3d-react-example](https://github.com/marsgis/mars3d-react-example) |[mars3d-react-example](https://gitee.com/marsgis/mars3d-react-example) |
|
|
38
42
|
|
|
39
43
|
|
|
40
44
|
## 最简项目模板
|
|
41
45
|
提供了面向不同技术栈的最简项目模板,您可以直接使用或参考这些项目模板,了解SDK类库在不同技术栈项目中如何引入使用,快速搭建开发自己的项目。
|
|
42
46
|
|
|
43
|
-
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
47
|
-
|
|
|
48
|
-
|
|
|
49
|
-
|
|
|
50
|
-
|
|
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桌面程序 | [mars3d-electron](https://github.com/marsgis/mars3d-electron) |[mars3d-electron](https://gitee.com/marsgis/mars3d-electron) |
|
|
54
|
+
|移动端APP | [mars3d-uni-app](https://github.com/marsgis/mars3d-uni-app) |[mars3d-uni-app](https://gitee.com/marsgis/mars3d-uni-app) |
|
|
51
55
|
|
|
52
56
|
|
|
53
57
|
|
|
54
58
|
## 基础项目
|
|
55
59
|
基础项目是具备一个GIS项目常见功能的项目模板,只用更换数据及叠加业务即可完成项目交付。
|
|
56
|
-
如果需要更多功能可以考虑购买[付费项目模板](http://mars3d.cn/template)。
|
|
60
|
+
如果需要更多功能可以考虑购买[付费项目模板](http://mars3d.cn/template.html)。
|
|
57
61
|
|
|
58
|
-
|
|
62
|
+
|说明 |教程 |Github源码 | 国内Gitee源码 |
|
|
59
63
|
|----|---- | ----| ---- |
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
64
|
+
|基础项目 原生JS版 |[单击查看](http://mars3d.cn/dev/guide/project/jcxm-es5.html) | [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) | [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) |
|
|
63
68
|
|
|
64
69
|
|
|
65
|
-
|
|
70
|
+
|
|
66
71
|
## 第3方平台融合
|
|
67
72
|
Mars3D支持结合Cesium相关的各类平台来兼容使用,方便结合不同平台的优点来达到完成各种项目需求。
|
|
68
73
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
|说明 | Github | 国内Gitee |
|
|
75
|
+
|----|---- | ----|
|
|
76
|
+
|与supermap平台融合示例 | [mars3d-link-supermap](https://github.com/marsgis/mars3d-link-supermap) |[mars3d-link-supermap](https://gitee.com/marsgis/mars3d-link-supermap) |
|
|
77
|
+
|与earthsdk平台融合示例 | [mars3d-link-earthsdk](https://github.com/marsgis/mars3d-link-earthsdk) |[mars3d-link-earthsdk](https://gitee.com/marsgis/mars3d-link-earthsdk) |
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## 其他
|
|
82
|
+
|
|
83
|
+
|说明 | Github | 国内Gitee |
|
|
84
|
+
|----|---- | ----|
|
|
85
|
+
|部分开源插件 | [mars3d-plugin](https://github.com/marsgis/mars3d-plugin) |[mars3d-plugin](https://gitee.com/marsgis/mars3d-plugin) |
|
|
86
|
+
|
|
73
87
|
|
|
74
88
|
|
|
75
89
|
|
|
@@ -85,25 +99,25 @@ Mars3D支持结合Cesium相关的各类平台来兼容使用,方便结合不
|
|
|
85
99
|
|
|
86
100
|
|
|
87
101
|
### 反馈问题
|
|
88
|
-
为了方便交流及留存,所有bug及建议均统一提交至:[github issues](https://github.com/marsgis/mars3d/issues)
|
|
89
|
-
|
|
102
|
+
为了方便交流及留存,所有bug及建议均统一提交至:[github issues](https://github.com/marsgis/mars3d/issues) 或
|
|
103
|
+
[国内gitee issues](https://gitee.com/marsgis/mars3d/issues)
|
|
90
104
|
|
|
91
105
|
|
|
92
106
|
## 平台相关效果
|
|
93
107
|
功能示例:
|
|
94
|
-

|
|
95
109
|
|
|
96
110
|
基础项目:[在线体验](http://mars3d.cn/project/jcxm/index.html)
|
|
97
111
|
|
|
98
|
-

|
|
99
113
|
|
|
100
114
|
电子沙盘项目:[在线体验](http://mars3d.cn/project/dzsp/login.html)
|
|
101
115
|
|
|
102
|
-

|
|
103
117
|
|
|
104
118
|
综合态势项目:[在线体验](http://mars3d.cn/project/zhts/index.html)
|
|
105
119
|
|
|
106
|
-

|
|
107
121
|
|
|
108
122
|
|
|
109
123
|
|
package/dist/mars3d.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars3D三维可视化平台 mars3d
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.3.
|
|
5
|
-
* 编译日期:2022-
|
|
4
|
+
* 版本信息:v3.3.9
|
|
5
|
+
* 编译日期:2022-05-16 20:53:57
|
|
6
6
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
7
7
|
* 使用单位:免费公开版 ,2022-02-01
|
|
8
8
|
*/
|
|
@@ -16,9 +16,12 @@
|
|
|
16
16
|
overflow: hidden;
|
|
17
17
|
position: relative;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
.mars3d-container .cesium-widget-credits {
|
|
20
20
|
display: none;
|
|
21
21
|
}
|
|
22
|
+
.mars3d-container .mars3d-vrButton {
|
|
23
|
+
right: auto !important;
|
|
24
|
+
}
|
|
22
25
|
/**右键菜单*/
|
|
23
26
|
.mars3d-contextmenu {
|
|
24
27
|
position: absolute;
|
|
@@ -36,10 +39,12 @@
|
|
|
36
39
|
padding: 0;
|
|
37
40
|
}
|
|
38
41
|
.mars3d-contextmenu-ul .contextmenu-icon {
|
|
39
|
-
|
|
40
|
-
|
|
42
|
+
position: absolute;
|
|
43
|
+
left: 5px;
|
|
44
|
+
width: 20px;
|
|
45
|
+
height: 20px;
|
|
41
46
|
text-align: center;
|
|
42
|
-
|
|
47
|
+
overflow: hidden;
|
|
43
48
|
}
|
|
44
49
|
.mars3d-contextmenu-ul .contextmenu-arrow {
|
|
45
50
|
position: absolute;
|
|
@@ -77,7 +82,7 @@
|
|
|
77
82
|
border: 1px;
|
|
78
83
|
}
|
|
79
84
|
.mars3d-contextmenu-ul > li > a {
|
|
80
|
-
padding: 6px 10px;
|
|
85
|
+
padding: 6px 10px 6px 30px;
|
|
81
86
|
-webkit-transition: background-color 0.25s;
|
|
82
87
|
-o-transition: background-color 0.25s;
|
|
83
88
|
transition: background-color 0.25s;
|
|
@@ -480,6 +485,12 @@
|
|
|
480
485
|
margin: -2px;
|
|
481
486
|
box-sizing: content-box;
|
|
482
487
|
}
|
|
488
|
+
.mars3d-divBillboardEntity {
|
|
489
|
+
position: absolute;
|
|
490
|
+
top: 0;
|
|
491
|
+
left: 0;
|
|
492
|
+
z-index: -1;
|
|
493
|
+
}
|
|
483
494
|
/**内置的DivGraphic通用样式【动画点】*/
|
|
484
495
|
.mars3d-animation-point,
|
|
485
496
|
.mars3d-animation-point:after,
|