mars3d 3.3.7 → 3.3.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/README.md +47 -26
- package/dist/mars3d.css +8 -6
- package/dist/mars3d.d.ts +393 -114
- package/dist/mars3d.js +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,40 +1,45 @@
|
|
|
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
31
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
## 功能示例
|
|
32
36
|
对平台每个功能编写的案例代码,可以阅读每个示例代码来学习各功能,与官网功能示例一致效果。
|
|
33
37
|
|
|
34
38
|
| 技术栈 | Github | 国内Gitee | 说明 |
|
|
35
39
|
| ----|---- | ----| ---- |
|
|
36
|
-
|**
|
|
37
|
-
|
|
40
|
+
|**Vue** |[mars3d-vue-example](https://github.com/marsgis/mars3d-vue-example) |[mars3d-vue-example](https://gitee.com/marsgis/mars3d-vue-example) | 功能示例Vue版源码 |
|
|
41
|
+
|React |[mars3d-react-example](https://github.com/marsgis/mars3d-react-example) |[mars3d-react-example](https://gitee.com/marsgis/mars3d-react-example) | 功能示例React版源码 |
|
|
42
|
+
|原生JS |[mars3d-es5-example](https://github.com/marsgis/mars3d-es5-example) |[mars3d-es5-example](https://gitee.com/marsgis/mars3d-es5-example) | 功能示例原生JS版源码 |
|
|
38
43
|
|
|
39
44
|
|
|
40
45
|
## 最简项目模板
|
|
@@ -43,26 +48,28 @@ Github:[https://github.com/marsgis/mars3d](https://github.com/marsgis/mars3d)
|
|
|
43
48
|
|
|
44
49
|
| 技术栈 | Github | 国内Gitee | 说明 |
|
|
45
50
|
| ----|---- | ----| ---- |
|
|
46
|
-
|**
|
|
47
|
-
|Vue2| [mars3d-vue2-template](https://github.com/marsgis/mars3d-vue2-template) |[mars3d-vue2-template](https://gitee.com/marsgis/mars3d-vue2-template) | Vue2最简的项目模板 |
|
|
51
|
+
|**Vue** | [mars3d-vue-template](https://github.com/marsgis/mars3d-vue-template) |[mars3d-vue-template](https://gitee.com/marsgis/mars3d-vue-template) | Vue最简的项目模板 |
|
|
48
52
|
|React | [mars3d-react-template](https://github.com/marsgis/mars3d-react-template) |[mars3d-react-template](https://gitee.com/marsgis/mars3d-react-template) | React最简的项目模板 |
|
|
49
53
|
|Angular | [mars3d-angular-template](https://github.com/marsgis/mars3d-angular-template) |[mars3d-angular-template](https://gitee.com/marsgis/mars3d-angular-template) | Angular最简的项目模板 |
|
|
54
|
+
|uni-app | [mars3d-uni-app](https://github.com/marsgis/mars3d-uni-app) |[mars3d-uni-app](https://gitee.com/marsgis/mars3d-uni-app) | uni-app的项目模板 |
|
|
50
55
|
|原生JS | [mars3d-es5-template](https://github.com/marsgis/mars3d-es5-template) |[mars3d-es5-template](https://gitee.com/marsgis/mars3d-es5-template) | 原生JS最简的项目模板 |
|
|
51
56
|
|
|
52
57
|
|
|
53
58
|
|
|
54
59
|
## 基础项目
|
|
55
60
|
基础项目是具备一个GIS项目常见功能的项目模板,只用更换数据及叠加业务即可完成项目交付。
|
|
56
|
-
如果需要更多功能可以考虑购买[付费项目模板](http://mars3d.cn/template)。
|
|
61
|
+
如果需要更多功能可以考虑购买[付费项目模板](http://mars3d.cn/template.html)。
|
|
57
62
|
|
|
58
63
|
|技术栈 | Github | 国内Gitee | 说明 |
|
|
59
64
|
|----|---- | ----| ---- |
|
|
60
|
-
|**
|
|
61
|
-
|
|
65
|
+
|**Vue** | [mars3d-vue-project](https://github.com/marsgis/mars3d-vue-project) |[mars3d-vue-project](https://gitee.com/marsgis/mars3d-vue-project) | 基础项目Vue版 |
|
|
66
|
+
|Vue | [mars3d-vue-project-admin](https://github.com/marsgis/mars3d-vue-project-admin) |[mars3d-vue-project-admin](https://gitee.com/marsgis/mars3d-vue-project-admin) | 基础项目Vue版+admin管理系统 |
|
|
67
|
+
|React| [mars3d-react-project](https://github.com/marsgis/mars3d-react-project) |[mars3d-react-project](https://gitee.com/marsgis/mars3d-react-project) | 基础项目React版 |
|
|
68
|
+
|原生JS | [mars3d-es5-project](https://github.com/marsgis/mars3d-es5-project) |[mars3d-es5-project](https://gitee.com/marsgis/mars3d-es5-project) | 基础项目原生JS版 |
|
|
62
69
|
|
|
63
70
|
|
|
64
71
|
|
|
65
|
-
|
|
72
|
+
|
|
66
73
|
## 第3方平台融合
|
|
67
74
|
Mars3D支持结合Cesium相关的各类平台来兼容使用,方便结合不同平台的优点来达到完成各种项目需求。
|
|
68
75
|
|
|
@@ -72,6 +79,20 @@ Mars3D支持结合Cesium相关的各类平台来兼容使用,方便结合不
|
|
|
72
79
|
|earthsdk | [mars3d-link-earthsdk](https://github.com/marsgis/mars3d-link-earthsdk) |[mars3d-link-earthsdk](https://gitee.com/marsgis/mars3d-link-earthsdk) | 与earthsdk平台融合示例 |
|
|
73
80
|
|
|
74
81
|
|
|
82
|
+
|
|
83
|
+
## 其他
|
|
84
|
+
|
|
85
|
+
|技术栈 | Github | 国内Gitee | 说明 |
|
|
86
|
+
|----|---- | ----| ---- |
|
|
87
|
+
|ES6 | [mars3d-plugin](https://github.com/marsgis/mars3d-plugin) |[mars3d-plugin](https://gitee.com/marsgis/mars3d-plugin) | 部分开源插件 |
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
75
96
|
|
|
76
97
|
## 平台介绍
|
|
77
98
|
|
|
@@ -85,25 +106,25 @@ Mars3D支持结合Cesium相关的各类平台来兼容使用,方便结合不
|
|
|
85
106
|
|
|
86
107
|
|
|
87
108
|
### 反馈问题
|
|
88
|
-
为了方便交流及留存,所有bug及建议均统一提交至:[github issues](https://github.com/marsgis/mars3d/issues)
|
|
89
|
-
|
|
109
|
+
为了方便交流及留存,所有bug及建议均统一提交至:[github issues](https://github.com/marsgis/mars3d/issues) 或
|
|
110
|
+
[国内gitee issues](https://gitee.com/marsgis/mars3d/issues)
|
|
90
111
|
|
|
91
112
|
|
|
92
113
|
## 平台相关效果
|
|
93
114
|
功能示例:
|
|
94
|
-

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

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

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

|
|
107
128
|
|
|
108
129
|
|
|
109
130
|
|
package/dist/mars3d.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars3D三维可视化平台 mars3d
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.3.
|
|
5
|
-
* 编译日期:2022-05-
|
|
4
|
+
* 版本信息:v3.3.8
|
|
5
|
+
* 编译日期:2022-05-09 21:31:02
|
|
6
6
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
7
7
|
* 使用单位:免费公开版 ,2022-02-01
|
|
8
8
|
*/
|
|
@@ -39,10 +39,12 @@
|
|
|
39
39
|
padding: 0;
|
|
40
40
|
}
|
|
41
41
|
.mars3d-contextmenu-ul .contextmenu-icon {
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
position: absolute;
|
|
43
|
+
left: 5px;
|
|
44
|
+
width: 20px;
|
|
45
|
+
height: 20px;
|
|
44
46
|
text-align: center;
|
|
45
|
-
|
|
47
|
+
overflow: hidden;
|
|
46
48
|
}
|
|
47
49
|
.mars3d-contextmenu-ul .contextmenu-arrow {
|
|
48
50
|
position: absolute;
|
|
@@ -80,7 +82,7 @@
|
|
|
80
82
|
border: 1px;
|
|
81
83
|
}
|
|
82
84
|
.mars3d-contextmenu-ul > li > a {
|
|
83
|
-
padding: 6px 10px;
|
|
85
|
+
padding: 6px 10px 6px 30px;
|
|
84
86
|
-webkit-transition: background-color 0.25s;
|
|
85
87
|
-o-transition: background-color 0.25s;
|
|
86
88
|
transition: background-color 0.25s;
|