Hiển thị text overlay trên màn hình

This commit is contained in:
2026-06-12 20:35:39 +07:00
parent 00bde46c5e
commit 6a0422aa00
3 changed files with 139 additions and 3 deletions
+5
View File
@@ -144,6 +144,11 @@ function initPanoramaViewer(imageUrl, hotspots = [], ownerId = null, initialPitc
function closeViewer() {
document.getElementById('viewer-container').style.display = 'none';
// Ẩn overlay thông tin cảnh nếu có
if (typeof window.hideViewerInfoOverlay === 'function') {
window.hideViewerInfoOverlay();
}
// Xóa trạng thái Scene đang hoạt động khi đóng viewer
localStorage.removeItem('activeSceneId');
localStorage.removeItem('activeScenePrivacy');