Javascript interface setting hotspot point ath/atv error

  • Hi,
    I am currently trying to create hotspot via the javascript interface. Heres my code:

    Code
    pano.call("addhotspot(test)");	pano.call("set(hotspot[test].point[0].ath, 10.01230022);");


    However this produces an error in my javascript console: "Uncaught TypeError: Cannot read property 'ath' of undefined"

    Is this a bug or am I doing something wrong. Any help is appreciated. Thank you.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!