Hello,
In a JS script, I want to place hotspots with :
krpano.call("addhotspot(" + hs_name + ")");
krpano.set("hotspot["+hs_name+"].type", 'text');
For style, I tried:
krpano.set("hotspot["+hs_name+"].style", 'mystyle');
or
krpano.call("assignstyle(hotspot["+hs_name+"]", "'mystyle');");
(for info, "mystyle" is defined in an xml).
Can you help me find the right command to use this style?
Thank you very much for your help
Best regards