Skip to content

Commit 8a3e843

Browse files
committed
增加maboxgl 土地利用例子 fix #issue24 echartsLayer移除后zoom事件失效 优化echartslayer的内存占用
1 parent ffdf406 commit 8a3e843

File tree

7 files changed

+154
-41
lines changed

7 files changed

+154
-41
lines changed

dist/leaflet/iclient9-leaflet-es6.js

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,34 @@
4444
/******/ // define getter function for harmony exports
4545
/******/ __webpack_require__.d = function(exports, name, getter) {
4646
/******/ if(!__webpack_require__.o(exports, name)) {
47-
/******/ Object.defineProperty(exports, name, {
48-
/******/ configurable: false,
49-
/******/ enumerable: true,
50-
/******/ get: getter
51-
/******/ });
47+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
5248
/******/ }
5349
/******/ };
5450
/******/
5551
/******/ // define __esModule on exports
5652
/******/ __webpack_require__.r = function(exports) {
53+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
54+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
55+
/******/ }
5756
/******/ Object.defineProperty(exports, '__esModule', { value: true });
5857
/******/ };
5958
/******/
59+
/******/ // create a fake namespace object
60+
/******/ // mode & 1: value is a module id, require it
61+
/******/ // mode & 2: merge all properties of value into the ns
62+
/******/ // mode & 4: return value when already ns object
63+
/******/ // mode & 8|1: behave like require
64+
/******/ __webpack_require__.t = function(value, mode) {
65+
/******/ if(mode & 1) value = __webpack_require__(value);
66+
/******/ if(mode & 8) return value;
67+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
68+
/******/ var ns = Object.create(null);
69+
/******/ __webpack_require__.r(ns);
70+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
71+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
72+
/******/ return ns;
73+
/******/ };
74+
/******/
6075
/******/ // getDefaultExport function for compatibility with non-harmony modules
6176
/******/ __webpack_require__.n = function(module) {
6277
/******/ var getter = module && module.__esModule ?
@@ -71837,19 +71852,19 @@ const EchartsLayer = external_L_default.a.Layer.extend({
7183771852
me._enableEchartsContainer();
7183871853
}
7183971854

71840-
if (this._oldMoveHandler) {
71841-
leafletMap.off(me.options.loadWhileAnimating ? 'move' : 'moveend', this._oldMoveHandler);
71855+
if (me._oldMoveHandler) {
71856+
leafletMap.off(me.options.loadWhileAnimating ? 'move' : 'moveend', me._oldMoveHandler);
7184271857

7184371858
}
71844-
if (this._oldZoomEndHandler) {
71845-
leafletMap.off('zoomend', this._oldZoomEndHandler);
71859+
if (me._oldZoomEndHandler) {
71860+
leafletMap.off('zoomend', me._oldZoomEndHandler);
7184671861

7184771862
}
7184871863

7184971864
leafletMap.on(me.options.loadWhileAnimating ? 'move' : 'moveend', moveHandler);
7185071865
leafletMap.on('zoomend', zoomEndHandler);
71851-
this._oldMoveHandler = moveHandler;
71852-
this._oldZoomEndHandler = zoomEndHandler;
71866+
me._oldMoveHandler = moveHandler;
71867+
me._oldZoomEndHandler = zoomEndHandler;
7185371868
rendering = false;
7185471869
}
7185571870
});
@@ -71858,11 +71873,24 @@ const EchartsLayer = external_L_default.a.Layer.extend({
7185871873

7185971874
onRemove: function () {
7186071875
// 销毁echarts实例
71876+
this._ec.clear();
7186171877
this._ec.dispose();
71878+
delete this._ec;
7186271879
external_L_default.a.DomUtil.remove(this._echartsContainer);
71863-
this._map.off("zoomend", this._oldZoomEndHandler);
71864-
this._map.off(this.options.loadWhileAnimating ? 'move' : 'moveend', this._oldMoveHandler);
71865-
this._map.off('resize', this._resizeHandler);
71880+
71881+
if (this._oldZoomEndHandler) {
71882+
this._map.off("zoomend", this._oldZoomEndHandler);
71883+
this._oldZoomEndHandler = null;
71884+
}
71885+
if (this._oldMoveHandler) {
71886+
this._map.off(this.options.loadWhileAnimating ? 'move' : 'moveend', this._oldMoveHandler);
71887+
this._oldMoveHandler = null;
71888+
}
71889+
if (this._resizeHandler) {
71890+
this._map.off('resize', this._resizeHandler);
71891+
this._resizeHandler = null;
71892+
}
71893+
delete this._map;
7186671894
},
7186771895

7186871896
_initEchartsContainer: function () {
@@ -83857,7 +83885,7 @@ module.exports = function(proj4){
8385783885
/* 74 */
8385883886
/***/ (function(module) {
8385983887

83860-
module.exports = {"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_spec":"proj4@2.3.15","_where":"G:\\iClient\\iClient-JavaScript","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"bundleDependencies":false,"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"deprecated":false,"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"};
83888+
module.exports = {"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://localhost:4873/proj4/-/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_spec":"proj4@2.3.15","_where":"E:\\2018\\git\\iClient-JavaScript","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"bundleDependencies":false,"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"deprecated":false,"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"};
8386183889

8386283890
/***/ }),
8386383891
/* 75 */

dist/leaflet/iclient9-leaflet-es6.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/leaflet/iclient9-leaflet.js

Lines changed: 43 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,34 @@
4444
/******/ // define getter function for harmony exports
4545
/******/ __webpack_require__.d = function(exports, name, getter) {
4646
/******/ if(!__webpack_require__.o(exports, name)) {
47-
/******/ Object.defineProperty(exports, name, {
48-
/******/ configurable: false,
49-
/******/ enumerable: true,
50-
/******/ get: getter
51-
/******/ });
47+
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
5248
/******/ }
5349
/******/ };
5450
/******/
5551
/******/ // define __esModule on exports
5652
/******/ __webpack_require__.r = function(exports) {
53+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
54+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
55+
/******/ }
5756
/******/ Object.defineProperty(exports, '__esModule', { value: true });
5857
/******/ };
5958
/******/
59+
/******/ // create a fake namespace object
60+
/******/ // mode & 1: value is a module id, require it
61+
/******/ // mode & 2: merge all properties of value into the ns
62+
/******/ // mode & 4: return value when already ns object
63+
/******/ // mode & 8|1: behave like require
64+
/******/ __webpack_require__.t = function(value, mode) {
65+
/******/ if(mode & 1) value = __webpack_require__(value);
66+
/******/ if(mode & 8) return value;
67+
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
68+
/******/ var ns = Object.create(null);
69+
/******/ __webpack_require__.r(ns);
70+
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
71+
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
72+
/******/ return ns;
73+
/******/ };
74+
/******/
6075
/******/ // getDefaultExport function for compatibility with non-harmony modules
6176
/******/ __webpack_require__.n = function(module) {
6277
/******/ var getter = module && module.__esModule ?
@@ -67714,17 +67729,17 @@ var EchartsLayer = exports.EchartsLayer = _leaflet2["default"].Layer.extend({
6771467729
me._enableEchartsContainer();
6771567730
}
6771667731

67717-
if (this._oldMoveHandler) {
67718-
leafletMap.off(me.options.loadWhileAnimating ? 'move' : 'moveend', this._oldMoveHandler);
67732+
if (me._oldMoveHandler) {
67733+
leafletMap.off(me.options.loadWhileAnimating ? 'move' : 'moveend', me._oldMoveHandler);
6771967734
}
67720-
if (this._oldZoomEndHandler) {
67721-
leafletMap.off('zoomend', this._oldZoomEndHandler);
67735+
if (me._oldZoomEndHandler) {
67736+
leafletMap.off('zoomend', me._oldZoomEndHandler);
6772267737
}
6772367738

6772467739
leafletMap.on(me.options.loadWhileAnimating ? 'move' : 'moveend', moveHandler);
6772567740
leafletMap.on('zoomend', zoomEndHandler);
67726-
this._oldMoveHandler = moveHandler;
67727-
this._oldZoomEndHandler = zoomEndHandler;
67741+
me._oldMoveHandler = moveHandler;
67742+
me._oldZoomEndHandler = zoomEndHandler;
6772867743
rendering = false;
6772967744
}
6773067745
});
@@ -67733,11 +67748,24 @@ var EchartsLayer = exports.EchartsLayer = _leaflet2["default"].Layer.extend({
6773367748

6773467749
onRemove: function onRemove() {
6773567750
// 销毁echarts实例
67751+
this._ec.clear();
6773667752
this._ec.dispose();
67753+
delete this._ec;
6773767754
_leaflet2["default"].DomUtil.remove(this._echartsContainer);
67738-
this._map.off("zoomend", this._oldZoomEndHandler);
67739-
this._map.off(this.options.loadWhileAnimating ? 'move' : 'moveend', this._oldMoveHandler);
67740-
this._map.off('resize', this._resizeHandler);
67755+
67756+
if (this._oldZoomEndHandler) {
67757+
this._map.off("zoomend", this._oldZoomEndHandler);
67758+
this._oldZoomEndHandler = null;
67759+
}
67760+
if (this._oldMoveHandler) {
67761+
this._map.off(this.options.loadWhileAnimating ? 'move' : 'moveend', this._oldMoveHandler);
67762+
this._oldMoveHandler = null;
67763+
}
67764+
if (this._resizeHandler) {
67765+
this._map.off('resize', this._resizeHandler);
67766+
this._resizeHandler = null;
67767+
}
67768+
delete this._map;
6774167769
},
6774267770

6774367771
_initEchartsContainer: function _initEchartsContainer() {
@@ -73326,7 +73354,7 @@ module.exports = function (proj4) {
7332673354
/* 394 */
7332773355
/***/ (function(module) {
7332873356

73329-
module.exports = {"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_spec":"proj4@2.3.15","_where":"G:\\iClient\\iClient-JavaScript","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"bundleDependencies":false,"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"deprecated":false,"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"};
73357+
module.exports = {"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://localhost:4873/proj4/-/proj4-2.3.15.tgz","_shasum":"5ad06e8bca30be0ffa389a49e4565f51f06d089e","_spec":"proj4@2.3.15","_where":"E:\\2018\\git\\iClient-JavaScript","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"bundleDependencies":false,"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"deprecated":false,"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"};
7333073358

7333173359
/***/ }),
7333273360
/* 395 */

dist/leaflet/iclient9-leaflet.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Loading
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<html>
2+
3+
<head>
4+
<meta charset='utf-8' />
5+
<title data-i18n="resources.title_mvtVectorLayer_mapboxStyle_landuse"></title>
6+
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
7+
<script type="text/javascript" src="../js/include-web.js"></script>
8+
<script type="text/javascript" exclude='iclient9-mapboxgl' src="../../dist/mapboxgl/include-mapboxgl.js"></script>
9+
<style>
10+
body {
11+
margin: 0;
12+
padding: 0;
13+
}
14+
15+
#map {
16+
position: absolute;
17+
top: 0;
18+
bottom: 0;
19+
width: 100%;
20+
}
21+
</style>
22+
</head>
23+
24+
<body>
25+
<div id='map'></div>
26+
<script type="text/javascript">
27+
var host = window.isLocal ? window.server : "http://54.223.164.155:8090";
28+
29+
var map = new mapboxgl.Map({
30+
container: 'map', // container id
31+
style: host +
32+
'/iserver/services/map-mvt-landuse2/rest/maps/landuse/tileFeature/vectorstyles.json?type=MapBox_GL&styleonly=true',
33+
center: [108.913171372641, 23.8262192695701], // starting position
34+
zoom: 13,
35+
minZoom: 11,
36+
maxZoom: 15,
37+
attributionControl: false
38+
});
39+
map.addControl(new mapboxgl.NavigationControl(), 'top-left');
40+
</script>
41+
42+
</body>
43+
44+
</html>

src/leaflet/overlay/EChartsLayer.js

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -154,19 +154,19 @@ export const EchartsLayer = L.Layer.extend({
154154
me._enableEchartsContainer();
155155
}
156156

157-
if (this._oldMoveHandler) {
158-
leafletMap.off(me.options.loadWhileAnimating ? 'move' : 'moveend', this._oldMoveHandler);
157+
if (me._oldMoveHandler) {
158+
leafletMap.off(me.options.loadWhileAnimating ? 'move' : 'moveend', me._oldMoveHandler);
159159

160160
}
161-
if (this._oldZoomEndHandler) {
162-
leafletMap.off('zoomend', this._oldZoomEndHandler);
161+
if (me._oldZoomEndHandler) {
162+
leafletMap.off('zoomend', me._oldZoomEndHandler);
163163

164164
}
165165

166166
leafletMap.on(me.options.loadWhileAnimating ? 'move' : 'moveend', moveHandler);
167167
leafletMap.on('zoomend', zoomEndHandler);
168-
this._oldMoveHandler = moveHandler;
169-
this._oldZoomEndHandler = zoomEndHandler;
168+
me._oldMoveHandler = moveHandler;
169+
me._oldZoomEndHandler = zoomEndHandler;
170170
rendering = false;
171171
}
172172
});
@@ -175,11 +175,24 @@ export const EchartsLayer = L.Layer.extend({
175175

176176
onRemove: function () {
177177
// 销毁echarts实例
178+
this._ec.clear();
178179
this._ec.dispose();
180+
delete this._ec;
179181
L.DomUtil.remove(this._echartsContainer);
180-
this._map.off("zoomend", this._oldZoomEndHandler);
181-
this._map.off(this.options.loadWhileAnimating ? 'move' : 'moveend', this._oldMoveHandler);
182-
this._map.off('resize', this._resizeHandler);
182+
183+
if (this._oldZoomEndHandler) {
184+
this._map.off("zoomend", this._oldZoomEndHandler);
185+
this._oldZoomEndHandler = null;
186+
}
187+
if (this._oldMoveHandler) {
188+
this._map.off(this.options.loadWhileAnimating ? 'move' : 'moveend', this._oldMoveHandler);
189+
this._oldMoveHandler = null;
190+
}
191+
if (this._resizeHandler) {
192+
this._map.off('resize', this._resizeHandler);
193+
this._resizeHandler = null;
194+
}
195+
delete this._map;
183196
},
184197

185198
_initEchartsContainer: function () {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy