Page 1 of 1

how to disable full screen of images on double click

Posted: Mon May 14, 2018 1:57 pm
by arvind_ari
Hello
How I can disable the fullscreen view of the images on double click on the Pano Images.
I want to disable this.
On second level panos i have implemented hotspot clicked event. on click a modal box opens with the details but on fullscreen of the PANO IMAGE the click events inside the modal box did not work and work well without the full screen on click of the hotspot.

Thanks,

Re: how to disable full screen of images on double click

Posted: Thu May 17, 2018 12:48 pm
by rroux
Hello arvind_ari,

To disable the fullscreen on double click, you'll have to specify the behavior of the pointer controller to override the default option.
You can add this controllers config object at the root of your config.json file.

  1. "controllers":
  2. {
  3.     "instances":
  4.     [
  5.         {
  6.             "uid": "pointer",
  7.             "type": "pointer",
  8.             "options":
  9.             {
  10.                 "fullscreen": false
  11.             }
  12.         }
  13.     ]
  14. }


Hope this helps, have a nice day!

Re: how to disable full screen of images on double click

Posted: Mon May 21, 2018 2:22 pm
by arvind_ari
Thanks rroux
It works for me.