Hello everyone,
Totally new here, looking for some help :)
I want to add a button in the navigation menu to toggle between normal view & little planet view. Kindly guide me how to go ahead with this.
Thanks in advance,
Raghav
Toggle View
-
-
The examples folder that comes with the viewer download package has this code.
-
Hi Sacha,
Thanks for pointing to the examples folder. I could find an example for switching between projections from context menu. I am looking for a way to add a button which allows users to toggle between little planet & normal. Did I miss something in the examples? I searched the forums here but couldn't find a way to do this. Kindly suggest.
Thanks,
Raghav -
Check out the context menu example. They call actions that change projections. You just need the actions and call them with your buttons.
-
Thanks Sacha, I could do it that way :)
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!