Hi all,
with code like that, I can add via JavaScript some elements (hotspots/plugins/layers):
Reference: https://krpano.com/docu/actions/#addhotspot
However, when I have an XML with multiple scenes, I want to add an element to the CURRENT SCENE. But by using the code above, it seems that the element is added to the root-krpano-element. This results in a behavior that the elements are not removed when changing a scene (for sure, I have keep=false).
So my question is, what is the correct way to add an element (hotspots/plugins/layers) to the current scene in case of a multi-scene-XML.
Thank you for your help in advance.
Cheers
Siamak