()
| 730 | |
| 731 | // a method that makes the <g> element lose focus, or invoking the user-defined blur event |
| 732 | blur() { |
| 733 | if ( |
| 734 | document.activeElement.shadowRoot?.activeElement === this._groupEl || |
| 735 | document.activeElement.shadowRoot?.activeElement.parentNode === |
| 736 | this._groupEl |
| 737 | ) { |
| 738 | this._groupEl.blur(); |
| 739 | // set focus to the map container |
| 740 | this.getMapEl()._map.getContainer().focus(); |
| 741 | } |
| 742 | } |
| 743 | |
| 744 | // a method that can the viewport to be centred on the feature's extent |
| 745 | zoomTo() { |
no test coverage detected