My pano tours are embedded in a larger structure, which means that a user can enter a tour from any of its nodes.
However, I haven't been able to figure out how to set the start panorama programmatically.
When a pano tour is first loaded, it always retrieve the start pano ID. Adding a #nodeID to the start pano URL is of no help.
The JS API, as far as I can tell, doesn't provide any functionality in this regard.
Any ideas or suggestions would be much appreciated.
-Franco
how to change the start pano programmatically
If you look into the direct node access code, you can find the line
So you can do something like
before the xml is loaded to change the starting node. After the config is loaded you can use the normal "openNext" call.
Code: Select all
pano.startNode = startNode;
Code: Select all
pano.startNode = 'node3';
MfG, Thomas