@antv/l7-component 2.14.6 → 2.15.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.
package/es/marker.js CHANGED
@@ -90,10 +90,9 @@ var Marker = /*#__PURE__*/function (_EventEmitter) {
90
90
  if (this.mapsService) {
91
91
  this.mapsService.off('click', this.onMapClick);
92
92
  this.mapsService.off('move', this.update);
93
- this.mapsService.off('moveend', this.update); // this.mapsService.off('mousedown', this.addDragHandler);
94
- // this.mapsService.off('touchstart', this.addDragHandler);
95
- // this.mapsService.off('mouseup', this.onUp);
96
- // this.mapsService.off('touchend', this.onUp);
93
+ this.mapsService.off('moveend', this.update);
94
+ this.mapsService.off('camerachange', this.update);
95
+ this.mapsService.off('viewchange', this.update);
97
96
  }
98
97
 
99
98
  this.unRegisterMarkerEvent();
package/lib/marker.js CHANGED
@@ -104,10 +104,9 @@ var Marker = /*#__PURE__*/function (_EventEmitter) {
104
104
  if (this.mapsService) {
105
105
  this.mapsService.off('click', this.onMapClick);
106
106
  this.mapsService.off('move', this.update);
107
- this.mapsService.off('moveend', this.update); // this.mapsService.off('mousedown', this.addDragHandler);
108
- // this.mapsService.off('touchstart', this.addDragHandler);
109
- // this.mapsService.off('mouseup', this.onUp);
110
- // this.mapsService.off('touchend', this.onUp);
107
+ this.mapsService.off('moveend', this.update);
108
+ this.mapsService.off('camerachange', this.update);
109
+ this.mapsService.off('viewchange', this.update);
111
110
  }
112
111
 
113
112
  this.unRegisterMarkerEvent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/l7-component",
3
- "version": "2.14.6",
3
+ "version": "2.15.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.14.6",
30
- "@antv/l7-utils": "2.14.6",
29
+ "@antv/l7-core": "2.15.0",
30
+ "@antv/l7-utils": "2.15.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.14.6",
40
- "@antv/l7-test-utils": "2.14.6",
39
+ "@antv/l7-layers": "2.15.0",
40
+ "@antv/l7-test-utils": "2.15.0",
41
41
  "gcoord": "^0.3.2",
42
42
  "less": "^4.1.3"
43
43
  },
44
- "gitHead": "5f8823a2b58da0d8bed10a23e21fc903458c1f77",
44
+ "gitHead": "cc53366f3fc0867f2d4ca9b4b321b8792f8bb126",
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  }