Thank you
it's working well
Thank you
it's working well
Hello
Is there any tricks for this trouble ? I'm using compare pano, and hotspots still won’t work.
thanks
Hi,
I try to create polyline hotspot within a javascript action.
Base on the map example https://krpano.com/examples/#maps, i have a layer including tiles image and simple hotspots, all working as well.
But adding polyline hotspot (or fill-polygonal) doesn't work. I don't have found answer/help on the forum.
<action name="affiche_mapspots" type="Javascript"><![CDATA[// some simple hotspots and then:
var coupeA = krpano_emplacement.addhotspot();
coupeA.name = "coupeA";
coupeA.polyline = true;
coupeA.borderwidth = 5;
coupeA.bordercolor = "0x333333";
coupeA.borderalpha = 1;
coupeA.visible = true;
coupeA.point.ath = 0.316;
coupeA.point.atv = 0.055;
coupeA.point.ath = 0.066;
coupeA.point.atv = 0.033;]]></action>
Display More
I also try something like
<action name="affiche_mapspots" type="Javascript"><![CDATA[// some simple hotspots and then:
var coupeA = krpano_emplacement.addhotspot();
coupeA.name = "coupeA";
coupeA.polyline = true;
coupeA.borderwidth = 5;
coupeA.bordercolor = "0x333333";
coupeA.borderalpha = 1;
coupeA.visible = true;
coupeA.point[0].ath = 0.316;
coupeA.point[0].atv = 0.055;
coupeA.point[1].ath = 0.066;
coupeA.point[1].atv = 0.033;]]></action>
Display More
Neither works. Returns obviously : ERROR: affiche_mapspots - TypeError: coupeA.point[0] is undefined
Thanks for help
Best regards, Nicolas