mars3d-supermap 3.5.18 → 3.8.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
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars3D平台插件,结合supermap超图库使用的功能插件 mars3d-supermap
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.
|
|
5
|
-
* 编译日期:
|
|
4
|
+
* 版本信息:v3.8.8
|
|
5
|
+
* 编译日期:2024-11-26 21:04
|
|
6
6
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
7
|
-
* 使用单位:免费公开版 ,
|
|
7
|
+
* 使用单位:免费公开版 ,2024-08-01
|
|
8
8
|
*/
|
|
9
9
|
(function (global, factory) {
|
|
10
10
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mars3d || require('mars3d'))) :
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
* @param {number} options.position.alt 获取或设置底部高程。(单位:米)
|
|
49
49
|
*
|
|
50
50
|
* @param {string|number} [options.id = createGuid()] 图层id标识
|
|
51
|
-
* @param {string|number} [options.pid
|
|
52
|
-
* @param {string} [options.name
|
|
51
|
+
* @param {string|number} [options.pid] 图层父级的id,一般图层管理中使用
|
|
52
|
+
* @param {string} [options.name] 图层名称
|
|
53
53
|
* @param {boolean} [options.show = true] 图层是否显示
|
|
54
54
|
* @param {BaseClass|boolean} [options.eventParent] 指定的事件冒泡对象,默认为map对象,false时不冒泡
|
|
55
55
|
* @param {object} [options.center] 图层自定义定位视角 {@link Map#setCameraView}
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
}
|
|
154
154
|
this._showHook(this.show);
|
|
155
155
|
if (this.options.flyTo) {
|
|
156
|
-
this.
|
|
156
|
+
this.flyTo();
|
|
157
157
|
} else if (this.options.flyTo === false) {
|
|
158
158
|
this._map.setCameraView(centerOld, {
|
|
159
159
|
duration: 0
|
|
@@ -326,8 +326,8 @@
|
|
|
326
326
|
* @param {object} [options.customTags] 允许替换网址模板中的自定义关键字。该对象必须具有字符串作为键,并且必须具有值。
|
|
327
327
|
*
|
|
328
328
|
* @param {string|number} [options.id = createGuid()] 图层id标识
|
|
329
|
-
* @param {string|number} [options.pid
|
|
330
|
-
* @param {string} [options.name
|
|
329
|
+
* @param {string|number} [options.pid] 图层父级的id,一般图层管理中使用
|
|
330
|
+
* @param {string} [options.name] 图层名称
|
|
331
331
|
* @param {boolean} [options.show = true] 图层是否显示
|
|
332
332
|
* @param {BaseClass|boolean} [options.eventParent] 指定的事件冒泡对象,默认为map对象,false时不冒泡
|
|
333
333
|
* @param {object} [options.center] 图层自定义定位视角 {@link Map#setCameraView}
|
|
@@ -359,7 +359,6 @@
|
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
|
-
|
|
363
362
|
async function createImageryProvider(options) {
|
|
364
363
|
options = mars3d__namespace.LayerUtil.converOptions(options);
|
|
365
364
|
if (options.url instanceof Cesium$1.Resource) {
|
|
@@ -404,8 +403,8 @@
|
|
|
404
403
|
*
|
|
405
404
|
*
|
|
406
405
|
* @param {string|number} [options.id = createGuid()] 图层id标识
|
|
407
|
-
* @param {string|number} [options.pid
|
|
408
|
-
* @param {string} [options.name
|
|
406
|
+
* @param {string|number} [options.pid] 图层父级的id,一般图层管理中使用
|
|
407
|
+
* @param {string} [options.name] 图层名称
|
|
409
408
|
* @param {boolean} [options.show = true] 图层是否显示
|
|
410
409
|
* @param {BaseClass|boolean} [options.eventParent] 指定的事件冒泡对象,默认为map对象,false时不冒泡
|
|
411
410
|
* @param {object} [options.center] 图层自定义定位视角 {@link Map#setCameraView}
|
package/package.json
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars3d-supermap",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.8",
|
|
4
4
|
"description": "Mars3D平台插件,结合supermap超图库使用的功能插件",
|
|
5
|
-
"main": "
|
|
6
|
-
"files": [
|
|
7
|
-
"dist"
|
|
8
|
-
],
|
|
5
|
+
"main": "./mars3d-supermap.js",
|
|
9
6
|
"peerDependencies": {},
|
|
10
7
|
"devDependencies": {
|
|
11
|
-
"mars3d": "~3.
|
|
8
|
+
"mars3d": "~3.8.8"
|
|
12
9
|
},
|
|
13
10
|
"scripts": {
|
|
14
11
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|