Greetings,
I want to change the id of hotspot with another id. I use this code (in javascript):
krpano().set("hotspot[" + hotspotIdToBeChanged + "].name", "spot"+newUniqueId);
A hotspot with newUniqueId can be created but It doesn't have the same properties of original hotspot, plus original hotspot stands still, therefore, I guess I am not successful to change the name of the hotspot. Is there a way to clone hotspot with another id/name or can I change the hotspot's name programmatically?
Best Regards,