I use javascript to open a new panorama using this expression :
pano.openNext('{node10}');
Works fine but I would like to open it with a specific pan angle...
I read in the Reference API :
pano.openNext(url:String,parameter:String)
Open next panorama, if the url is in the from of {nodeid} it will change the node in the tour.
I would know when using {nodeid} what is the syntax to add parameters as pan and/or tilt.
Thanks
Syntax for pano.openNext('{node10}'); with parameters
- Hopki
- Gnome
- Posts: 13005
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
Here is an example:
This willopen node2 at 90 degrees.
Regards,
Here is an example:
Code: Select all
javascript:pano.openNext('{node2}',90,0,70);
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/