Hi,
I am writing a tool to draw on a krpano viewer. Part of this is dynamically creating polygonal hotspots, much like the example given in the "addhotspot" documentation.
Code
addhotspot(polyspot);
set(hotspot[polyspot].fillalpha, 0.25);
set(hotspot[polyspot].borderalpha, 0.50);
set(hotspot[polyspot].onclick, removehotspot(polyspot) );
set(hotspot[polyspot].point[0].ath,-10);
set(hotspot[polyspot].point[0].atv,-10);
set(hotspot[polyspot].point[1].ath,-10);
set(hotspot[polyspot].point[1].atv,+10);
set(hotspot[polyspot].point[2].ath,+10);
set(hotspot[polyspot].point[2].atv,+10);
set(hotspot[polyspot].point[3].ath,+10);
set(hotspot[polyspot].point[3].atv,-10);
Alles anzeigen
The problem is that I cannot delete any of these points — how do I delete a single point? Is this even possible?
EDIT: things I have tried (that do not work):