Hi,
this is my code to create hotspots:
kp.call("addhotSpot(" + id + ")");
kp.set("hotspot[" + id + "].parent", parentId);
kp.set("hotspot[" + id + "].type", "text");
kp.set("hotspot[" + id + "].html", text);
kp.set("hotspot[" + id + "].ath", ath);
....
Any subsequent code refers to the hotspot by the name (id). But I would rather assign the hotspot to a js object. According to krpano documentation, the hotspot can be assigned to a var:
https://krpano.com/docu/actions/#addhotspot[/size]
It is not documented how to do that. Hope someone can help me out on this.
[size=10]