MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / destroy

Method destroy

src/classic/overlay/MapVLayer.js:90–104  ·  view source on GitHub ↗

* @function SuperMap.Layer.MapVLayer.prototype.destroy * @description 销毁此图层,销毁后此图层的所有属性为 null。 * @override

()

Source from the content-addressed store, hash-verified

88 * @override
89 */
90 destroy() {
91 if (this.renderer && this.renderer.animator) {
92 this.renderer.animator.stop();
93 this.renderer.animator = null;
94 }
95 this.dataSet = null;
96 this.options = null;
97 this.renderer = null;
98 this.supported = null;
99 this.canvas = null;
100 this.canvasContext = null;
101 this.maxWidth = null;
102 this.maxHeight = null;
103 super.destroy();
104 }
105
106 /**
107 * @function SuperMap.Layer.MapVLayer.prototype.addData

Callers

nothing calls this directly

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected