--- title: "Miniatouring M22" description: "Kleine Wohnwagen für Outdoor-Enthusiasten Der Miniatouring® M22 – Abenteuer mit Komfort Der M22 Mini-Wohnwagen von MINIATOURING ist der ideale Begleiter für Outdoor-Enthusiasten, die Wert auf Kompaktheit und Funktionalität legen. Trotz seiner geringen Größe bietet der M22 Platz für zwei Personen und kann bei Bedarf mit einem Dachzelt auf bis zu fünf Schlafplätze erweitert werden. ab […]" url: "https://www.camping-braunbarth.de/wohnmobile-camper-kaufen/miniatouring/miniatouring-m22/" date_modified: "2025-11-04T15:00:56+01:00" --- # Miniatouring M22 Kleine Wohnwagen für Outdoor-Enthusiasten --- ![miniatouring_20](https://www.camping-braunbarth.de/wp-content/uploads/2025/03/miniatouring_20.webp) ## Der Miniatouring® M22 – Abenteuer mit Komfort Der **M22 Mini-Wohnwagen **von MINIATOURING ist der ideale Begleiter für Outdoor-Enthusiasten, die Wert auf Kompaktheit und Funktionalität legen. Trotz seiner geringen Größe bietet der M22 Platz für zwei Personen und kann bei Bedarf mit einem Dachzelt auf bis zu fünf Schlafplätze erweitert werden. **ab 15.300€** --- ## Vorstellung des M22 im Video [Video](https://www.camping-braunbarth.de/wp-content/uploads/2025/08/M22.mp4) --- ## 360° Innenansichten #pano5284 div.pnlm-orientation-button { display: none; } (function ($) {jQuery(document).ready(function() {var response = [{"panoid":"pano5284"},{"autoLoad":true,"showControls":true,"orientationSupport":"false","compass":false,"orientationOnByDefault":false,"mouseZoom":true,"draggable":true,"disableKeyboardCtrl":false,"keyboardZoom":true,"preview":"","default":{"firstScene":"FBzuvacV","sceneFadeDuration":""},"scenes":{"FBzuvacV":{"type":"equirectangular","panorama":"https://www.camping-braunbarth.de/wp-content/uploads/2025/08/M22-360-flach-scaled.jpg","hfov":100,"maxHfov":120,"minHfov":50,"hotSpots":[]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i].type === "info") { scenehotspot[i]["clickHandlerFunc"] = wpvrhotspot;} else if(scenehotspot[i].type === "scene") { scenehotspot[i]["clickHandlerArgs"] = scenehotspot[i]["text"];if(wpvr_public.is_pro_active) { scenehotspot[i]["clickHandlerFunc"] = wpvrhotspotscene;}}if(scenehotspot[i]["createTooltipArgs"] != "") {scenehotspot[i]["createTooltipFunc"] = wpvrtooltip;}}}}var panoshow5284 = pannellum.viewer(response[0]["panoid"], scenes); if(!wpvr_public.is_pro_active || !wpvr_public.is_license_active) { panoshow5284.on("load", function() { jQuery(".pnlm-panorama-info").hide(); jQuery(".pnlm-compass").hide(); }); panoshow5284.on("scenechange", function() { jQuery(".pnlm-panorama-info").hide(); jQuery(".pnlm-compass").hide(); }); }var response_duplicate = [{"panoid":"pano5284"},{"autoLoad":true,"showControls":true,"orientationSupport":"false","compass":false,"orientationOnByDefault":false,"mouseZoom":true,"draggable":true,"disableKeyboardCtrl":false,"keyboardZoom":true,"preview":"","default":{"firstScene":"FBzuvacV","sceneFadeDuration":""},"scenes":{"FBzuvacV":{"type":"equirectangular","panorama":"https://www.camping-braunbarth.de/wp-content/uploads/2025/08/M22-360-flach-scaled.jpg","hfov":100,"maxHfov":120,"minHfov":50,"hotSpots":[]}},"autoRotate":false}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i]["clickHandlerArgs"] != "") {scenehotspot[i]["clickHandlerFunc"] = wpvrhotspot;}if(scenehotspot[i]["createTooltipArgs"] != "") {scenehotspot[i]["createTooltipFunc"] = wpvrtooltip;}}}}var vr_mode = "off";var panoshow25284 = pannellum.viewer("pano25284", scenes_duplicate); var tim; var im = 0; var active_scene = "FBzuvacV"; var c_time; c_time = new Date(); var timer = c_time.getTime() + 2000; function panoShowCardBoardOnTrigger(data){ if(scenes_duplicate) { var scenedata = scenes_duplicate.scenes; for(var i in scenedata) { if(active_scene === i) { var scenehotspot = scenedata[i].hotSpots; for(var j in scenehotspot) { var plusFiveYaw = Math.round(scenehotspot[j].yaw) + 5; var minusFiveYaw = Math.round(scenehotspot[j].yaw) - 5; var plusFivePitch = Math.round(scenehotspot[j].pitch) + 5; var minusFivePitch = Math.round(scenehotspot[j].pitch) - 5; var firstCondition = ( Math.round(data.pitch) > minusFivePitch) && (Math.round(data.pitch) < plusFivePitch) ; var secCondition = (Math.round(data.yaw) > minusFiveYaw) && (Math.round(data.yaw) < plusFiveYaw); if(( Math.round(data.pitch) > minusFivePitch) && (Math.round(data.pitch) < plusFivePitch) ){ if((Math.round(data.yaw) > minusFiveYaw) && (Math.round(data.yaw) < plusFiveYaw)){ jQuery(".center-pointer").addClass("wpvr-pluse-effect") var getScene = scenehotspot[j].sceneId; if(scenehotspot[j].type == "scene"){ panoshow5284.loadScene(getScene); panoshow25284.loadScene(getScene); // var inside_current_time_object = new Date(); // var inside_timer = inside_current_time_object.getTime(); // if(inside_timer > timer) { // panoshow5284.loadScene(getScene); // panoshow25284.loadScene(getScene); // jQuery(".center-pointer").removeClass("wpvr-pluse-effect") // } }else{ jQuery(".center-pointer").removeClass("wpvr-pluse-effect") } } else { jQuery(".center-pointer").removeClass("wpvr-pluse-effect") c_time = new Date(); timer = c_time.getTime() + 2000; } } else { c_time = new Date(); timer = c_time.getTime() + 2000; } } } } } }; function vrDeviseOrientation(){ var data = { pitch: panoshow5284.getPitch(), yaw: panoshow5284.getYaw(), }; panoShowCardBoardOnTrigger(data); } function requestFullScreen(){ var elem = document.getElementById("master-container"); if (elem.requestFullscreen) { elem.requestFullscreen(); } else if (elem.webkitRequestFullscreen) { /* Safari */ elem.webkitRequestFullscreen(); } else if (elem.msRequestFullscreen) { /* IE11 */ elem.msRequestFullscreen(); } } function requestExitFullscreen(){ var elem = document.getElementById("master-container"); if (document.exitFullscreen) { document.exitFullscreen(); } else if (document.webkitExitFullscreen) { /* Safari */ document.webkitExitFullscreen(); } else if (document.msExitFullscreen) { /* IE11 */ document.msExitFullscreen(); } } jQuery(document).on("click",".fullscreen-button .expand",function() { jQuery(this).hide() jQuery(this).parent().find(".compress").show() requestFullScreen() }); jQuery(document).on("click",".fullscreen-button .compress",function() { jQuery(this).hide() jQuery(this).parent().find(".expand").show() requestExitFullscreen() screen.orientation.unlock(); }); let onLoadAnalytics = false; let sceneLoadAnalytics = false; function storeAnalyticsData(data) { if (typeof wpvrAnalyticsObj !== "undefined" && wpvr_public.is_pro_active) { jQuery.ajax({ url: wpvrAnalyticsObj.ajaxUrl, type: "POST", data: { action: "store_scene_hotspot_data", scene_id: data.scene_id, tour_id: data.tour_id, type: data.type, hotspot_id: data.hotspot_id || "", user_agent: navigator.userAgent, device_type: getDeviceType() || "desktop", nonce: wpvrAnalyticsObj.nonce, }, success: function (response) { console.log("Data stored successfully"); }, error: function (error) { console.log("Error in storing data"); } }); } else { console.warn("Analytics object not available or pro not active"); } } function getDeviceType() { const userAgent = navigator.userAgent.toLowerCase(); if (/mobile|android|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(userAgent)) { return "mobile"; } else if (/tablet|ipad/i.test(userAgent)) { return "tablet"; } else { return "desktop"; } } panoshow5284.on("scenechange", function(scene) { onLoadAnalytics = true; sceneLoadAnalytics = true; let scene_id = scene; let tour_id = 5284; let type = "scene"; let hotspot_id = ""; let user_agent = navigator.userAgent; let device_type = getDeviceType() ? getDeviceType() : "desktop"; storeAnalyticsData({ scene_id: scene_id, tour_id: tour_id, type: type, hotspot_id: hotspot_id, user_agent: user_agent, device_type: device_type, }); }); panoshow5284.on("load", function() { let scene_id = panoshow5284.getScene(); let tour_id = 5284; let type = "scene"; let hotspot_id = ""; let user_agent = navigator.userAgent; let device_type = getDeviceType() ? getDeviceType() : "desktop"; if(!onLoadAnalytics && !sceneLoadAnalytics) { storeAnalyticsData({ scene_id: scene_id, tour_id: tour_id, type: type, hotspot_id: hotspot_id, user_agent: user_agent, device_type: device_type, }); } }); function wpvrhotspotscene(hotSpotDiv, args) { onLoadAnalytics = true; let scene_id = panoshow5284.getScene(); let tour_id = 5284; let type = "hotspot"; let hotspot_id = args; let user_agent = navigator.userAgent; let device_type = getDeviceType() ? getDeviceType() : "desktop"; storeAnalyticsData({ scene_id: scene_id, tour_id: tour_id, type: type, hotspot_id: hotspot_id, user_agent: user_agent, device_type: device_type }); } panoshow5284.on("scenechange", function (scene){ jQuery(".center-pointer").removeClass("wpvr-pluse-effect") active_scene = scene; // if(localStorage.getItem("vr_mode") == "on") { if(vr_mode == "on") { jQuery("#pano25284 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); jQuery("#pano5284 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); } }); var compassBlock = ""; var infoBlock = ""; jQuery(document).on("click",".vr_mode_change5284",function (){ jQuery("#pano25284 .pnlm-load-button").trigger("click"); jQuery("#pano5284 .pnlm-load-button").trigger("click"); var getValue = jQuery(this).val(); var getParent = jQuery(this).parent().parent(); var compass = getParent.find("#pano25284 .pnlm-compass.pnlm-controls.pnlm-control").css("display"); var panoInfo = getParent.find("#pano5284 .pnlm-panorama-info").css("display"); if(compass == "block"){ compassBlock = "block"; } if(panoInfo == "block"){ infoBlock = "block"; } if (getValue == "off") { requestFullScreen() screen.orientation.lock("landscape-primary").then(function() { }).catch(function(error) { alert("VR Glass Mode not supported in this device"); }); // localStorage.setItem("vr_mode", "on"); vr_mode = "on"; jQuery(".vr-mode-title").show(); jQuery(this).val("on"); getParent.find("#pano25284").css({ "opacity": "1", "visibility": "visible", "position": "relative", }); gyroSwitch = true; panoshow5284.startOrientation(); panoshow25284.startOrientation(); panoshow25284.setPitch(panoshow5284.getPitch(), 0); panoshow25284.setYaw(panoshow5284.getYaw(), 0); getParent.find(".pano-wrap").addClass("wpvr-cardboard-disable-event"); getParent.find("#pano5284 #zoom-in-out-controls5284").hide(); getParent.find("#pano5284 #controls5284").hide(); getParent.find("#pano5284 #explainer_button_5284").hide(); getParent.find("#pano5284 #generic_form_button_5284").hide(); getParent.find("#pano5284 #floor_map_button_5284").hide(); getParent.find("#pano5284 #vrgcontrols5284").hide(); getParent.find("#pano5284 #sccontrols5284").hide(); getParent.find("#pano5284 #adcontrol5284").hide(); getParent.find("#pano5284 .owl-nav.wpvr_slider_nav").hide(); getParent.find("#pano5284 #cp-logo-controls").hide(); getParent.find("#pano5284 #wpvr-social-share-bg-box5284").hide(); getParent.find("#pano25284 .pnlm-controls-container").hide(); getParent.find("#pano5284 .pnlm-controls-container").hide(); getParent.find("#pano25284 .pnlm-compass.pnlm-controls.pnlm-control").hide(); getParent.find("#pano5284 .pnlm-compass.pnlm-controls.pnlm-control").hide(); getParent.find("#pano25284 .pnlm-panorama-info").hide(); getParent.find("#pano5284 .pnlm-panorama-info").hide(); getParent.find("#pano5284").addClass("cardboard-half"); getParent.find("#center-pointer5284").show(); getParent.find(".fullscreen-button").hide(); getParent.find("#pano5284 #custom-scene-navigation5284").hide(); if (window.DeviceOrientationEvent) { window.addEventListener("deviceorientation", vrDeviseOrientation); } panoshow5284.on("zoomchange", function (data){ panoshow25284.setHfov(data, 0); }); panoshow25284.on("zoomchange", function (data){ panoshow5284.setHfov(data, 0); }); jQuery(document).on("click","#pano25284",function(event) { panoshow5284.startOrientation(); panoshow25284.startOrientation(); }); jQuery(document).on("click","#pano5284",function(event) { panoshow5284.startOrientation(); panoshow25284.startOrientation(); }); panoshow5284.on("mousemove", function (data){ panoshow25284.setPitch(data.pitch, 0); panoshow25284.setYaw(data.yaw, 0); panoShowCardBoardOnTrigger(data); }); panoshow25284.on("mousemove", function (data){ panoshow5284.setPitch(data.pitch, 0); panoshow5284.setYaw(data.yaw, 0); panoShowCardBoardOnTrigger(data); }); panoshow5284.on("touchmove", function (data){ panoshow5284.stopOrientation(); panoshow25284.stopOrientation(); panoshow25284.setPitch(data.pitch, 0); panoshow25284.setYaw(data.yaw, 0); panoShowCardBoardOnTrigger(data); }); panoshow25284.on("touchmove", function (data){ panoshow5284.stopOrientation(); panoshow25284.stopOrientation(); panoshow5284.setPitch(data.pitch, 0); panoshow5284.setYaw(data.yaw, 0); panoShowCardBoardOnTrigger(data); }); } else if(getValue == "on") { screen.orientation.unlock(); requestExitFullscreen(); // localStorage.setItem("vr_mode", "off"); vr_mode = "off"; jQuery(".vr-mode-title").hide(); jQuery(this).val("off"); getParent.find("#pano25284").css({ "opacity": "0", "visibility": "hidden", "position": "absolute", }); getParent.find(".pano-wrap").removeClass("wpvr-cardboard-disable-event"); getParent.find("#pano5284 #zoom-in-out-controls5284").show(); getParent.find("#pano5284 #controls5284").show(); getParent.find("#pano5284 #explainer_button_5284").show(); getParent.find("#pano5284 #generic_form_button_5284").show(); getParent.find("#pano5284 #floor_map_button_5284").show(); getParent.find("#pano25284 .pnlm-controls-container").show(); getParent.find("#pano5284 .pnlm-controls-container").show(); getParent.find("#pano5284 #vrgcontrols5284").show(); getParent.find("#pano5284 #sccontrols5284").hide(); getParent.find("#pano5284 #adcontrol5284").show(); getParent.find("#pano5284 .owl-nav.wpvr_slider_nav").hide(); getParent.find("#pano5284 #cp-logo-controls").show(); getParent.find("#pano5284 #wpvr-social-share-bg-box5284").show(); getParent.find("#pano5284 #custom-scene-navigation5284").show(); if(compassBlock == "block"){ getParent.find("#pano25284 .pnlm-compass.pnlm-controls.pnlm-control").show(); getParent.find("#pano5284 .pnlm-compass.pnlm-controls.pnlm-control").show(); } if(infoBlock == "block"){ getParent.find("#pano25284 .pnlm-panorama-info").show(); getParent.find("#pano5284 .pnlm-panorama-info").show(); } getParent.find("#pano5284").removeClass("cardboard-half"); getParent.find("#center-pointer5284").hide(); getParent.find(".fullscreen-button").hide(); panoshow5284.off("mousemove"); panoshow5284.off("touchmove"); panoshow25284.off("mousemove"); panoshow25284.off("touchmove"); if (window.DeviceOrientationEvent) { window.removeEventListener("deviceorientation", vrDeviseOrientation); } } });panoshow25284.on("load", function (){ // if(localStorage.getItem("vr_mode") == "off") { if( vr_mode == "off") { jQuery(".vr-mode-title").hide(); } else { jQuery("#pano25284 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); jQuery("#pano5284 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); jQuery("#pano25284 .pnlm-panorama-info").hide(); jQuery("#pano5284 .pnlm-panorama-info").hide(); jQuery(".vr-mode-title").show(); } });jQuery("#pano5284 .wpvr-floor-map .floor-plan-pointer").on("click",function(){ var scene_id = jQuery(this).attr("scene_id"); panoshow5284.loadScene(scene_id) jQuery(".floor-plan-pointer").removeClass("add-pulse") jQuery(this).addClass("add-pulse") });panoshow5284.on("mousemove", function (data){ jQuery(".add-pulse").css({"transform":"rotate("+data.yaw+"deg)"}); }); panoshow5284.on("scenechange", function (scene){ jQuery(".center-pointer").removeClass("wpvr-pluse-effect") jQuery(".floor-plan-pointer").each(function(index ,element){ var scene_id = jQuery(this).attr("scene_id"); if( active_scene == scene_id ){ jQuery(".floor-plan-pointer").removeClass("add-pulse") jQuery(this).addClass("add-pulse") } }); });panoshow5284.on("load", function (){ if(jQuery(".floor-plan-pointer").length > 0){ jQuery(".floor-plan-pointer").each(function(index ,element){ var scene_id = jQuery(this).attr("scene_id"); if( active_scene == scene_id ){ jQuery(".floor-plan-pointer").removeClass("add-pulse") jQuery(this).addClass("add-pulse") } }); } });jQuery("#pano5284 .custom-scene-navigation").on("click", function() { jQuery("#custom-scene-navigation-nav5284 ul").empty(); if (scenes) { var scene_navigation_content_type = "scene_id"; var sceneList = scenes.scenes; var getScene = panoshow5284.getScene(); for (const key in sceneList) { let title; if (scene_navigation_content_type === "scene_title") { if (sceneList[key].title) { title = sceneList[key].title; } else { if (title == "" || title == undefined) { if (sceneList[key].panorama) { title = getImageNameWithoutExtension(sceneList[key].panorama); } } } } else if (scene_navigation_content_type === "scene_image_name") { if (sceneList[key].panorama) { title = getImageNameWithoutExtension(sceneList[key].panorama); } } else { title = key; } if (sceneList.hasOwnProperty(key)) { let ulElement = document.querySelector("#custom-scene-navigation-nav5284 ul"); if (ulElement) { let liElement = document.createElement("li"); liElement.className = "scene-navigation-list" + (key === getScene ? " active" : ""); liElement.setAttribute("scene_id", key); liElement.textContent = title; ulElement.appendChild(liElement); } } } jQuery("#custom-scene-navigation-nav5284").toggleClass("visible"); } });function getImageNameWithoutExtension(imageUrl) { // Split the URL by "/" var parts = imageUrl.split("/"); // Get the last part which contains the image name var imageNameWithExtension = parts[parts.length - 1]; // Split the image name by period (.) var imageNameParts = imageNameWithExtension.split("."); // Remove the last part (which is the extension) and join the remaining parts var imageNameWithoutExtension = imageNameParts.slice(0, -1).join("."); // Return the image name without extension return imageNameWithoutExtension; }jQuery("#pano5284 #custom-scene-navigation-nav5284 ul").on("click", "li.scene-navigation-list", function() { if (scenes) { jQuery(this).siblings("li").removeClass("active"); jQuery(this).addClass("active"); var scene_key = jQuery(this).attr("scene_id"); panoshow5284.loadScene(scene_key); } });const node = document.querySelector(".add-pulse"); panoshow5284.on("compasschange", function (data){ // const node = document.querySelector(".add-pulse"); // node.style.transform = data; // jQuery(".add-pulse").css({"transform":data}); });panoshow5284.on("load", function (){ // if(localStorage.getItem("vr_mode") == "off") { if(vr_mode == "off") { jQuery(".vr-mode-title").hide(); } else { jQuery("#pano25284 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); jQuery("#pano5284 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); jQuery("#pano25284 .pnlm-panorama-info").hide(); jQuery("#pano5284 .pnlm-panorama-info").hide(); jQuery(".vr-mode-title").show(); } setTimeout(() => { window.dispatchEvent(new Event("resize")); }, 200); if (jQuery("#pano5284").children().children(".pnlm-panorama-info:visible").length > 0) { jQuery("#controls5284").css("bottom", "80px"); } else { jQuery("#controls5284").css("bottom", "5px"); } });panoshow5284.on("render", function (){ window.dispatchEvent(new Event("resize")); });if (scenes.autoRotate) { panoshow5284.on("load", function (){ setTimeout(function(){ panoshow5284.startAutoRotate(scenes.autoRotate, 0); }, 3000); }); panoshow5284.on("scenechange", function (){ setTimeout(function(){ panoshow5284.startAutoRotate(scenes.autoRotate, 0); }, 3000); }); }var touchtime = 0;jQuery(document).on("click","#explainer_button_5284",function() { jQuery("#explainer5284").slideToggle(function(){ var $explainerVideoId = jQuery("#explainer5284"); var $explainerVideoIframe = $explainerVideoId.find("iframe"); var explainerVideoIframSrc = $explainerVideoIframe.attr("src"); $explainerVideoIframe.attr("src", ""); $explainerVideoIframe.attr("src", explainerVideoIframSrc); }); }); jQuery(document).on("click", ".close-explainer-video", function() { var $explainer = jQuery(this).parent(".explainer"); var $iframe = $explainer.find("iframe"); var el_src = $iframe.attr("src"); $iframe.attr("src", ""); $explainer.hide(); $iframe.attr("src", el_src); }); jQuery(document).on("click","#pano5284",function(event) { var isActiveModal = event.target.closest(".custom-ifram-wrapper"); var isForm = event.target.closest(".wpvr-hotspot-tweak-contents"); var isHotspot = event.target.closest(".pnlm-hotspot-base"); if( isActiveModal == null && isForm == null && isHotspot == null){ jQuery(".custom-ifram-wrapper .custom-ifram").empty(); jQuery(".custom-ifram-wrapper").hide(); jQuery(this).removeClass("show-modal"); jQuery(".wpvr-hotspot-tweak-contents-wrapper").hide("show-modal"); }else if(isForm != null){ jQuery(this).addClass("show-modal"); } });jQuery(document).on("click","#floor_map_button_5284",function() { jQuery("#wpvr-floor-map5284").toggle().removeClass("fullwindow"); }); jQuery(document).on("dblclick","#wpvr-floor-map5284",function(){ jQuery(this).addClass("fullwindow"); jQuery(this).parents(".pano-wrap").addClass("show-modal"); }); jQuery(document).on("click",".close-floor-map-plan",function() { jQuery(this).parent(".wpvr-floor-map").hide(); jQuery(this).parent(".wpvr-floor-map").removeClass("fullwindow"); jQuery(this).parents(".pano-wrap").removeClass("show-modal"); });jQuery(document).ready(function($){ jQuery("#sccontrols5284").hide(); jQuery("#pano5284 .wpvr_slider_nav").hide(); jQuery(".vrgctrl5284").html(' '); });var slide5284 = "down"; jQuery(document).on("click","#vrgcontrols5284",function() { if (slide5284 == "up") { jQuery(".vrgctrl5284").empty(); jQuery(".vrgctrl5284").html(' '); slide5284 = "down"; } else { jQuery(".vrgctrl5284").empty(); jQuery(".vrgctrl5284").html(' '); slide5284 = "up"; } jQuery("#pano5284 .wpvr_slider_nav").slideToggle(); jQuery("#sccontrols5284").slideToggle(function(){ if (jQuery(".elementor-edit-mode .elementor-widget-container").length) { if (jQuery(this).is(":visible")) { jQuery(".elementor-edit-mode .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols5284").css({ "display": "flex", "justify-content": "center", "align-items": "center", "gap": "15px" }); } } if (jQuery(".bricks-is-frontend").length) { if (jQuery(this).is(":visible")) { jQuery(".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols5284").css({ "display": "flex", "justify-content": "center", "align-items": "center" }); } } }); });jQuery(".elementor-tab-title").click(function(){ var element_id; var pano_id; var element_id = this.id; element_id = element_id.split("-"); element_id = element_id[3]; jQuery("#elementor-tab-content-"+element_id).find("#master-container").children("div").eq(1).addClass("awwww"); var pano_id = jQuery(".awwww").attr("id"); jQuery("#elementor-tab-content-"+element_id).find("#master-container").children("div").eq(1).removeClass("awwww");; if (pano_id != undefined) { pano_id = pano_id.split("o"); pano_id = pano_id[1]; if (pano_id == "5284") { jQuery("#pano5284").children(".pnlm-render-container").remove(); jQuery("#pano5284").children(".pnlm-ui").remove(); panoshow5284 = pannellum.viewer(response[0]["panoid"], scenes); jQuery("#pano5284").children(".pnlm-ui").find(".pnlm-load-button p").text("Click To Load Panorama") setTimeout(function() { // panoshow5284.loadScene("FBzuvacV"); window.dispatchEvent(new Event("resize")); if (jQuery("#pano5284").children().children(".pnlm-panorama-info:visible").length > 0) { jQuery("#controls5284").css("bottom", "55px"); } else { jQuery("#controls5284").css("bottom", "5px"); } }, 200); } } });jQuery(".geodir-tab-head dd, #vr-tour-tab").click(function(){ jQuery("#pano5284").children(".pnlm-render-container").remove(); jQuery("#pano5284").children(".pnlm-ui").remove(); panoshow5284 = pannellum.viewer(response[0]["panoid"], scenes); setTimeout(function() { panoshow5284.loadScene("FBzuvacV"); window.dispatchEvent(new Event("resize")); if (jQuery("#pano5284").children().children(".pnlm-panorama-info:visible").length > 0) { jQuery("#controls5284").css("bottom", "55px"); } else { jQuery("#controls5284").css("bottom", "5px"); } }, 200); }); jQuery("#pano5284").children(".pnlm-ui").find(".pnlm-load-button p").text("Click To Load Panorama") jQuery("#pano5284 .pnlm-title-box").on("mouseenter", function(){ jQuery(this).attr("title", jQuery(this).text()); }); jQuery("#pano5284 .pnlm-title-box").on("mouseleave", function(){ jQuery(this).removeAttr("title"); });});})(jQuery); #pano5292 div.pnlm-orientation-button { display: none; } (function ($) {jQuery(document).ready(function() {var response = [{"panoid":"pano5292"},{"autoLoad":true,"showControls":true,"orientationSupport":"false","compass":false,"orientationOnByDefault":false,"mouseZoom":true,"draggable":true,"disableKeyboardCtrl":false,"keyboardZoom":true,"preview":"","default":{"firstScene":"F1kQ9cpr","sceneFadeDuration":""},"scenes":{"F1kQ9cpr":{"type":"equirectangular","panorama":"https://www.camping-braunbarth.de/wp-content/uploads/2025/08/M22-360-Tisch-scaled.jpg","hfov":100,"maxHfov":120,"minHfov":50,"hotSpots":[]}}}];var scenes = response[1];if(scenes) {var scenedata = scenes.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i].type === "info") { scenehotspot[i]["clickHandlerFunc"] = wpvrhotspot;} else if(scenehotspot[i].type === "scene") { scenehotspot[i]["clickHandlerArgs"] = scenehotspot[i]["text"];if(wpvr_public.is_pro_active) { scenehotspot[i]["clickHandlerFunc"] = wpvrhotspotscene;}}if(scenehotspot[i]["createTooltipArgs"] != "") {scenehotspot[i]["createTooltipFunc"] = wpvrtooltip;}}}}var panoshow5292 = pannellum.viewer(response[0]["panoid"], scenes); if(!wpvr_public.is_pro_active || !wpvr_public.is_license_active) { panoshow5292.on("load", function() { jQuery(".pnlm-panorama-info").hide(); jQuery(".pnlm-compass").hide(); }); panoshow5292.on("scenechange", function() { jQuery(".pnlm-panorama-info").hide(); jQuery(".pnlm-compass").hide(); }); }var response_duplicate = [{"panoid":"pano5292"},{"autoLoad":true,"showControls":true,"orientationSupport":"false","compass":false,"orientationOnByDefault":false,"mouseZoom":true,"draggable":true,"disableKeyboardCtrl":false,"keyboardZoom":true,"preview":"","default":{"firstScene":"F1kQ9cpr","sceneFadeDuration":""},"scenes":{"F1kQ9cpr":{"type":"equirectangular","panorama":"https://www.camping-braunbarth.de/wp-content/uploads/2025/08/M22-360-Tisch-scaled.jpg","hfov":100,"maxHfov":120,"minHfov":50,"hotSpots":[]}},"autoRotate":false}];var scenes_duplicate = response_duplicate[1];if(scenes_duplicate) {var scenedata = scenes_duplicate.scenes;for(var i in scenedata) {var scenehotspot = scenedata[i].hotSpots;for(var i = 0; i < scenehotspot.length; i++) {if(scenehotspot[i]["clickHandlerArgs"] != "") {scenehotspot[i]["clickHandlerFunc"] = wpvrhotspot;}if(scenehotspot[i]["createTooltipArgs"] != "") {scenehotspot[i]["createTooltipFunc"] = wpvrtooltip;}}}}var vr_mode = "off";var panoshow25292 = pannellum.viewer("pano25292", scenes_duplicate); var tim; var im = 0; var active_scene = "F1kQ9cpr"; var c_time; c_time = new Date(); var timer = c_time.getTime() + 2000; function panoShowCardBoardOnTrigger(data){ if(scenes_duplicate) { var scenedata = scenes_duplicate.scenes; for(var i in scenedata) { if(active_scene === i) { var scenehotspot = scenedata[i].hotSpots; for(var j in scenehotspot) { var plusFiveYaw = Math.round(scenehotspot[j].yaw) + 5; var minusFiveYaw = Math.round(scenehotspot[j].yaw) - 5; var plusFivePitch = Math.round(scenehotspot[j].pitch) + 5; var minusFivePitch = Math.round(scenehotspot[j].pitch) - 5; var firstCondition = ( Math.round(data.pitch) > minusFivePitch) && (Math.round(data.pitch) < plusFivePitch) ; var secCondition = (Math.round(data.yaw) > minusFiveYaw) && (Math.round(data.yaw) < plusFiveYaw); if(( Math.round(data.pitch) > minusFivePitch) && (Math.round(data.pitch) < plusFivePitch) ){ if((Math.round(data.yaw) > minusFiveYaw) && (Math.round(data.yaw) < plusFiveYaw)){ jQuery(".center-pointer").addClass("wpvr-pluse-effect") var getScene = scenehotspot[j].sceneId; if(scenehotspot[j].type == "scene"){ panoshow5292.loadScene(getScene); panoshow25292.loadScene(getScene); // var inside_current_time_object = new Date(); // var inside_timer = inside_current_time_object.getTime(); // if(inside_timer > timer) { // panoshow5292.loadScene(getScene); // panoshow25292.loadScene(getScene); // jQuery(".center-pointer").removeClass("wpvr-pluse-effect") // } }else{ jQuery(".center-pointer").removeClass("wpvr-pluse-effect") } } else { jQuery(".center-pointer").removeClass("wpvr-pluse-effect") c_time = new Date(); timer = c_time.getTime() + 2000; } } else { c_time = new Date(); timer = c_time.getTime() + 2000; } } } } } }; function vrDeviseOrientation(){ var data = { pitch: panoshow5292.getPitch(), yaw: panoshow5292.getYaw(), }; panoShowCardBoardOnTrigger(data); } function requestFullScreen(){ var elem = document.getElementById("master-container"); if (elem.requestFullscreen) { elem.requestFullscreen(); } else if (elem.webkitRequestFullscreen) { /* Safari */ elem.webkitRequestFullscreen(); } else if (elem.msRequestFullscreen) { /* IE11 */ elem.msRequestFullscreen(); } } function requestExitFullscreen(){ var elem = document.getElementById("master-container"); if (document.exitFullscreen) { document.exitFullscreen(); } else if (document.webkitExitFullscreen) { /* Safari */ document.webkitExitFullscreen(); } else if (document.msExitFullscreen) { /* IE11 */ document.msExitFullscreen(); } } jQuery(document).on("click",".fullscreen-button .expand",function() { jQuery(this).hide() jQuery(this).parent().find(".compress").show() requestFullScreen() }); jQuery(document).on("click",".fullscreen-button .compress",function() { jQuery(this).hide() jQuery(this).parent().find(".expand").show() requestExitFullscreen() screen.orientation.unlock(); }); let onLoadAnalytics = false; let sceneLoadAnalytics = false; function storeAnalyticsData(data) { if (typeof wpvrAnalyticsObj !== "undefined" && wpvr_public.is_pro_active) { jQuery.ajax({ url: wpvrAnalyticsObj.ajaxUrl, type: "POST", data: { action: "store_scene_hotspot_data", scene_id: data.scene_id, tour_id: data.tour_id, type: data.type, hotspot_id: data.hotspot_id || "", user_agent: navigator.userAgent, device_type: getDeviceType() || "desktop", nonce: wpvrAnalyticsObj.nonce, }, success: function (response) { console.log("Data stored successfully"); }, error: function (error) { console.log("Error in storing data"); } }); } else { console.warn("Analytics object not available or pro not active"); } } function getDeviceType() { const userAgent = navigator.userAgent.toLowerCase(); if (/mobile|android|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(userAgent)) { return "mobile"; } else if (/tablet|ipad/i.test(userAgent)) { return "tablet"; } else { return "desktop"; } } panoshow5292.on("scenechange", function(scene) { onLoadAnalytics = true; sceneLoadAnalytics = true; let scene_id = scene; let tour_id = 5292; let type = "scene"; let hotspot_id = ""; let user_agent = navigator.userAgent; let device_type = getDeviceType() ? getDeviceType() : "desktop"; storeAnalyticsData({ scene_id: scene_id, tour_id: tour_id, type: type, hotspot_id: hotspot_id, user_agent: user_agent, device_type: device_type, }); }); panoshow5292.on("load", function() { let scene_id = panoshow5292.getScene(); let tour_id = 5292; let type = "scene"; let hotspot_id = ""; let user_agent = navigator.userAgent; let device_type = getDeviceType() ? getDeviceType() : "desktop"; if(!onLoadAnalytics && !sceneLoadAnalytics) { storeAnalyticsData({ scene_id: scene_id, tour_id: tour_id, type: type, hotspot_id: hotspot_id, user_agent: user_agent, device_type: device_type, }); } }); function wpvrhotspotscene(hotSpotDiv, args) { onLoadAnalytics = true; let scene_id = panoshow5292.getScene(); let tour_id = 5292; let type = "hotspot"; let hotspot_id = args; let user_agent = navigator.userAgent; let device_type = getDeviceType() ? getDeviceType() : "desktop"; storeAnalyticsData({ scene_id: scene_id, tour_id: tour_id, type: type, hotspot_id: hotspot_id, user_agent: user_agent, device_type: device_type }); } panoshow5292.on("scenechange", function (scene){ jQuery(".center-pointer").removeClass("wpvr-pluse-effect") active_scene = scene; // if(localStorage.getItem("vr_mode") == "on") { if(vr_mode == "on") { jQuery("#pano25292 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); jQuery("#pano5292 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); } }); var compassBlock = ""; var infoBlock = ""; jQuery(document).on("click",".vr_mode_change5292",function (){ jQuery("#pano25292 .pnlm-load-button").trigger("click"); jQuery("#pano5292 .pnlm-load-button").trigger("click"); var getValue = jQuery(this).val(); var getParent = jQuery(this).parent().parent(); var compass = getParent.find("#pano25292 .pnlm-compass.pnlm-controls.pnlm-control").css("display"); var panoInfo = getParent.find("#pano5292 .pnlm-panorama-info").css("display"); if(compass == "block"){ compassBlock = "block"; } if(panoInfo == "block"){ infoBlock = "block"; } if (getValue == "off") { requestFullScreen() screen.orientation.lock("landscape-primary").then(function() { }).catch(function(error) { alert("VR Glass Mode not supported in this device"); }); // localStorage.setItem("vr_mode", "on"); vr_mode = "on"; jQuery(".vr-mode-title").show(); jQuery(this).val("on"); getParent.find("#pano25292").css({ "opacity": "1", "visibility": "visible", "position": "relative", }); gyroSwitch = true; panoshow5292.startOrientation(); panoshow25292.startOrientation(); panoshow25292.setPitch(panoshow5292.getPitch(), 0); panoshow25292.setYaw(panoshow5292.getYaw(), 0); getParent.find(".pano-wrap").addClass("wpvr-cardboard-disable-event"); getParent.find("#pano5292 #zoom-in-out-controls5292").hide(); getParent.find("#pano5292 #controls5292").hide(); getParent.find("#pano5292 #explainer_button_5292").hide(); getParent.find("#pano5292 #generic_form_button_5292").hide(); getParent.find("#pano5292 #floor_map_button_5292").hide(); getParent.find("#pano5292 #vrgcontrols5292").hide(); getParent.find("#pano5292 #sccontrols5292").hide(); getParent.find("#pano5292 #adcontrol5292").hide(); getParent.find("#pano5292 .owl-nav.wpvr_slider_nav").hide(); getParent.find("#pano5292 #cp-logo-controls").hide(); getParent.find("#pano5292 #wpvr-social-share-bg-box5292").hide(); getParent.find("#pano25292 .pnlm-controls-container").hide(); getParent.find("#pano5292 .pnlm-controls-container").hide(); getParent.find("#pano25292 .pnlm-compass.pnlm-controls.pnlm-control").hide(); getParent.find("#pano5292 .pnlm-compass.pnlm-controls.pnlm-control").hide(); getParent.find("#pano25292 .pnlm-panorama-info").hide(); getParent.find("#pano5292 .pnlm-panorama-info").hide(); getParent.find("#pano5292").addClass("cardboard-half"); getParent.find("#center-pointer5292").show(); getParent.find(".fullscreen-button").hide(); getParent.find("#pano5292 #custom-scene-navigation5292").hide(); if (window.DeviceOrientationEvent) { window.addEventListener("deviceorientation", vrDeviseOrientation); } panoshow5292.on("zoomchange", function (data){ panoshow25292.setHfov(data, 0); }); panoshow25292.on("zoomchange", function (data){ panoshow5292.setHfov(data, 0); }); jQuery(document).on("click","#pano25292",function(event) { panoshow5292.startOrientation(); panoshow25292.startOrientation(); }); jQuery(document).on("click","#pano5292",function(event) { panoshow5292.startOrientation(); panoshow25292.startOrientation(); }); panoshow5292.on("mousemove", function (data){ panoshow25292.setPitch(data.pitch, 0); panoshow25292.setYaw(data.yaw, 0); panoShowCardBoardOnTrigger(data); }); panoshow25292.on("mousemove", function (data){ panoshow5292.setPitch(data.pitch, 0); panoshow5292.setYaw(data.yaw, 0); panoShowCardBoardOnTrigger(data); }); panoshow5292.on("touchmove", function (data){ panoshow5292.stopOrientation(); panoshow25292.stopOrientation(); panoshow25292.setPitch(data.pitch, 0); panoshow25292.setYaw(data.yaw, 0); panoShowCardBoardOnTrigger(data); }); panoshow25292.on("touchmove", function (data){ panoshow5292.stopOrientation(); panoshow25292.stopOrientation(); panoshow5292.setPitch(data.pitch, 0); panoshow5292.setYaw(data.yaw, 0); panoShowCardBoardOnTrigger(data); }); } else if(getValue == "on") { screen.orientation.unlock(); requestExitFullscreen(); // localStorage.setItem("vr_mode", "off"); vr_mode = "off"; jQuery(".vr-mode-title").hide(); jQuery(this).val("off"); getParent.find("#pano25292").css({ "opacity": "0", "visibility": "hidden", "position": "absolute", }); getParent.find(".pano-wrap").removeClass("wpvr-cardboard-disable-event"); getParent.find("#pano5292 #zoom-in-out-controls5292").show(); getParent.find("#pano5292 #controls5292").show(); getParent.find("#pano5292 #explainer_button_5292").show(); getParent.find("#pano5292 #generic_form_button_5292").show(); getParent.find("#pano5292 #floor_map_button_5292").show(); getParent.find("#pano25292 .pnlm-controls-container").show(); getParent.find("#pano5292 .pnlm-controls-container").show(); getParent.find("#pano5292 #vrgcontrols5292").show(); getParent.find("#pano5292 #sccontrols5292").hide(); getParent.find("#pano5292 #adcontrol5292").show(); getParent.find("#pano5292 .owl-nav.wpvr_slider_nav").hide(); getParent.find("#pano5292 #cp-logo-controls").show(); getParent.find("#pano5292 #wpvr-social-share-bg-box5292").show(); getParent.find("#pano5292 #custom-scene-navigation5292").show(); if(compassBlock == "block"){ getParent.find("#pano25292 .pnlm-compass.pnlm-controls.pnlm-control").show(); getParent.find("#pano5292 .pnlm-compass.pnlm-controls.pnlm-control").show(); } if(infoBlock == "block"){ getParent.find("#pano25292 .pnlm-panorama-info").show(); getParent.find("#pano5292 .pnlm-panorama-info").show(); } getParent.find("#pano5292").removeClass("cardboard-half"); getParent.find("#center-pointer5292").hide(); getParent.find(".fullscreen-button").hide(); panoshow5292.off("mousemove"); panoshow5292.off("touchmove"); panoshow25292.off("mousemove"); panoshow25292.off("touchmove"); if (window.DeviceOrientationEvent) { window.removeEventListener("deviceorientation", vrDeviseOrientation); } } });panoshow25292.on("load", function (){ // if(localStorage.getItem("vr_mode") == "off") { if( vr_mode == "off") { jQuery(".vr-mode-title").hide(); } else { jQuery("#pano25292 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); jQuery("#pano5292 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); jQuery("#pano25292 .pnlm-panorama-info").hide(); jQuery("#pano5292 .pnlm-panorama-info").hide(); jQuery(".vr-mode-title").show(); } });jQuery("#pano5292 .wpvr-floor-map .floor-plan-pointer").on("click",function(){ var scene_id = jQuery(this).attr("scene_id"); panoshow5292.loadScene(scene_id) jQuery(".floor-plan-pointer").removeClass("add-pulse") jQuery(this).addClass("add-pulse") });panoshow5292.on("mousemove", function (data){ jQuery(".add-pulse").css({"transform":"rotate("+data.yaw+"deg)"}); }); panoshow5292.on("scenechange", function (scene){ jQuery(".center-pointer").removeClass("wpvr-pluse-effect") jQuery(".floor-plan-pointer").each(function(index ,element){ var scene_id = jQuery(this).attr("scene_id"); if( active_scene == scene_id ){ jQuery(".floor-plan-pointer").removeClass("add-pulse") jQuery(this).addClass("add-pulse") } }); });panoshow5292.on("load", function (){ if(jQuery(".floor-plan-pointer").length > 0){ jQuery(".floor-plan-pointer").each(function(index ,element){ var scene_id = jQuery(this).attr("scene_id"); if( active_scene == scene_id ){ jQuery(".floor-plan-pointer").removeClass("add-pulse") jQuery(this).addClass("add-pulse") } }); } });jQuery("#pano5292 .custom-scene-navigation").on("click", function() { jQuery("#custom-scene-navigation-nav5292 ul").empty(); if (scenes) { var scene_navigation_content_type = "scene_id"; var sceneList = scenes.scenes; var getScene = panoshow5292.getScene(); for (const key in sceneList) { let title; if (scene_navigation_content_type === "scene_title") { if (sceneList[key].title) { title = sceneList[key].title; } else { if (title == "" || title == undefined) { if (sceneList[key].panorama) { title = getImageNameWithoutExtension(sceneList[key].panorama); } } } } else if (scene_navigation_content_type === "scene_image_name") { if (sceneList[key].panorama) { title = getImageNameWithoutExtension(sceneList[key].panorama); } } else { title = key; } if (sceneList.hasOwnProperty(key)) { let ulElement = document.querySelector("#custom-scene-navigation-nav5292 ul"); if (ulElement) { let liElement = document.createElement("li"); liElement.className = "scene-navigation-list" + (key === getScene ? " active" : ""); liElement.setAttribute("scene_id", key); liElement.textContent = title; ulElement.appendChild(liElement); } } } jQuery("#custom-scene-navigation-nav5292").toggleClass("visible"); } });function getImageNameWithoutExtension(imageUrl) { // Split the URL by "/" var parts = imageUrl.split("/"); // Get the last part which contains the image name var imageNameWithExtension = parts[parts.length - 1]; // Split the image name by period (.) var imageNameParts = imageNameWithExtension.split("."); // Remove the last part (which is the extension) and join the remaining parts var imageNameWithoutExtension = imageNameParts.slice(0, -1).join("."); // Return the image name without extension return imageNameWithoutExtension; }jQuery("#pano5292 #custom-scene-navigation-nav5292 ul").on("click", "li.scene-navigation-list", function() { if (scenes) { jQuery(this).siblings("li").removeClass("active"); jQuery(this).addClass("active"); var scene_key = jQuery(this).attr("scene_id"); panoshow5292.loadScene(scene_key); } });const node = document.querySelector(".add-pulse"); panoshow5292.on("compasschange", function (data){ // const node = document.querySelector(".add-pulse"); // node.style.transform = data; // jQuery(".add-pulse").css({"transform":data}); });panoshow5292.on("load", function (){ // if(localStorage.getItem("vr_mode") == "off") { if(vr_mode == "off") { jQuery(".vr-mode-title").hide(); } else { jQuery("#pano25292 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); jQuery("#pano5292 .pnlm-compass.pnlm-controls.pnlm-control").css("display","none"); jQuery("#pano25292 .pnlm-panorama-info").hide(); jQuery("#pano5292 .pnlm-panorama-info").hide(); jQuery(".vr-mode-title").show(); } setTimeout(() => { window.dispatchEvent(new Event("resize")); }, 200); if (jQuery("#pano5292").children().children(".pnlm-panorama-info:visible").length > 0) { jQuery("#controls5292").css("bottom", "80px"); } else { jQuery("#controls5292").css("bottom", "5px"); } });panoshow5292.on("render", function (){ window.dispatchEvent(new Event("resize")); });if (scenes.autoRotate) { panoshow5292.on("load", function (){ setTimeout(function(){ panoshow5292.startAutoRotate(scenes.autoRotate, 0); }, 3000); }); panoshow5292.on("scenechange", function (){ setTimeout(function(){ panoshow5292.startAutoRotate(scenes.autoRotate, 0); }, 3000); }); }var touchtime = 0;jQuery(document).on("click","#explainer_button_5292",function() { jQuery("#explainer5292").slideToggle(function(){ var $explainerVideoId = jQuery("#explainer5292"); var $explainerVideoIframe = $explainerVideoId.find("iframe"); var explainerVideoIframSrc = $explainerVideoIframe.attr("src"); $explainerVideoIframe.attr("src", ""); $explainerVideoIframe.attr("src", explainerVideoIframSrc); }); }); jQuery(document).on("click", ".close-explainer-video", function() { var $explainer = jQuery(this).parent(".explainer"); var $iframe = $explainer.find("iframe"); var el_src = $iframe.attr("src"); $iframe.attr("src", ""); $explainer.hide(); $iframe.attr("src", el_src); }); jQuery(document).on("click","#pano5292",function(event) { var isActiveModal = event.target.closest(".custom-ifram-wrapper"); var isForm = event.target.closest(".wpvr-hotspot-tweak-contents"); var isHotspot = event.target.closest(".pnlm-hotspot-base"); if( isActiveModal == null && isForm == null && isHotspot == null){ jQuery(".custom-ifram-wrapper .custom-ifram").empty(); jQuery(".custom-ifram-wrapper").hide(); jQuery(this).removeClass("show-modal"); jQuery(".wpvr-hotspot-tweak-contents-wrapper").hide("show-modal"); }else if(isForm != null){ jQuery(this).addClass("show-modal"); } });jQuery(document).on("click","#floor_map_button_5292",function() { jQuery("#wpvr-floor-map5292").toggle().removeClass("fullwindow"); }); jQuery(document).on("dblclick","#wpvr-floor-map5292",function(){ jQuery(this).addClass("fullwindow"); jQuery(this).parents(".pano-wrap").addClass("show-modal"); }); jQuery(document).on("click",".close-floor-map-plan",function() { jQuery(this).parent(".wpvr-floor-map").hide(); jQuery(this).parent(".wpvr-floor-map").removeClass("fullwindow"); jQuery(this).parents(".pano-wrap").removeClass("show-modal"); });jQuery(document).ready(function($){ jQuery("#sccontrols5292").hide(); jQuery("#pano5292 .wpvr_slider_nav").hide(); jQuery(".vrgctrl5292").html(' '); });var slide5292 = "down"; jQuery(document).on("click","#vrgcontrols5292",function() { if (slide5292 == "up") { jQuery(".vrgctrl5292").empty(); jQuery(".vrgctrl5292").html(' '); slide5292 = "down"; } else { jQuery(".vrgctrl5292").empty(); jQuery(".vrgctrl5292").html(' '); slide5292 = "up"; } jQuery("#pano5292 .wpvr_slider_nav").slideToggle(); jQuery("#sccontrols5292").slideToggle(function(){ if (jQuery(".elementor-edit-mode .elementor-widget-container").length) { if (jQuery(this).is(":visible")) { jQuery(".elementor-edit-mode .elementor-widget-container .wpvr-cardboard .pnlm-container #sccontrols5292").css({ "display": "flex", "justify-content": "center", "align-items": "center", "gap": "15px" }); } } if (jQuery(".bricks-is-frontend").length) { if (jQuery(this).is(":visible")) { jQuery(".bricks-is-frontend .wpvr-cardboard .pnlm-container #sccontrols5292").css({ "display": "flex", "justify-content": "center", "align-items": "center" }); } } }); });jQuery(".elementor-tab-title").click(function(){ var element_id; var pano_id; var element_id = this.id; element_id = element_id.split("-"); element_id = element_id[3]; jQuery("#elementor-tab-content-"+element_id).find("#master-container").children("div").eq(1).addClass("awwww"); var pano_id = jQuery(".awwww").attr("id"); jQuery("#elementor-tab-content-"+element_id).find("#master-container").children("div").eq(1).removeClass("awwww");; if (pano_id != undefined) { pano_id = pano_id.split("o"); pano_id = pano_id[1]; if (pano_id == "5292") { jQuery("#pano5292").children(".pnlm-render-container").remove(); jQuery("#pano5292").children(".pnlm-ui").remove(); panoshow5292 = pannellum.viewer(response[0]["panoid"], scenes); jQuery("#pano5292").children(".pnlm-ui").find(".pnlm-load-button p").text("Click To Load Panorama") setTimeout(function() { // panoshow5292.loadScene("F1kQ9cpr"); window.dispatchEvent(new Event("resize")); if (jQuery("#pano5292").children().children(".pnlm-panorama-info:visible").length > 0) { jQuery("#controls5292").css("bottom", "55px"); } else { jQuery("#controls5292").css("bottom", "5px"); } }, 200); } } });jQuery(".geodir-tab-head dd, #vr-tour-tab").click(function(){ jQuery("#pano5292").children(".pnlm-render-container").remove(); jQuery("#pano5292").children(".pnlm-ui").remove(); panoshow5292 = pannellum.viewer(response[0]["panoid"], scenes); setTimeout(function() { panoshow5292.loadScene("F1kQ9cpr"); window.dispatchEvent(new Event("resize")); if (jQuery("#pano5292").children().children(".pnlm-panorama-info:visible").length > 0) { jQuery("#controls5292").css("bottom", "55px"); } else { jQuery("#controls5292").css("bottom", "5px"); } }, 200); }); jQuery("#pano5292").children(".pnlm-ui").find(".pnlm-load-button p").text("Click To Load Panorama") jQuery("#pano5292 .pnlm-title-box").on("mouseenter", function(){ jQuery(this).attr("title", jQuery(this).text()); }); jQuery("#pano5292 .pnlm-title-box").on("mouseleave", function(){ jQuery(this).removeAttr("title"); });});})(jQuery); --- ![](https://www.camping-braunbarth.de/wp-content/uploads/2025/03/miniatouring_17.webp) ![](https://www.camping-braunbarth.de/wp-content/uploads/2025/03/miniatouring_15.webp) ![](https://www.camping-braunbarth.de/wp-content/uploads/2025/03/miniatouring_26.webp) ![](https://www.camping-braunbarth.de/wp-content/uploads/2025/03/miniatouring_14.webp) ![](https://www.camping-braunbarth.de/wp-content/uploads/2025/03/miniatouring_03.webp)