mars3d-supermap 3.4.16 → 3.4.18
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/dist/mars3d-supermap.js +6 -3
- package/package.json +2 -2
package/dist/mars3d-supermap.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars3D平台插件,结合supermap超图库使用的功能插件 mars3d-supermap
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.4.
|
|
5
|
-
* 编译日期:2022-12-
|
|
4
|
+
* 版本信息:v3.4.18
|
|
5
|
+
* 编译日期:2022-12-19 13:26:31
|
|
6
6
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
7
7
|
* 使用单位:免费公开版 ,2022-06-01
|
|
8
8
|
*/
|
|
@@ -639,7 +639,10 @@
|
|
|
639
639
|
value: function _mountedHook() {
|
|
640
640
|
var _this = this;
|
|
641
641
|
// options参考API文档:http://support.supermap.com.cn:8090/webgl/docs/Documentation/Scene.html
|
|
642
|
-
this._mvtLayer = this._map.scene.addVectorTilesMap(
|
|
642
|
+
this._mvtLayer = this._map.scene.addVectorTilesMap(_objectSpread2({
|
|
643
|
+
viewer: this._map.viewer,
|
|
644
|
+
canvasWidth: 512
|
|
645
|
+
}, this.options));
|
|
643
646
|
this._mvtLayer.readyPromise.then(function (data) {
|
|
644
647
|
// setPaintProperty(layerId, name, value, options)
|
|
645
648
|
// for(var layerId in that.options.style){
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars3d-supermap",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.18",
|
|
4
4
|
"description": "Mars3D平台插件,结合supermap超图库使用的功能插件",
|
|
5
5
|
"main": "dist/mars3d-supermap.js",
|
|
6
6
|
"files": [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
],
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"mars3d": "~3.4.
|
|
11
|
+
"mars3d": "~3.4.18"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
14
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|