MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / destroy

Method destroy

src/common/overlay/mapv/MapvRenderer.js:286–291  ·  view source on GitHub ↗

* @function MapVRenderer.prototype.destroy * @description 释放资源。

()

Source from the content-addressed store, hash-verified

284 * @description 释放资源。
285 */
286 destroy() {
287 this.targetElement.removeChild(this.canvas);
288 this.clearData();
289 this.animator && this.animator.stop();
290 this.animator = null;
291 }
292
293
294 /**

Callers

nothing calls this directly

Calls 3

clearDataMethod · 0.95
removeChildMethod · 0.80
stopMethod · 0.45

Tested by

no test coverage detected