* @function MapVRenderer.prototype.destroy * @description 释放资源。
()
| 89 | * @description 释放资源。 |
| 90 | */ |
| 91 | destroy() { |
| 92 | this.unbindEvent(); |
| 93 | this.clearData(); |
| 94 | this.animator && this.animator.stop(); |
| 95 | this.animator = null; |
| 96 | this.canvasLayer = null; |
| 97 | } |
| 98 | /** |
| 99 | * @function MapVRenderer.prototype.unbindEvent |
| 100 | * @description 移除鼠标事件。 |
no test coverage detected