JeremyHeleine / Photo-Sphere-Viewer

A JavaScript library to display Photo Sphere panoramas.
857 stars 961 forks source link

Issue disabling zooming #60

Open petervkay opened 7 years ago

petervkay commented 7 years ago

I am having trouble disabling the zoom option triggered by the mousewheel. <script> var div = document.getElementById('photosphere-background'); var PSV = new PhotoSphereViewer({ panorama: '{{ site.baseurl}}/js/plugins/Photo-Sphere-Viewer/examples/snow.jpg', container: div, navbar:true, anim_speed: '0rpm', loading_img: '{{site.baseurl}}/images/ring.svg', mousewheel:false, gyroscope:true }); </script> Am I missing something? My website is at www.bigriverwebdesign.club

petervkay commented 7 years ago

I ended up disabling it by deleting an action in the plugin file, but that's not an ideal solution.

JeremyHeleine commented 7 years ago

Hi,

The mousewheel and gyroscope don't exist in Photo Sphere Viewer. Are you sure you aren't using a fork? In this case, you should try with its author.