You are not logged in.

Search results

Search results 1-4 of 4.

Tuesday, June 20th 2017, 10:28am

Author: uzars

Embedpano vars parameter bugged?

Oh, this makes sense. Thanks. Maybe adding a note to documentation about this is a good idea to prevent confusion. This line is the confusing one: Source code 1 settings["view.hlookat"] = 30; Expected that to work right away... without knowledge about KEEPVIEW it is hard to make sense of it.

Friday, June 16th 2017, 2:03pm

Author: uzars

Embedpano vars parameter bugged?

Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 <script> function handleReady (krpano) { krpano.set("autorotate.enabled", true); // working only if not defined in params krpano.set("view.hlookat", 60); // not working setTimeout(function () { krpano.set("view.hlookat", 60); // working }, 1000); } var params = {}; params["autorotate.enabled"] = false; // working params["view.hlookat"] = 60; // not working embedpano({swf:"tour.swf", xml:"tour.xml", target:"pano", html5:"auto", mobilescale:1.0, pas...

Friday, June 16th 2017, 12:28pm

Author: uzars

Embedpano vars parameter bugged?

Yes, I am doing exactly as it is written in documentation. The issue is that some parameters are working, some not. If I pass autorotate.enabled, that parameter is registered, but if I pass view.hlookat or view.fov, they are not registered - nothing changes. If I set view.fov after krpano is loaded, it is working. But I need to override fov and other view parameters when embedding tour.

Friday, June 16th 2017, 11:33am

Author: uzars

Embedpano vars parameter bugged?

Hello, I have a problem. I need to pass some settings via embedpano vars parameter. I am passing object as said in documentation. For example, this is not working: Source code 1 settings["view.hlookat"] = 30; embedpano({xml:"pano.xml", target:"pano", vars:settings}); It is working if I pass: Source code 1 settings["autorotate.enabled"] = true; So where is the problem? Is it a bug, or documentation is wrong, or I am doing something wrong?