* @function FGBLayer.prototype.onRemove
()
| 110 | * @function FGBLayer.prototype.onRemove |
| 111 | */ |
| 112 | onRemove() { |
| 113 | if (this.map.getLayer(this.layerId)) { |
| 114 | this.map.removeLayer(this.layerId); |
| 115 | } |
| 116 | this.map.off('moveend', this._updateFeaturesFn); |
| 117 | } |
| 118 | /** |
| 119 | * @function FGBLayer.prototype.on |
| 120 | */ |
nothing calls this directly
no test coverage detected