mars3d 3.11.8 → 3.11.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.
Files changed (6) hide show
  1. package/LICENSE +310 -0
  2. package/README.md +10 -10
  3. package/mars3d.css +8 -1383
  4. package/mars3d.d.ts +2029 -1277
  5. package/mars3d.js +10 -12
  6. package/package.json +5 -4
package/LICENSE ADDED
@@ -0,0 +1,310 @@
1
+ Mars3D 三维可视化平台(以下简称 “Mars3D” 或 “本软件”)
2
+ https://mars3d.cn
3
+
4
+ ================================================================================
5
+ Mars3D 授权协议(双重授权 / Dual Licensing)
6
+ ================================================================================
7
+
8
+ Mars3D 采用 “社区免费版 + 商业授权版” 双重授权:
9
+
10
+ 一、社区免费版
11
+ 在遵守 Apache License 2.0(见本文件第二部分)及本文件第一部分
12
+ 《Mars3D 免费版附加条款》的前提下,您可以免费地使用、复制、修改、
13
+ 发布和分发本软件(含商业用途)。
14
+ 核心条件:您必须保留软件运行时页面周边的 Mars3D 品牌标识(Logo)
15
+ 及浏览器开发者工具控制台(F12 Console)输出的版权信息,不得移除、
16
+ 遮挡、修改或通过任何技术手段规避。
17
+
18
+ 二、商业授权版
19
+ 付费购买商业授权后,可去除页面 Logo,并将 F12 控制台信息替换为
20
+ 被授权方单位 / 项目名称;不限制项目数、节点数、用户数和使用期限,
21
+ 按 SDK 大版本授权,并提供盖章授权文件与技术服务。
22
+ 购买与咨询:http://mars3d.cn/buy.html
23
+
24
+ 未取得有效商业授权(以授权证书载明的被授权方与授权版本为准)而复制、
25
+ 安装、使用或分发本软件的,视为您已完整接受社区免费版的全部条款。
26
+
27
+ English summary:
28
+ The Community Free Edition is licensed under the Apache License 2.0
29
+ WITH additional attribution terms: you must keep the runtime Mars3D
30
+ logo and the F12 browser-console copyright notice intact, and must
31
+ NOT remove, hide, modify or circumvent them. A Commercial License
32
+ (http://mars3d.cn/buy.html) permits logo removal and custom console
33
+ attribution.
34
+
35
+ ================================================================================
36
+ 第一部分 Mars3D 免费版附加条款
37
+ (Mars3D Free Edition Additional Terms;与 Apache-2.0 冲突时,就冲突
38
+ 部分以本附加条款为准,未尽事项适用 Apache-2.0)
39
+ ================================================================================
40
+
41
+ 第 1 条(定义)
42
+ “署名标识” 指本软件运行时呈现的下列内容的总称:(1) 品牌标识:
43
+ 在三维地球视图及页面周边自动渲染的 Mars3D / MarsGIS 名称、Logo、
44
+ 图标、水印及跳转链接;(2) 控制台声明:浏览器开发者工具控制台
45
+ (即 F12 面板)输出的版权、版本及授权信息;(3) 上述内容所依赖的
46
+ 代码、资源、配置与渲染逻辑。
47
+
48
+ 第 2 条(授权授予)
49
+ 在您遵守本附加条款及 Apache-2.0 的前提下,版权方授予您免费的、
50
+ 非独占、不可转让、全球范围的许可,以使用、复制、修改、发布、分发
51
+ 本软件(含商业用途,不限制项目数、节点数、用户数及使用期限),
52
+ 但该权利的行使始终受第 3 条限制。本许可不包含商标、商号的使用
53
+ 授权。
54
+
55
+ 第 3 条(署名标识保留义务)
56
+ 3.1 您使用、部署、公开展示、演示、分发本软件或其衍生作品(含以
57
+ 网络 / SaaS 方式提供)时,必须保证署名标识在运行时原样、完整、
58
+ 清晰、可见。
59
+ 3.2 未经版权方书面许可,您不得,也不得协助、教唆第三方实施下列
60
+ 行为:
61
+ (1) 删除、移除、隐藏、遮挡、覆盖、缩小、淡化品牌标识,或删除、
62
+ 屏蔽、篡改、替换控制台声明;
63
+ (2) 通过修改源代码、打包 / 混淆后的 JavaScript、CSS、DOM、
64
+ 资源文件或配置,或通过脚本注入、浏览器插件、网络拦截、
65
+ 资源替换、反编译、反混淆、逆向工程等任何技术手段,使署名
66
+ 标识不显示、不输出、不可见或难以发现;
67
+ (3) 对署名标识的显隐设置域名、运行环境、调试模式等条件判断;
68
+ (4) 提供、传播用于移除或规避署名标识的工具、补丁、脚本或教程。
69
+ 3.3 您可以为实现自身业务修改、扩展本软件的业务代码与扩展插件,
70
+ 但不得触及、破坏或影响署名标识的生成、渲染与输出逻辑。
71
+
72
+ 第 4 条(分发义务)
73
+ 以源代码或二进制形式分发本软件或其衍生作品时,必须完整随附本
74
+ 许可文件,保留署名标识,在显著位置如实注明 “基于 Mars3D
75
+ (https://mars3d.cn)构建”,且不得以与本附加条款相冲突或就署名
76
+ 标识而言更宽松的条件再分发。
77
+
78
+ 第 5 条(违约与终止)
79
+ 您违反第 3 条或第 4 条的,本许可自动、即时终止,无需版权方另行
80
+ 通知;您应立即停止使用并销毁全部副本。终止后继续使用、分发的,
81
+ 构成著作权侵权,版权方有权要求停止侵害、消除影响、赔偿损失
82
+ (含律师费、公证费等合理维权费用)。
83
+
84
+ 第 6 条(商业授权豁免)
85
+ 取得有效商业授权的被授权方,在授权证书载明的被授权方与大版本
86
+ (如 V3.11 系列)范围内,豁免第 3 条义务:可移除品牌标识,控制台
87
+ 声明替换为被授权方单位 / 项目名称。商业授权按大版本授予,小版本
88
+ 免费升级,跨大版本升级需重新购买;被授权方不得擅自变更授权主体
89
+ 或转让授权。
90
+
91
+ 第 7 条(商标与第三方组件)
92
+ “Mars3D”“MarsGIS” 及相关 Logo 的著作权、商标权均归版权方所有;
93
+ 未经书面同意,不得用于您的产品名称、商标、域名、宣传或背书,
94
+ 如实的描述性说明(如 “基于 Mars3D 开发”)除外。本软件包含
95
+ Cesium 等第三方开源组件,仍适用其各自的开源许可。本软件并非
96
+ Apache 软件基金会产品,与 Apache 软件基金会无关。
97
+
98
+ 第 8 条(其他)
99
+ 本软件按 “现状”(AS IS)提供,不提供任何担保,版权方的责任限制
100
+ 适用 Apache-2.0 第 7、8 条。本附加条款适用中华人民共和国法律,
101
+ 因本条款产生的争议由版权方所在地(合肥市)有管辖权的人民法院
102
+ 管辖。
103
+
104
+ ================================================================================
105
+ 第二部分 Apache License, Version 2.0(官方全文)
106
+ ================================================================================
107
+
108
+
109
+
110
+ Apache License
111
+ Version 2.0, January 2004
112
+ http://www.apache.org/licenses/
113
+
114
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
115
+
116
+ 1. Definitions.
117
+
118
+ "License" shall mean the terms and conditions for use, reproduction,
119
+ and distribution as defined by Sections 1 through 9 of this document.
120
+
121
+ "Licensor" shall mean the copyright owner or entity authorized by
122
+ the copyright owner that is granting the License.
123
+
124
+ "Legal Entity" shall mean the union of the acting entity and all
125
+ other entities that control, are controlled by, or are under common
126
+ control with that entity. For the purposes of this definition,
127
+ "control" means (i) the power, direct or indirect, to cause the
128
+ direction or management of such entity, whether by contract or
129
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
130
+ outstanding shares, or (iii) beneficial ownership of such entity.
131
+
132
+ "You" (or "Your") shall mean an individual or Legal Entity
133
+ exercising permissions granted by this License.
134
+
135
+ "Source" form shall mean the preferred form for making modifications,
136
+ including but not limited to software source code, documentation
137
+ source, and configuration files.
138
+
139
+ "Object" form shall mean any form resulting from mechanical
140
+ transformation or translation of a Source form, including but
141
+ not limited to compiled object code, generated documentation,
142
+ and conversions to other media types.
143
+
144
+ "Work" shall mean the work of authorship, whether in Source or
145
+ Object form, made available under the License, as indicated by a
146
+ copyright notice that is included in or attached to the work
147
+ (an example is provided in the Appendix below).
148
+
149
+ "Derivative Works" shall mean any work, whether in Source or Object
150
+ form, that is based on (or derived from) the Work and for which the
151
+ editorial revisions, annotations, elaborations, or other modifications
152
+ represent, as a whole, an original work of authorship. For the purposes
153
+ of this License, Derivative Works shall not include works that remain
154
+ separable from, or merely link (or bind by name) to the interfaces of,
155
+ the Work and Derivative Works thereof.
156
+
157
+ "Contribution" shall mean any work of authorship, including
158
+ the original version of the Work and any modifications or additions
159
+ to that Work or Derivative Works thereof, that is intentionally
160
+ submitted to Licensor for inclusion in the Work by the copyright owner
161
+ or by an individual or Legal Entity authorized to submit on behalf of
162
+ the copyright owner. For the purposes of this definition, "submitted"
163
+ means any form of electronic, verbal, or written communication sent
164
+ to the Licensor or its representatives, including but not limited to
165
+ communication on electronic mailing lists, source code control systems,
166
+ and issue tracking systems that are managed by, or on behalf of, the
167
+ Licensor for the purpose of discussing and improving the Work, but
168
+ excluding communication that is conspicuously marked or otherwise
169
+ designated in writing by the copyright owner as "Not a Contribution."
170
+
171
+ "Contributor" shall mean Licensor and any individual or Legal Entity
172
+ on behalf of whom a Contribution has been received by Licensor and
173
+ subsequently incorporated within the Work.
174
+
175
+ 2. Grant of Copyright License. Subject to the terms and conditions of
176
+ this License, each Contributor hereby grants to You a perpetual,
177
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
178
+ copyright license to reproduce, prepare Derivative Works of,
179
+ publicly display, publicly perform, sublicense, and distribute the
180
+ Work and such Derivative Works in Source or Object form.
181
+
182
+ 3. Grant of Patent License. Subject to the terms and conditions of
183
+ this License, each Contributor hereby grants to You a perpetual,
184
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
185
+ (except as stated in this section) patent license to make, have made,
186
+ use, offer to sell, sell, import, and otherwise transfer the Work,
187
+ where such license applies only to those patent claims licensable
188
+ by such Contributor that are necessarily infringed by their
189
+ Contribution(s) alone or by combination of their Contribution(s)
190
+ with the Work to which such Contribution(s) was submitted. If You
191
+ institute patent litigation against any entity (including a
192
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
193
+ or a Contribution incorporated within the Work constitutes direct
194
+ or contributory patent infringement, then any patent licenses
195
+ granted to You under this License for that Work shall terminate
196
+ as of the date such litigation is filed.
197
+
198
+ 4. Redistribution. You may reproduce and distribute copies of the
199
+ Work or Derivative Works thereof in any medium, with or without
200
+ modifications, and in Source or Object form, provided that You
201
+ meet the following conditions:
202
+
203
+ (a) You must give any other recipients of the Work or
204
+ Derivative Works a copy of this License; and
205
+
206
+ (b) You must cause any modified files to carry prominent notices
207
+ stating that You changed the files; and
208
+
209
+ (c) You must retain, in the Source form of any Derivative Works
210
+ that You distribute, all copyright, patent, trademark, and
211
+ attribution notices from the Source form of the Work,
212
+ excluding those notices that do not pertain to any part of
213
+ the Derivative Works; and
214
+
215
+ (d) If the Work includes a "NOTICE" text file as part of its
216
+ distribution, then any Derivative Works that You distribute must
217
+ include a readable copy of the attribution notices contained
218
+ within such NOTICE file, excluding those notices that do not
219
+ pertain to any part of the Derivative Works, in at least one
220
+ of the following places: within a NOTICE text file distributed
221
+ as part of the Derivative Works; within the Source form or
222
+ documentation, if provided along with the Derivative Works; or,
223
+ within a display generated by the Derivative Works, if and
224
+ wherever such third-party notices normally appear. The contents
225
+ of the NOTICE file are for informational purposes only and
226
+ do not modify the License. You may add Your own attribution
227
+ notices within Derivative Works that You distribute, alongside
228
+ or as an addendum to the NOTICE text from the Work, provided
229
+ that such additional attribution notices cannot be construed
230
+ as modifying the License.
231
+
232
+ You may add Your own copyright statement to Your modifications and
233
+ may provide additional or different license terms and conditions
234
+ for use, reproduction, or distribution of Your modifications, or
235
+ for any such Derivative Works as a whole, provided Your use,
236
+ reproduction, and distribution of the Work otherwise complies with
237
+ the conditions stated in this License.
238
+
239
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
240
+ any Contribution intentionally submitted for inclusion in the Work
241
+ by You to the Licensor shall be under the terms and conditions of
242
+ this License, without any additional terms or conditions.
243
+ Notwithstanding the above, nothing herein shall supersede or modify
244
+ the terms of any separate license agreement you may have executed
245
+ with Licensor regarding such Contributions.
246
+
247
+ 6. Trademarks. This License does not grant permission to use the trade
248
+ names, trademarks, service marks, or product names of the Licensor,
249
+ except as required for reasonable and customary use in describing the
250
+ origin of the Work and reproducing the content of the NOTICE file.
251
+
252
+ 7. Disclaimer of Warranty. Unless required by applicable law or
253
+ agreed to in writing, Licensor provides the Work (and each
254
+ Contributor provides its Contributions) on an "AS IS" BASIS,
255
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
256
+ implied, including, without limitation, any warranties or conditions
257
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
258
+ PARTICULAR PURPOSE. You are solely responsible for determining the
259
+ appropriateness of using or redistributing the Work and assume any
260
+ risks associated with Your exercise of permissions under this License.
261
+
262
+ 8. Limitation of Liability. In no event and under no legal theory,
263
+ whether in tort (including negligence), contract, or otherwise,
264
+ unless required by applicable law (such as deliberate and grossly
265
+ negligent acts) or agreed to in writing, shall any Contributor be
266
+ liable to You for damages, including any direct, indirect, special,
267
+ incidental, or consequential damages of any character arising as a
268
+ result of this License or out of the use or inability to use the
269
+ Work (including but not limited to damages for loss of goodwill,
270
+ work stoppage, computer failure or malfunction, or any and all
271
+ other commercial damages or losses), even if such Contributor
272
+ has been advised of the possibility of such damages.
273
+
274
+ 9. Accepting Warranty or Additional Liability. While redistributing
275
+ the Work or Derivative Works thereof, You may choose to offer,
276
+ and charge a fee for, acceptance of support, warranty, indemnity,
277
+ or other liability obligations and/or rights consistent with this
278
+ License. However, in accepting such obligations, You may act only
279
+ on Your own behalf and on Your sole responsibility, not on behalf
280
+ of any other Contributor, and only if You agree to indemnify,
281
+ defend, and hold each Contributor harmless for any liability
282
+ incurred by, or claims asserted against, such Contributor by reason
283
+ of your accepting any such warranty or additional liability.
284
+
285
+ END OF TERMS AND CONDITIONS
286
+
287
+ APPENDIX: How to apply the Apache License to your work.
288
+
289
+ To apply the Apache License to your work, attach the following
290
+ boilerplate notice, with the fields enclosed by brackets "[]"
291
+ replaced with your own identifying information. (Don't include
292
+ the brackets!) The text should be enclosed in the appropriate
293
+ comment syntax for the file format. We also recommend that a
294
+ file or class name and description of purpose be included on the
295
+ same "printed page" as the copyright notice for easier
296
+ identification within third-party archives.
297
+
298
+ Copyright [yyyy] [name of copyright owner]
299
+
300
+ Licensed under the Apache License, Version 2.0 (the "License");
301
+ you may not use this file except in compliance with the License.
302
+ You may obtain a copy of the License at
303
+
304
+ http://www.apache.org/licenses/LICENSE-2.0
305
+
306
+ Unless required by applicable law or agreed to in writing, software
307
+ distributed under the License is distributed on an "AS IS" BASIS,
308
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
309
+ See the License for the specific language governing permissions and
310
+ limitations under the License.
package/README.md CHANGED
@@ -79,7 +79,7 @@ Github:[https://github.com/marsgis/mars3d](https://github.com/marsgis/mars3d)
79
79
 
80
80
  ## 通用项目模版
81
81
  通用项目模版是具备一个GIS项目常见功能的项目模板,只用更换数据及叠加业务即可完成项目交付。
82
- 如果需要更多功能可以考虑购买[付费项目模板](http://mall.marsgis.cn/#/product-list?category=project)。
82
+ 如果需要更多功能可以考虑购买[付费项目模板](http://mars3d.cn/buy.html?product=template)。
83
83
 
84
84
  |说明 |教程 |视频 | Github源码 | 国内Gitee源码 |
85
85
  |----|---- |---- | ----| ---- |
@@ -102,43 +102,43 @@ Github:[https://github.com/marsgis/mars3d](https://github.com/marsgis/mars3d)
102
102
 
103
103
  通用项目-Vue版:[在线体验](http://mars3d.cn/project/vue/)
104
104
 
105
- ![image](https://cdn.marsgis.cn/mall/mars3d-vue-project/1.jpg)
105
+ ![image](https://cdn.marsgis.cn/mars3d-product/template/mars3d-vue-project/1.jpg)
106
106
 
107
107
  通用项目-原生JS版:[在线体验](http://mars3d.cn/project/es5/)
108
108
 
109
- ![image](https://cdn.marsgis.cn/mall/mars3d-es5-project/1.jpg)
109
+ ![image](https://cdn.marsgis.cn/mars3d-product/template/mars3d-es5-project/1.jpg)
110
110
 
111
111
  通用项目-React版:[在线体验](http://mars3d.cn/project/react/)
112
112
 
113
- ![image](https://cdn.marsgis.cn/mall/mars3d-react-project/1.jpg)
113
+ ![image](https://cdn.marsgis.cn/mars3d-product/template/mars3d-react-project/1.jpg)
114
114
 
115
115
  三维地球-APP版:[在线体验](http://mars3d.cn/project/app/)
116
116
 
117
- ![image](http://cdn.marsgis.cn/mall/mars3d-vue-app/1.jpg)
117
+ ![image](http://cdn.marsgis.cn/mars3d-product/template/mars3d-vue-app/1.jpg)
118
118
 
119
119
 
120
120
  工厂园区项目:[在线体验](http://mars3d.cn/project/vue-gcyq/)
121
121
 
122
- ![image](http://cdn.marsgis.cn/mall/mars3d-vue-gcyq/1.jpg)
122
+ ![image](http://cdn.marsgis.cn/mars3d-product/template/mars3d-vue-gcyq/1.jpg)
123
123
 
124
124
  美丽乡村项目:[在线体验](http://mars3d.cn/project/vue-mlxc/)
125
125
 
126
- ![image](https://cdn.marsgis.cn/mall/mars3d-vue-mlxc/1.jpg)
126
+ ![image](https://cdn.marsgis.cn/mars3d-product/template/mars3d-vue-mlxc/1.jpg)
127
127
 
128
128
 
129
129
  图层配置工具:[在线体验](http://studio.mars3d.cn/project-map/offline-layer.html)
130
130
 
131
- ![image](http://cdn.marsgis.cn/mall/mars3d-studio-layer/1.jpg)
131
+ ![image](http://cdn.marsgis.cn/mars3d-product/template/mars3d-studio-layer/1.jpg)
132
132
 
133
133
 
134
134
  图上标绘工具:[在线体验](http://studio.mars3d.cn/project-map/offline-plot.html)
135
135
 
136
- ![image](http://cdn.marsgis.cn/mall/mars3d-studio-plot/1.jpg)
136
+ ![image](http://cdn.marsgis.cn/mars3d-product/template/mars3d-studio-plot/1.jpg)
137
137
 
138
138
 
139
139
  地图场景配置工具:[在线体验](http://studio.mars3d.cn/project-map/offline-map.html)
140
140
 
141
- ![image](http://cdn.marsgis.cn/mall/mars3d-studio-map/1.jpg)
141
+ ![image](http://cdn.marsgis.cn/mars3d-product/template/mars3d-studio-map/1.jpg)
142
142
 
143
143
 
144
144