* hideViewer * Hide the photo viewer. If the viewer was showing a photo, deselect the photo.
()
| 676 | * Hide the photo viewer. If the viewer was showing a photo, deselect the photo. |
| 677 | */ |
| 678 | hideViewer() { |
| 679 | for (const layerID of this.photoLayerIDs) { |
| 680 | if (layerID === this._currPhotoLayerID) { |
| 681 | this.selectPhoto(); // deselect |
| 682 | } |
| 683 | const service = this.context.services[layerID]; |
| 684 | service?.hideViewer(); |
| 685 | } |
| 686 | } |
| 687 | |
| 688 | |
| 689 | /** |
no test coverage detected