* @function SuperMap.Layer.MapVLayer.prototype.destroy * @description 销毁此图层,销毁后此图层的所有属性为 null。 * @override
()
| 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 |