(layerId)
| 121 | this.style.moveLayer(layerId, beforeId); |
| 122 | } |
| 123 | removeLayer(layerId) { |
| 124 | const layer = this.getLayer(layerId); |
| 125 | if (layer.type === 'custom' && layer.implementation.onRemove) { |
| 126 | layer.implementation.onRemove(this); |
| 127 | } |
| 128 | this.style.removeLayer(layerId); |
| 129 | } |
| 130 | getLayer(layerId) { |
| 131 | return this.style.getLayer(layerId); |
| 132 | } |
nothing calls this directly
no test coverage detected