* @function Graph.prototype.clear * @description 清除的内容包括数据(features)、专题要素、缓存。
()
| 425 | * @description 清除的内容包括数据(features)、专题要素、缓存。 |
| 426 | */ |
| 427 | clear() { |
| 428 | if (this.renderer) { |
| 429 | this.renderer.clearAll(); |
| 430 | this.renderer.refresh(); |
| 431 | } |
| 432 | this.removeAllFeatures(); |
| 433 | this.clearCache(); |
| 434 | } |
| 435 | |
| 436 | canvasFunctionInternal_(extent, resolution, pixelRatio, size, projection) { // eslint-disable-line no-unused-vars |
| 437 | return Theme.prototype.canvasFunctionInternal_.apply(this, arguments); |
no test coverage detected