How to create a hotspot(custom sprite) in the plugin interface?
This do not work :(
var hs = krpano.addhotspot(name);
hs.ath = 0;
hs.atv = 0;
hs.sprite = document.createElement('div');
hs.sprite.appendChild(element);
Do you have any relevant example?
I want to load the plugin only once and create multiple hotspots.