mars2d-esri 3.4.1 → 3.4.2

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 (2) hide show
  1. package/mars2d-esri.js +6 -6
  2. package/package.json +2 -2
package/mars2d-esri.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Mars2D平台插件,ArcGIS Server功能支持插件 mars2d-esri
3
3
  *
4
- * 版本信息:v3.4.1
5
- * 编译日期:2026-03-17 20:19
4
+ * 版本信息:v3.4.2
5
+ * 编译日期:2026-06-03 19:16
6
6
  * 版权所有:Copyright by http://mars2d.cn
7
7
  * 使用单位:免费公开版 ,2025-01-23
8
8
  */
@@ -5332,8 +5332,8 @@
5332
5332
  featureLayer: featureLayer
5333
5333
  };
5334
5334
 
5335
- const version = "3.4.1";
5336
- const buildTime = "2026-03-17 20:18";
5335
+ const version = "3.4.2";
5336
+ const buildTime = "2026-06-03 19:16";
5337
5337
 
5338
5338
  /**
5339
5339
  * @typedef {Object} ArcGisImageLayer.EventType
@@ -6506,9 +6506,9 @@
6506
6506
  this.addTo(this._map);
6507
6507
  }
6508
6508
  } else {
6509
- const map = this._map;
6509
+ this._map;
6510
6510
  this.remove();
6511
- this._map = map;
6511
+ // this._map = map 这行代码会导致勾选了图层之后立刻取消勾选图层,此时layer.show是false,但是图层还是在地图上
6512
6512
  }
6513
6513
  }
6514
6514
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "mars2d-esri",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "description": "Mars2D平台插件,ArcGIS Server功能支持插件",
5
5
  "main": "./mars2d-esri.js",
6
6
  "dependencies": {},
7
7
  "devDependencies": {
8
- "mars2d": "~3.4.1"
8
+ "mars2d": "~3.4.2"
9
9
  },
10
10
  "scripts": {
11
11
  "lint": "eslint ./src/**/*.{js,ts} --fix"