@antv/l7-component 2.13.9 → 2.14.0

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.
@@ -235,12 +235,8 @@ var LayerPopup = /*#__PURE__*/function (_Popup) {
235
235
  }, {
236
236
  key: "onSourceUpdate",
237
237
  value: function onSourceUpdate(layer) {
238
- var _this$displayFeatureI;
239
-
240
- if (((_this$displayFeatureI = this.displayFeatureInfo) === null || _this$displayFeatureI === void 0 ? void 0 : _this$displayFeatureI.layer) === layer) {
241
- this.hide();
242
- this.displayFeatureInfo = undefined;
243
- }
238
+ this.hide();
239
+ this.displayFeatureInfo = undefined;
244
240
  }
245
241
  /**
246
242
  * 通过当前图层和对应选中的元素获取气泡展示的 HTML 内容
@@ -246,12 +246,8 @@ var LayerPopup = /*#__PURE__*/function (_Popup) {
246
246
  }, {
247
247
  key: "onSourceUpdate",
248
248
  value: function onSourceUpdate(layer) {
249
- var _this$displayFeatureI;
250
-
251
- if (((_this$displayFeatureI = this.displayFeatureInfo) === null || _this$displayFeatureI === void 0 ? void 0 : _this$displayFeatureI.layer) === layer) {
252
- this.hide();
253
- this.displayFeatureInfo = undefined;
254
- }
249
+ this.hide();
250
+ this.displayFeatureInfo = undefined;
255
251
  }
256
252
  /**
257
253
  * 通过当前图层和对应选中的元素获取气泡展示的 HTML 内容
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-component",
3
- "version": "2.13.9",
3
+ "version": "2.14.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -26,8 +26,8 @@
26
26
  "author": "lzxue",
27
27
  "license": "ISC",
28
28
  "dependencies": {
29
- "@antv/l7-core": "2.13.9",
30
- "@antv/l7-utils": "2.13.9",
29
+ "@antv/l7-core": "2.14.0",
30
+ "@antv/l7-utils": "2.14.0",
31
31
  "@babel/runtime": "^7.7.7",
32
32
  "eventemitter3": "^4.0.0",
33
33
  "inversify": "^5.0.1",
@@ -36,12 +36,12 @@
36
36
  "supercluster": "^7.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@antv/l7-layers": "2.13.9",
40
- "@antv/l7-test-utils": "2.13.9",
39
+ "@antv/l7-layers": "2.14.0",
40
+ "@antv/l7-test-utils": "2.14.0",
41
41
  "gcoord": "^0.3.2",
42
42
  "less": "^4.1.3"
43
43
  },
44
- "gitHead": "be693790ae71475ad104c301aaa119ab0a059bd5",
44
+ "gitHead": "752b36c937ee41fd2bea2ef0248f4fd86d38b834",
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  }