* @function MapVRenderer.prototype.destroy * @description 释放资源。
()
| 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 | /** |
nothing calls this directly
no test coverage detected