* @function LevelRenderer.Storage.prototype.delFromMap * @description 从 map 中删除指定图形。 * * @param {string} elId - 图形id。 * @return {LevelRenderer.Storage} this。
(elId)
| 441 | * @return {LevelRenderer.Storage} this。 |
| 442 | */ |
| 443 | delFromMap(elId) { |
| 444 | var el = this._elements[elId]; |
| 445 | if (el) { |
| 446 | delete this._elements[elId]; |
| 447 | |
| 448 | if (el instanceof Group) { |
| 449 | el._storage = null; |
| 450 | } |
| 451 | } |
| 452 | |
| 453 | return this; |
| 454 | } |
| 455 | |
| 456 | /** |
| 457 | * @function LevelRenderer.Storage.prototype.dispose |
no outgoing calls
no test coverage detected