js读取操作krpano
1.获取当前场景名称ID
var krpano = document.getElementById('krpanoSWFObject');
var scene= krpano.get("xml.scene");
2.call调用lookto等函数
var krpano = document.getElementById('krpanoSWFObject');
krpano.call("lookto(0,0,150)");
1.获取当前场景名称ID
var krpano = document.getElementById('krpanoSWFObject');
var scene= krpano.get("xml.scene");
2.call调用lookto等函数
var krpano = document.getElementById('krpanoSWFObject');
krpano.call("lookto(0,0,150)");