Alles anzeigenHi,
the loadpano/loadscene calls are 'async'.
To make sure something happens when they are done, the related code should be defined after the loadpano/loadscene in the same call.
e.g.
For your case you could add a callback e.g. this way:
Codekrpano.set("callback", function(){ ... your JS code ...}); krpano.call("loadscene(...); callback();");
This way the correct order is ensured and hotspots added in the JS code will be related to the new scene.
To make such usage easier, I will add a possibility to add a JS callback directly in the loadpano/loadscene calls in the next releases.
Best regards,
Klaus
Hi,
Thank you very much for your reply.
Your reply made me suddenly clear.
Best regards,
Bill