()
| 73 | } |
| 74 | |
| 75 | get extent() { |
| 76 | // calculate the bounds of all content, return it. |
| 77 | if (this._layer) { |
| 78 | this._layer._calculateBounds(); |
| 79 | } |
| 80 | return this._layer |
| 81 | ? Object.assign( |
| 82 | Util._convertAndFormatPCRS( |
| 83 | this._layer.bounds, |
| 84 | M[this.getProjection()], |
| 85 | this.getProjection() |
| 86 | ), |
| 87 | { zoom: this._layer.zoomBounds } |
| 88 | ) |
| 89 | : null; |
| 90 | } |
| 91 | attributeChangedCallback(name, oldValue, newValue) { |
| 92 | if (this.#hasConnected /* jshint ignore:line */) { |
| 93 | switch (name) { |
nothing calls this directly
no test coverage detected