Hello Klaus, *,
Not sure why, but I can not see my hotspots, when creating dynamically. I do see them just after starting the first scene. On the second scene or when reloading the first scene I do not see them.
You can reproduce it on the attached tour.xml when replacing the ..\krpano-1.19-pr16-win\viewer\examples\demotour-corfu\tour.xml with the my tour.xml.
The action buildcontrol() is triggered on the onnewscene event and checks for ismyhotspot="true" attribute. For that hotspot creates the button.
Am I doing something wrong? (The lifespan of the control hotspots should be just for the particular scene but after recreation I don't see them).
Thank you for your help.
Pavel