When i move pano image and if there are some hotspots available than the position of hotspot is changing slightly which is not happenign on your example.
There are two image I am attaching here so you can understand the problem I am having.
Hotspot Before moving pano image : https://drive.google.com/file/d/1bsUYTr…iew?usp=sharing
Hotspot Before moving pano image : https://drive.google.com/file/d/13HN2_q…iew?usp=sharing
You see there is a difference of position while i move panorama image so hotspot position is also changing. I don't want that to happen which in your demo is working completely fine.
P.S I am using these attributes to set hotspot.
var mouse_at_h = 13.2154;
var mouse_at_v = 12.6504;
krpano = krpano.get('global');
var hs = krpano.addhotspot('auto');
hs.url = 'http://localhost:3900/public/markers/venue2.png'[/color];
hs.ath = mouse_at_h;
hs.atv = mouse_at_v;
hs.name = makeid(5);
hs.accuracy = 1;
hs.keep = true;
hs.alpha = '1.0';
hs.scale = 1;
hs.zoom = true;
hs.rotate = 0;
hs.dragging = true; // a custom setting for enabling/disabling the dragging
hs.enabled = true;
hs.visible = true;
hs.renderer = 'css3d';
hs.html = 'hello';
console.log('hs', [color=#9cdcfe]hs);
Can you please help me on this.
thanks