//================================= // Panorama //================================= $(document).ready(function() { "use strict"; var panorama = $("#panorama").ipanorama({ "theme": "ipnrm-theme-default", "autoLoad": true, "autoRotate": false, "autoRotateSpeed": 0.001, "autoRotateInactivityDelay": 3000, "mouseWheelPreventDefault": true, "mouseWheelRotate": false, "mouseWheelRotateCoef": 0.2, "mouseWheelZoom": false, "mouseWheelZoomCoef": 0.05, "hoverGrab": false, "hoverGrabYawCoef": 20, "hoverGrabPitchCoef": 20, "grab": true, "grabCoef": 0.1, "pinchZoom": true, "pinchZoomCoef": 0.1, "showControlsOnHover": false, "showSceneThumbsCtrl": false, "showSceneMenuCtrl": false, "showSceneNextPrevCtrl": true, "showShareCtrl": false, "showZoomCtrl": true, "showFullscreenCtrl": true, "showAutoRotateCtrl": false, "sceneThumbsVertical": true, "sceneThumbsStatic": false, "title": true, "compass": false, "keyboardNav": false, "keyboardZoom": false, "sceneNextPrevLoop": false, "popover": true, "popoverPlacement": "top", "hotSpotBelowPopover": true, "popoverShowTrigger": "hover", "popoverHideTrigger": "leave", "pitchLimits": false, "pitchLimitsTop": 0, "pitchLimitsBottom": 0, "mobile": false, "sceneId": "scene1", "sceneFadeDuration": 3000, "sceneBackgroundLoad": false, "scenes": { "scene1": { "type": "sphere", "cubeTextureCount": "single", "sphereWidthSegments": 100, "sphereHeightSegments": 40, "image": "../../uploads/9517/1603100135_Wohnzimmer.JPG", "title": "Wohnzimmer", "titleHtml": false, "titleSelector": null, "hotSpots": [ { "yaw": -120, "pitch": -4, "sceneId": "scene4", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Flur", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false }, { "yaw": -76, "pitch": 16, "sceneId": "scene2", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Küche", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false } ] }, "scene2": { "type": "sphere", "cubeTextureCount": "single", "sphereWidthSegments": 100, "sphereHeightSegments": 40, "image": "../../uploads/9517/1603100115_Küche.JPG", "title": "Küche", "titleHtml": false, "titleSelector": null, "hotSpots": [ { "yaw": -55, "pitch": 6.358, "sceneId": "scene4", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Flur", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false }, { "yaw": -89, "pitch": 6.358, "sceneId": "scene1", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Wohnzimmer", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false }, { "yaw": -276, "pitch": 8, "sceneId": "scene3", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Balkon", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false } ] }, "scene3": { "type": "sphere", "cubeTextureCount": "single", "sphereWidthSegments": 100, "sphereHeightSegments": 40, "image": "../../uploads/9517/1603100096_Balkon.JPG", "title": "Balkon", "titleHtml": false, "titleSelector": null, "hotSpots": [ { "yaw": -137.816, "pitch": 2.606, "sceneId": "scene2", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Küche", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false } ] }, "scene4": { "type": "sphere", "cubeTextureCount": "single", "sphereWidthSegments": 100, "sphereHeightSegments": 40, "image": "../../uploads/9517/1603100104_Flur.JPG", "title": "Flur", "titleHtml": false, "titleSelector": null, "hotSpots": [ { "yaw": 183.518, "pitch": -1.286, "sceneId": "scene5", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Schlafzimmer", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false }, { "yaw": 90.75, "pitch": 0.378, "sceneId": "scene2", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Küche", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false }, { "yaw": 79, "pitch": -7, "sceneId": "scene6", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Badezimmer", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false }, { "yaw": 108, "pitch": -8, "sceneId": "scene1", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Wohnzimmer", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false } ] }, "scene5": { "type": "sphere", "cubeTextureCount": "single", "sphereWidthSegments": 100, "sphereHeightSegments": 40, "image": "../../uploads/9517/1603100126_Schlafzimmer.JPG", "title": "Schlafzimmer", "titleHtml": false, "titleSelector": null, "hotSpots": [ { "yaw": -84, "pitch": 3.208, "sceneId": "scene4", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Flur", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false } ] }, "scene6": { "type": "sphere", "cubeTextureCount": "single", "sphereWidthSegments": 100, "sphereHeightSegments": 40, "image": "../../uploads/9517/1603100087_Badezimmer1.JPG", "title": "Badezimmer", "titleHtml": false, "titleSelector": null, "hotSpots": [ { "yaw": 281.06, "pitch": 11.52, "sceneId": "scene4", "imageUrl": "", "imageWidth": null, "imageHeight": null, "link": null, "linkNewWindow": false, "popoverHtml": true, "popoverContent": "Flur", "popoverSelector": null, "popoverLazyload": true, "popoverShow": false } ] } } }); $("#fullscreen").click(function() { panorama.ipanorama("fullscreen"); }); $("#grab").click(function() { panorama.ipanorama("grab"); }); });