@antv/l7-map 2.20.8 → 2.20.9
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/earthmap.js +7 -0
- package/es/map.js +7 -0
- package/lib/earthmap.js +7 -0
- package/lib/map.js +7 -0
- package/package.json +3 -3
package/es/earthmap.js
CHANGED
|
@@ -279,6 +279,13 @@ export var EarthMap = /*#__PURE__*/function (_Camera) {
|
|
|
279
279
|
this.frame = null;
|
|
280
280
|
}
|
|
281
281
|
this.renderTaskQueue.clear();
|
|
282
|
+
//销毁事件
|
|
283
|
+
this.handlers.destroy();
|
|
284
|
+
if (typeof window !== 'undefined') {
|
|
285
|
+
window.removeEventListener('online', this.onWindowOnline, false);
|
|
286
|
+
window.removeEventListener('resize', this.onWindowResize, false);
|
|
287
|
+
window.removeEventListener('orientationchange', this.onWindowResize, false);
|
|
288
|
+
}
|
|
282
289
|
}
|
|
283
290
|
}, {
|
|
284
291
|
key: "requestRenderFrame",
|
package/es/map.js
CHANGED
|
@@ -321,6 +321,13 @@ export var Map = /*#__PURE__*/function (_Camera) {
|
|
|
321
321
|
this.frame = null;
|
|
322
322
|
}
|
|
323
323
|
this.renderTaskQueue.clear();
|
|
324
|
+
//销毁事件
|
|
325
|
+
this.handlers.destroy();
|
|
326
|
+
if (typeof window !== 'undefined') {
|
|
327
|
+
window.removeEventListener('online', this.onWindowOnline, false);
|
|
328
|
+
window.removeEventListener('resize', this.onWindowResize, false);
|
|
329
|
+
window.removeEventListener('orientationchange', this.onWindowResize, false);
|
|
330
|
+
}
|
|
324
331
|
}
|
|
325
332
|
}, {
|
|
326
333
|
key: "requestRenderFrame",
|
package/lib/earthmap.js
CHANGED
|
@@ -284,6 +284,13 @@ var EarthMap = exports.EarthMap = /*#__PURE__*/function (_Camera) {
|
|
|
284
284
|
this.frame = null;
|
|
285
285
|
}
|
|
286
286
|
this.renderTaskQueue.clear();
|
|
287
|
+
//销毁事件
|
|
288
|
+
this.handlers.destroy();
|
|
289
|
+
if (typeof window !== 'undefined') {
|
|
290
|
+
window.removeEventListener('online', this.onWindowOnline, false);
|
|
291
|
+
window.removeEventListener('resize', this.onWindowResize, false);
|
|
292
|
+
window.removeEventListener('orientationchange', this.onWindowResize, false);
|
|
293
|
+
}
|
|
287
294
|
}
|
|
288
295
|
}, {
|
|
289
296
|
key: "requestRenderFrame",
|
package/lib/map.js
CHANGED
|
@@ -326,6 +326,13 @@ var Map = exports.Map = /*#__PURE__*/function (_Camera) {
|
|
|
326
326
|
this.frame = null;
|
|
327
327
|
}
|
|
328
328
|
this.renderTaskQueue.clear();
|
|
329
|
+
//销毁事件
|
|
330
|
+
this.handlers.destroy();
|
|
331
|
+
if (typeof window !== 'undefined') {
|
|
332
|
+
window.removeEventListener('online', this.onWindowOnline, false);
|
|
333
|
+
window.removeEventListener('resize', this.onWindowResize, false);
|
|
334
|
+
window.removeEventListener('orientationchange', this.onWindowResize, false);
|
|
335
|
+
}
|
|
329
336
|
}
|
|
330
337
|
}, {
|
|
331
338
|
key: "requestRenderFrame",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antv/l7-map",
|
|
3
|
-
"version": "2.20.
|
|
3
|
+
"version": "2.20.9",
|
|
4
4
|
"description": "l7 map",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "thinkinggis <lzx199065@gmail.com>",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://github.com/antvis/L7#readme",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@antv/l7-utils": "2.20.
|
|
43
|
+
"@antv/l7-utils": "2.20.9",
|
|
44
44
|
"@babel/runtime": "^7.7.7",
|
|
45
45
|
"@mapbox/point-geometry": "^0.1.0",
|
|
46
46
|
"@mapbox/unitbezier": "^0.0.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"gl-matrix": "^3.1.0",
|
|
49
49
|
"lodash-es": "^4.17.21"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "09352d485c5be1478d063e37a7266edecefecb9a"
|
|
52
52
|
}
|