var ath = Data.Krpano.get("hotspot[hotsport].ath");// js获取教hotsport 得ath属性
<button onclick="js(GetInfo())" ></button> //krpano调用js
<button onclick="js(alert(0);)" ></button>
Data.Krpano.set("autorotate.enabled", true); js设置旋转停止
Data.Krpano.call("set(hotspot[newspot].ath," + ath + ");");