Custom Node Id in javascript
Posted: Sat Nov 30, 2019 10:04 am
Hello!
How can I get the current panorama Custom Node id from javascript?
Longer version of the question :p
I want to be able to get the full url of specific panorama (eg https:// vrurl/index.html#CUSTOMNODEID,Pan,Tilt,FOV,Projection) at any time that will contain the Pan, Tilt, Fov and Projection code, however I do not know how to get the Custom Node Id that is set in the User Data tab of the Virtual Tour.
The following is NOT returning the CustomNodeID
Thank you!
How can I get the current panorama Custom Node id from javascript?
Longer version of the question :p
I want to be able to get the full url of specific panorama (eg https:// vrurl/index.html#CUSTOMNODEID,Pan,Tilt,FOV,Projection) at any time that will contain the Pan, Tilt, Fov and Projection code, however I do not know how to get the Custom Node Id that is set in the User Data tab of the Virtual Tour.
Code: Select all
var theTilt = pano.getTilt();
var theFov = pano.getFov();
var thePan = pano.getPan();
Code: Select all
pano.getNodeUserdata()